On-chain themes for ShadCN UI.
Inscribe UI themes on Bitcoin. Install them with one command.
bunx shadcn@latest add https://themetoken.dev/r/themes/[origin]- Create a theme using tweakcn or any CSS editor
- Inscribe it on Bitcoin via themetoken.dev
- Install in any ShadCN project using the standard CLI
The registry API transforms on-chain data into the format ShadCN CLI expects.
| Benefit | Description |
|---|---|
| Ownership | Themes are inscribed as Bitcoin NFTs with cryptographic authorship |
| Monetization | List and sell on any ordinals marketplace |
| Permanence | On-chain forever, no hosting required |
| Benefit | Description |
|---|---|
| Familiar workflow | Standard ShadCN CLI, nothing new to learn |
| Full compatibility | Works with existing ShadCN UI setup |
| Runtime theming | Apply themes dynamically with @theme-token/sdk |
Import themes programmatically into the studio:
https://themetoken.dev/studio?import=<base64-css>&name=<name>&source=<source>
| Parameter | Description |
|---|---|
import |
Base64-encoded CSS (required) |
name |
Theme name (optional) |
source |
Attribution, e.g. "tweakcn" (optional) |
Install any published theme into your shadcn project with the standard CLI — no extra tooling:
bunx shadcn@latest add https://themetoken.dev/r/themes/<origin>Blocks and components publish the same way:
bunx shadcn@latest add https://themetoken.dev/r/blocks/<origin>
bunx shadcn@latest add https://themetoken.dev/r/components/<origin>A helper CLI lives in cli/index.ts (run via Bun — it is not published to npm):
bun run cli add <origin> # resolve + verify a theme by origin
bun run cli url <origin> # print the registry URL for an originFor building apps that integrate Theme Token:
bun add @theme-token/sdkDocumentation: @theme-token/sdk
bun install
bun run devRuns at http://localhost:3033
MIT