Playbooks
End-to-end flows like the CodeCanyon Laravel pipeline.
A living showcase of every component available when authoring .mdx content here — the built-ins that ship with Starlight plus the ZajLibrary add-ons. Treat this page as a regression checklist: after editing tokens.css or theme.css, skim it to confirm nothing broke.
Cards group related entry points. A <CardGrid> lays them out responsively (one column on mobile, multiple on wide screens).
Playbooks
End-to-end flows like the CodeCanyon Laravel pipeline.
AI System
The agent operating system: constitution, rules, hooks, skills.
Templates
Copy-paste kits with seed.sh scaffolding.
Knowledge
Handbooks, guides, and durable reference.
<LinkCard> is a whole-card link for navigation; <LinkButton> is an inline call-to-action.
The four built-in variants:
Two extra callouts via starlight-markdown-blocks, using the same ::: directive syntax:
Surface a design idea or alternative approach worth considering.
Record a decision and its rationale so future readers know why, not just what.
Inline status markers in every size and variant.
Default Note Success Tip Caution Danger
Small Medium Large
<Steps> turns an ordered list into a numbered, connected sequence — ideal for setup flows.
Install the dependency.
npm i starlight-tagspnpm add starlight-tagsyarn add starlight-tagsWire it into astro.config.mjs plugins.
Build to confirm green.
npm run buildpnpm run buildyarn run build<PackageManagers> renders synced tabs across npm/pnpm/yarn/bun — switching one switches all on the page.
npm create astro@latest -- -- --template starlightpnpm create astro@latest -- --template starlightyarn create astro -- --template starlightGeneric synced tabs (the syncKey keeps them aligned across the page).
npm run dev on :4321. npm run preview to serve dist/. <FileTree> visualizes directory structure — used heavily in the AI System kit docs.
The <Code> component renders syntax-highlighted code from a prop (handy for generated/dynamic snippets).
export default { title: 'ZajLibrary',};Inline <Icon> from Starlight’s built-in set.
This page declares tags: [components, reference, authoring] in its frontmatter. With starlight-tags, each tag gets its own generated page (e.g. /tags/reference/) listing every doc that shares it — turning the library’s tags field into real cross-cutting navigation.