Components
Pre-built UI components for rich documentation pages
Fern provides built-in components for common documentation patterns. Use them in the Fern Editor or directly in MDX files.
Callouts
Highlight important information with styled callouts.
This is a note callout. Use it for tips, warnings, or important context.
Cards
Use cards to link to other pages or highlight features.
First card
Cards can contain a short description
Second card
Add an href to make them clickable
Accordions
Collapsible sections for FAQs or optional detail.
Click to expand
Hidden content is revealed when the user clicks.
Tabs
Organize content into switchable views.
JavaScript
Python
Steps
Walk users through a process.
Code blocks
Fern supports syntax-highlighted code blocks with optional titles.
example.py
For the full list of components and detailed usage, see the Fern components documentation.