import{ Site }from'@mdxui/themes'import{ WaitlistPage }from'@mdxui/beacon'import{ Logo }from'@mdxui/beacon/shared'exportdefaultfunctionLaunchPage(){return(<Sitetheme="cyan"mode="dark"><WaitlistPageheroConfig={{
variant:'code-side',
eyebrow:'Coming Soon',
title:'Ship faster with AI',
subtitle:'Join the waitlist for early access.',
source:'my-product',// Optional: for analytics tracking
code:{
code:`const app = createApp()
app.deploy()`,
language:'typescript',},}}navbar={{
logo:<LogobrandName="MyApp"/>,
links:[{ label:'Docs', href:'/docs'}],}}faq={{
heading:'FAQ',
items:[{ id:'1', question:'When will it launch?', answer:'Q1 2025'},],}}/></Site>)}
Hero Variants
Each variant extends the base hero props (eyebrow, title, subtitle, source, etc.) with variant-specific props:
import{ Site }from'@mdxui/themes'import{ BlogPage }from'@mdxui/beacon'exportdefaultfunctionBlog(){return(<Sitetheme="stripe"mode="system"><BlogPagetitle="Blog"description="Latest updates and insights"posts={posts}tags={['Engineering','Product','Company']}/></Site>)}
Pages
Complete page templates that combine multiple sections:
Component
Description
WaitlistPage
Launch/waitlist page with 9 hero variants
BlogPage
Blog listing with filtering and pagination
BlogPostPage
Individual blog post with TOC and related posts
WaitlistPage Hero Variants
simple - Clean text-focused hero
code-side - Code snippet beside text
code-stacked - Code snippet below text
code-side-highlights - Code with line highlights
video-side - Video beside text
video-stacked - Video below text
image-side - Image beside text
image-stacked - Image below text
cards - Animated floating cards
Layout Components
Component
Description
LandingPage / Site
Full landing page wrapper
LandingLayout
Layout with header/footer
Header
Navigation header with links and CTA
Footer
Site footer with link groups
Hero Variants
Component
Description
Hero
Default hero section
HeroCentered
Centered text hero
HeroAnimated
Animated hero with effects
HeroGradient
Gradient background hero
HeroImageBeside
Hero with side image
HeroVideoBelow
Hero with video below
HeroCodeBelow
Hero with code snippet
Section Components
Component
Description
Features
Feature grid/list
Pricing
Pricing table with tiers
FAQs
Accordion FAQ section
Testimonials
Customer testimonials
Stats
Statistics display
CTA
Call-to-action section
LogoCloud
Partner/client logos
FeatureGrid
Grid of feature cards
Directory
Directory listing
Waitlist Sections
Import from @mdxui/beacon/sections/waitlist or use the namespace:
import{ waitlist }from'@mdxui/beacon'// Use waitlist.HeroCodeSide, waitlist.Faq, etc.
Component
Description
WaitlistForm
Email capture form
HeroSimple
Clean text hero
HeroCodeSide
Code beside text
HeroCodeStacked
Code below text
HeroCodeSideHighlights
Code with highlights
HeroVideoSide
Video beside text
HeroVideoStacked
Video below text
HeroImageSide
Image beside text
HeroImageStacked
Image below text
HeroCards
Animated cards hero
Navbar
Waitlist-specific navbar
Footer
Waitlist-specific footer
Faq
FAQ accordion
Bento
Bento grid layout
Highlight
Feature highlights
CodeWindow
Code display window
YouTubeEmbed
YouTube video embed
Blog Sections
Import from @mdxui/beacon/sections/blog:
Component
Description
BlogCard
Blog post card
BlogGrid
Grid of blog cards
BlogHeader
Blog page header
TagFilter
Tag filtering UI
BlogAuthor
Author bio section
BlogPostHeader
Post header with metadata
TableOfContents
Sidebar TOC
ReadMoreSection
Related posts section
Animation Components
Component
Description
Marquee
Infinite scroll marquee
StickyScroll
Scroll-triggered reveals
DynamicIsland
iOS-style dynamic island
NotificationIsland
Notification popups
Templates
Pre-configured page templates:
Template
Description
APITemplate
API documentation page
APIHtTemplate
API.ht style template
DirectoryTemplate
Directory listing page
TemplateWrapper
Base template wrapper
Shared Utilities
Export
Description
Highlighter
Syntax highlighting (Shiki)
CodeTabs
Tabbed code blocks
CodeBlock
Single code block
Terminal
Terminal display
Hatch
Background pattern
MarkdownContent
Render markdown
resolveIcon
Icon name to component
Gradients & Utils
import{ getGradientFromSeed, formatDate }from'@mdxui/beacon'// Generate consistent gradient from stringconst gradient =getGradientFromSeed('user-123')// Format datesconst formatted =formatDate(newDate())