Icon Reference & Catalog
Browse over 200+ built-in Starlight SVG icons you can use in cards, tabs, and badges. Explore the Icon Catalog.
One of the greatest superpowers of our Docs-as-Code setup is that writers can drop rich, interactive UI components directly into documents without writing complex React, Astro, or HTML markup.
In Sveltia CMS, these components are registered as Custom Editor Shortcodes. When you insert one, Sveltia presents an easy-to-use form with clear input fields, dropdown menus, and validation rules.
Inserting any custom component takes just three steps:
+ (Add Block) dropdown button (or press Slash (/) on an empty line if quick-insert is enabled).Explore the six custom editor components available in Sveltia CMS:
<Aside>)Use asides to call out critical notes, tips, warnings, or danger notices without breaking the flow of your document.
note (purple), tip (green), caution (yellow/orange), or danger (red).🔍 Deep Dive Specimen: For live examples of all four color variants and custom title overrides, explore the Callouts & Asides Specimen.
<Tabs>)Use tabs to present alternative workflows side-by-side (such as macOS vs. Windows instructions, or Terminal commands vs. GUI steps).
macOS / Linux).Windows).Run brew install node to install the runtime.
Download and run the .msi installer from nodejs.org.
🔍 Deep Dive Specimen: For advanced multi-tab patterns and tab-syncing behavior, explore the Tabs & Switchers Specimen.
<Steps>)Use steps for procedural tutorials where order is paramount. Starlight automatically converts standard ordered lists into high-visibility circled number badges.
1. Open the project dashboard.2. Click the **Publish** button.3. Verify the deployment preview.🔍 Deep Dive Specimen: For complex procedural hierarchies, explore the Procedural Steps Specimen.
<Badge>)Use badges to highlight feature versions, draft flags, or API status indicators inline.
v2.0, Required, Beta).default, note, tip, caution, danger, or success.small, medium, or large.Current Status: Production Ready Level: Recommended
🔍 Deep Dive Specimen: For all size variations, color schemes, and header usage patterns, explore the Badges & Status Indicators Specimen.
<FileTree>)Use file trees to visualize repository directory structures, project layouts, or file organization.
- src/ - content/ - docs/ - index.mdx - assets/ - logo.png- package.json🔍 Deep Dive Specimen: For file trees with bold targets and inline comments, explore the File Trees Specimen.
<LinkCard>)Use link cards to provide prominent, beautifully styled cards that direct readers to the next logical article or reference guide.
🔍 Deep Dive Specimen: For multi-column card grids and regular informational cards, explore the Cards & LinkCards Specimen.
Beyond the registered CMS shortcodes, Starlight includes several built-in visual elements you can incorporate when authoring in raw Markdown or MDX mode:
Icon Reference & Catalog
Browse over 200+ built-in Starlight SVG icons you can use in cards, tabs, and badges. Explore the Icon Catalog.
Expressive Code
Add file titles (title="app.js"), terminal frames, line highlights ({3-5}), and git diffs (+ / -). Explore Expressive Code.
Architecture Diagrams (Mermaid)
Create clean, version-controlled flowcharts, sequence diagrams, and mind maps with plain text. Explore Dynamic Architecture Diagrams.
FAQ Accordions
Create interactive, collapsible disclosure sections for frequently asked questions. Explore FAQ Accordions.
Before introducing multiple visual elements onto a single page, review our official Component Standards Guide for rules on avoiding callout fatigue, preserving responsive readability, and choosing the right visual component for your audience.