Liasse

CLI & registry

Copy component source into your repo, shadcn-style, with the Liasse CLI.

The Liasse registry works like shadcn/ui: instead of importing a black-box package, the CLI copies a component's source into your repo. You read it, version it and edit it freely.

Add a component

npx liasse add financial-table

This copies the component's source into src/liasse/components/ and reports the npm dependencies to install. Add several at once:

npx liasse add financial-table invoice dashboard-export

Options

FlagDescription
-d, --dir <dir>Target directory (default src/liasse).
-r, --registry <s>Registry path, directory or URL.
-f, --forceOverwrite existing files.
--no-installSkip installing npm dependencies.
-c, --cwd <dir>Project root.

Registry dependencies are resolved automatically: adding a component that builds on another pulls the dependency in first.

Own your code

Once added, the component is just TypeScript in your project:

src/
  liasse/
    components/
      financial-table.ts   # edit it freely
  documents/
    report.ts
git add src/liasse

Versioned, reviewed, modifiable — no opaque dependency between your data and your file.

On this page