Components overview
Browse the full Mintlify component library for layout, emphasis, API documentation, and navigation elements available in your MDX pages.
Mintlify provides built-in MDX components for your documentation pages. Use these components to structure content, draw attention to important information, document APIs, and guide navigation.
Structure your content
Draw attention
Showcase AI prompts
Show and hide content
Document your API
Link to other pages
Add visual context
Style components
All built-in components accept a className prop. Mintlify merges your classes with the component’s own styles, so you can restyle a single instance without wrapping it in extra markup or writing a CSS override.
Use Tailwind CSS classes, including arbitrary values such as w-[350px], or class names that you define in a custom CSS file.
Banner, MDX, and Visibility do not accept className. You configure the banner in docs.json, and the other two render their children without a wrapper element.