Installation

Set up Effect UI and StyleX in your app, then run the install command for a component.

Add a component

npx shadcn@latest add checkfu/uicontext/form-controls

Registry items install under src/ui/uicontext/components/. The original button item installs at src/ui/uicontext/button.ts.

Append #<commit-sha> to the item name to pin the source closure to a revision.

Pin Effect UI

Use the Effect UI snapshot the registry installs. Its exact version and overrides are recorded in package.json.

View the pinned dependencies

Configure StyleX

Add the StyleX plugin to your app’s build and import a base stylesheet at your entry point.

StyleX setup for Vite

Set up TypeScript

Enable strict and exactOptionalPropertyTypes. Include ES2023 or newer and DOM in your library types.

Bun workspaces

For items that use @effect/ui-kit, set a root package override for @effect/ui to the registry’s pinned snapshot.

View the override

Install the full registry

npx shadcn@latest add checkfu/uicontext/all