Pricing

Blocks and examples

Publish and install ready-made blocks and component examples.

Blocks (kind: "block", such as a dashboard page) and examples (kind: "example", such as button-outline) are starting points. They are copied once and become part of your code: they are not tracked in slabui.json and update does not change them.

Install

Blocks and examples need a folder:

pnpm slabui add dashboard-01 --path app/dashboard
pnpm slabui add button-outline --path components/examples
  • Without --path, the CLI asks for the folder; with --yes (or in CI) it fails.
  • Files keep their folder structure inside --path, and imports between them are rewritten to the new location.
  • Their dependencies (button, card…) are installed in your aliases as usual and tracked in slabui.json.
  • The same block can be installed again in another folder.