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.
<Note>This is a note callout.</Note>
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
<CardGroup cols={2}> <Card title="First card" icon="duotone star"> Cards can contain a short description </Card> <Card title="Second card" icon="duotone rocket"> Add an href to make them clickable </Card></CardGroup>
Accordions
Collapsible sections for FAQs or optional detail.
<AccordionGroup> <Accordion title="Click to expand"> Hidden content is revealed when the user clicks. </Accordion></AccordionGroup>