Accordion
Collapsible content sections with support for anchoring.Accordions Props
Control whether one or multiple items can be open (default:
'single')Default opened accordion value(s)
Accordion Props
Accordion title displayed in the header
Unique value for the accordion item (defaults to stringified title)
HTML id for deep linking
Usage
Banner
Sticky banner for announcements with optional dismissal.Props
Unique identifier for localStorage persistence
Banner style variant (default:
'normal')Banner height (default:
'3rem')Custom colors for rainbow variant
Adjust layout spacing for banner (default:
true)Usage
Callout
Highlight important information with styled callouts.Props
Callout type determining icon and color (default:
'info')Callout title
Custom icon to override default
Usage
Card & Cards
Grid layout for displaying cards with links.Card Props
Card title
Card description text
Icon displayed at the top of the card
Link URL (makes card clickable)
Open link in new tab
Usage
CodeBlock
Syntax-highlighted code blocks with copy functionality.CodeBlock Props
Code block title/filename
Icon or HTML string for title bar
Show copy button (default:
true)Preserve Shiki/Rehype Code background (default:
false)Show line numbers
Starting line number (default:
1)Custom actions component for toolbar
Usage
CodeBlock Tabs
Tabbed interface for multiple code examples.Usage
Files & File/Folder
File tree visualization component.File Props
File name
Custom file icon
Folder Props
Folder name
Open folder by default (default:
false)Disable folder interaction
Usage
ImageZoom
Zoomable images withreact-medium-image-zoom.
Props
Extends Next.jsImageProps
Image props when zoomed in
Props for
react-medium-image-zoomUsage
Steps & Step
Sequential step-by-step instructions.Usage
Tabs & Tab
Tabbed content interface.Tabs Props
Array of tab labels (simple mode)
Default selected tab index when using
items (default: 0)Additional label in tab list
Tab Props
Tab value (auto-detected from index if using
items)Usage
TypeTable
Display TypeScript prop types with expandable details.Props
Object mapping prop names to type definitions
TypeNode Interface
Short type signature
Field description
Full type signature
Link for the type
Default value
Mark field as required
Mark field as deprecated
Function parameters
Function return type