Demo data
Component gallery
Preview every bundled MDX component with dummy content and sample states.
Use this page to inspect the starter's built-in MDX components. The examples use placeholder data so you can safely edit, copy, or delete them later.
Badges and icons
Use badges inline when a short status helps readers scan.
Default Beta Ready Needs review Deprecated DisabledUse the public icon component for inline visual labels: .
Callouts
Cards, tiles, and columns
A linked card for a common first step.
Start hereSettingsConfigA linked card for customization.
A non-linked card can summarize a concept.
Horizontal cards can pair a small image with a title, body copy, and call to action.
Read the setup guideA compact linked tile for related pages.
Open guideReference demoA smaller target for API-style examples.
DeploymentA tile can fit inside the same column grid.
Left column
Put ordinary Markdown inside a Column when you want custom column content.
Right column
Columns stack on smaller screens.
Steps
- Create a page
Create or edit an
.mdxpage. - Preview locally
Run
npm run devand check the page locally.
Accordions and expandable details
What should go in an accordion?Use this for optional details.
Optional details, long explanations, or extra troubleshooting notes.
Can accordions contain Markdown?
Yes. You can include bold text, links, lists, and code snippets.
Tabs and code groups
pnpm install
pnpm devUse generated API pages when you already have OpenAPI or AsyncAPI files.
Code blocks
export const demoConfig = {
name: "Demo Docs",
theme: "system",
features: {
search: true,
assistant: false,
},
};- oldTitle: "Untitled"
+ title: "Component gallery"
+ description: "Preview the built-in components."<Card title="Example" href="/getting-started">
This code block is intentionally longer than the others so you can inspect the expandable styling. Add your own snippets here when you need a compact reference.
</Card>npm run buildRendering diagram...
Panels, banners, and updates
Demo panel
Panels can frame a short concept, checklist, or grouped note. On wide screens, panel content also appears in the right rail.
Frames and images
API-style fields
projectIdstringpathpathRequiredThe unique ID for the example project.
includeDraftsbooleanquerydefault: falseOptionalSet this to true to include draft pages in a sample response.
Authorizationstringheaderplaceholder: Bearer tokenRequiredSend an access token with the example request.
titlestringRequiredThe display title for the documentation page.
legacyIdstringDeprecatedThe old identifier remains in sample data for migration examples.
Create page request
{
"projectId": "demo_123",
"includeDrafts": false
}Create page response
{
"id": "page_getting_started",
"title": "Getting started",
"status": "ready"
}Color, prompt, tooltip, tree, view, and visibility
#1d1d1dPrimary text color.#ffffffBase page surface.#0f766eExample custom accent.Copy this prompt into your AI coding tool.
Write a concise release note for the latest documentation starter update.
This sentence has a tooltipThis is helper text shown on hover or focus. in the middle.
docs
- component-gallery.mdx
- reference-demo.mdx
- site.config.ts
Use this view for content authors who only need page and navigation files.
Use this view for component, API route, and build-system work.
This human-only note renders on the web page and is omitted from generated Markdown.
Standard Markdown
| Type | Example |
|---|---|
| Inline code | site.config.ts |
| Link | Deploy to Vercel |
| Strong text | Important label |
This is a plain Markdown blockquote.
- Task lists work through GitHub-flavored Markdown.
- Replace demo copy before publishing.
Unsupported component fallback
Next step: Reference demo