Skip to content
checkfuPublic

About

Components and app templates for Effect UI and StyleX

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

UiContext

Components and app templates for Effect UI and StyleX.
Installing an item copies its source into your app.

A 40-second tour of UiContext: live app templates and the install command
Watch the 40-second tour

Docs · Components · Templates

Install

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-table

Start a whole app from a template:

npx shadcn@latest add checkfu/uicontext/issue-tracker

Every template is listed at uicontext.com/blocks.

Installation covers new apps, existing apps and monorepos. Updating covers pinning and upgrades.

Develop

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

Deploy

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 main

MIT licensed.

About

Components and app templates for Effect UI and StyleX

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages