dkitdkit

UI kits

Components ship under ui/{kit}/{framework}/. Use shadcn for real @/components/ui pieces, or minimal for plain HTML.

Model

  • Component — e.g. blog-list, blog-detail
  • Framework — next | nuxt
  • UI kit — shadcn | minimal (declared per block as uiKits)

Module templates options are variants (list vs cards), never kit ids. dkit.json → uiAdapter is the preferred kit; CLI falls back if a block does not ship it.

shadcn

Blocks import your project's @/components/ui/* (Button, Input, Card, …) and theme tokens. On Nuxt the same kit id means shadcn-vue.

When you dkit add with uiAdapter: "shadcn", the CLI auto-runs shadcn init --defaults if needed, then shadcn add for any missing components listed on the block.

minimal

Semantic HTML + .dkit-prose for rich text. No shadcn dependency. Every current registry block ships minimal.

Previews

On each module page, Sandpack runs the real block sources with seed mocks. Preview kit primitives live in the registry at ui-kits/<kit>/<framework>/ (separate from www site chrome), so Next and Nuxt each get their own components. Use Framework / UI kit / Theme controls to match your target app.