Skip to Content
KTB Health Docs
Reference

Design-system components

MDX pages can use @ktbhealth/ui components — see how they render.

The docs site maps common MDX elements onto components from @ktbhealth/ui, the org design system. Use them in any .mdx file — they are provided globally, no imports needed.

Badge

Status labels use the KTB Badge:

default secondary outline destructive

Cards

<Cards> lays out <Card> entries in a responsive grid:

Callouts

<Callout> renders as a KTB Alert. Types: info, warn, error, success, idea.

Tabs

KTB Tabs are built on Base UI — set defaultValue on Tabs and value on each trigger/panel:

bun install
bun run dev

Accordion

KTB Accordion items take a value; the root accepts multiple:

Tables

Markdown tables render with the KTB Table components automatically:

RepoPurpose
productKTB Health app monorepo
uiDesign system (@ktbhealth/ui)
docsThis documentation site

Storybook

The live component catalog is in Storybook — locally at http://localhost:3100 (bun run dev in the storybook repo) or deployed. Check it before building new UI.

On this page