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>
- 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
)