Documentation menu

Getting started

Elsecase copies editable workflow source into an existing shadcn project. There is no Elsecase runtime package to keep updated.

Configure the registry alias

Add the mapping to your project's components.json:

{
  "registries": {
    "@elsecase": "https://elsecase.vercel.app/r/{name}.json"
  }
}

Install a workflow

pnpm dlx shadcn@latest add @elsecase/async-state
pnpm dlx shadcn@latest add @elsecase/data-explorer
pnpm dlx shadcn@latest add @elsecase/form-workflow

Use one command at a time. The CLI installs peer source and package dependencies declared by that registry item.

Local development

pnpm install
pnpm dev

Repository checks

pnpm format:check
pnpm lint
pnpm typecheck
pnpm test
pnpm registry:validate
pnpm build