Components and app templates for Effect UI and StyleX.
Installing an item copies its source into your app.
Docs · Components · Templates
Pin effect, which includes Effect UI, in your root package.json. Bun needs this before add works.
{
"overrides": {
"effect": "4.2.0"
}
}Then add items from your app:
npx shadcn@latest add checkfu/uicontext/app-setup
npx shadcn@latest add checkfu/uicontext/data-tableStart a whole app from a template:
npx shadcn@latest add checkfu/uicontext/issue-trackerEvery template is listed at uicontext.com/blocks.
Installation covers new apps, existing apps and monorepos. Updating covers pinning and upgrades.
bun install --frozen-lockfile
bun run dev # the docs site
bun run verify # everything CI runs| Task | Command |
|---|---|
| Browser tests | bun run test:browser (needs Playwright Chromium, or set CHROME_PATH) |
| Install tests in fresh apps | bun run test:consumer |
| Rebuild the registry | bun run registry:generate |
| Rebuild the API reference | bun run api:generate |
| Change theme values | edit tokens/source.ts, then bun run tokens |
CI deploys www/dist from main to Cloudflare Pages. To deploy by hand:
bun run verify
npx wrangler@4.169.1 pages deploy www/dist --project-name uicontext --branch mainMIT licensed.