This documentation covers the available MDX components for rendering dynamic content.
Creates an interactive tabbed interface with optional auto-switching functionality.
title
(string) - Main heading for the tab groupsubtitle
(string) - Descriptive text below the titleduration
(number) - Time in seconds before switching to next tab automaticallybackground
(boolean) - Enables dark background mode
name
(string, required) - Tab labelicon
(string) - Lucide icon nameimageUrl
(string) - URL for tab's image
<TabGroup title="Our Services" subtitle="Explore what we offer" duration={5} background={false}>
<Tab name="Design" icon="Palette" imageUrl="/images/design.jpg">
## Design Services
Professional design services tailored to your needs.
</Tab>
</TabGroup>
Creates a checklist with optional image, title, and call-to-action.
imageUrl
(string) - Featured image URLtitle
(string) - Main headingsubtitle
(string) - Supporting textcta
(string) - Call-to-action button textlink
(string) - CTA button destination URL (required ifcta
is set)cols
(number, 1-4) - Number of columns for checklist itemstheme
(string) - Visual theme ('dark' | 'light')ctaPlacement
(string) - CTA button position ('left' | 'center' | 'right')checkIcon
(string) - Default Lucide icon name for list items
<FeaturedChecklist imageUrl="/image.jpg" title="Features" subtitle="Key benefits" cta="Learn More" link="/features" cols={2} theme="dark">
* [CheckCircle] Feature 1
* Feature 2
</FeaturedChecklist>
Creates a structured list with optional icons and descriptions.
title
(string) - Main headingsubtitle
(string) - Supporting textdirection
(string) - Layout direction ('vertical' | 'horizontal')cols
(number, 1-5) - Number of columnshasIcon
(boolean) - Show/hide iconscheckIcon
(string) - Default Lucide icon name
<List title="Process" subtitle="Our workflow" direction="vertical" cols={2}hasIcon={true}checkIcon="Check">
* [Heart] Planning: Initial planning phase
* Implementation: Execution phase
</List>
- keep a new empty line between list items
- use
[ ]
to add an icon to a list item
Displays a feature section with image and descriptive content.
title
(string) - Main headingsubtitle
(string) - Supporting textimageUrl
(string) - Feature image URLtheme
(string) - Color theme ('dark' | 'light')className
(string) - Additional CSS classes
<FeatureWithImage title="Key Feature" subtitle="Description" imageUrl="/feature.jpg" theme="dark">
* [Utensils] Feature 1: Detailed description
* Feature 2: Another description
</FeatureWithImage>
- keep a new empty line between list items
- use
[ ]
to add an icon to a list item
Creates a grid layout of places/locations with featured items.
title
(string) - Section titlesubtitle
(string) - Section subtitle
title
(string) - Place titlesubtitle
(string) - Place descriptionimageUrl
(string) - Place image URLurl
(string) - Link destination
<Places title="Destinations" subtitle="Popular locations">
<FeaturedPlace title="Paris"subtitle="City of Light" imageUrl="/paris.jpg" url="/destinations/paris" />
* [/london]London
* [/rome]Rome
</Places>
Creates a two-column layout with left side content (70%) and right side image (30%). Perfect for long-form content like articles or detailed descriptions.
title
(string) - Main heading for the content sectionsubtitle
(string) - Descriptive text below the titleimageUrl
(string) - URL for the featured imageimageAlt
(string) - Alt text for the image
<LongContent
title="On a mission to empower remote teams"
subtitle="Building better collaboration tools for the modern workplace"
imageUrl="/images/team-collaboration.jpg"
imageAlt="Team members collaborating remotely"
>
## Our Vision
We believe in creating tools that make remote work more effective and enjoyable.
Our platform is designed to break down barriers and foster collaboration across
time zones and geographical boundaries.
### Key Benefits
Remote work shouldn't mean disconnected work. Our tools bridge the gap between
team members, creating a seamless experience that rivals in-person collaboration.
Through careful attention to user experience and performance, we've created a
platform that feels natural and intuitive, while providing powerful features
that remote teams need to succeed.
</LongContent>
- Keep content width reasonable for readability
- Use Markdown headings for content structure
- Provide high-quality images that complement the content
- Use descriptive alt text for accessibility
- Ensure image aspect ratio works well with the fixed height container
- Components support Lucide icons
- Use icon names in square brackets:
[IconName]
- Icons can be specified for individual list items or as default props
- Use descriptive titles and subtitles
- Maintain consistent formatting in lists
- you can use either slug or full url for
imageUrl
prop - in mobile all lists will be displayed in a single column
- use path for
url
prop (e.g:/destinations/marrakech
)