bx

bext-ui.json

Configuration for the bext-ui registry and CLI.

The bext-ui.json file lives at the root of your project. It tells the CLI how your project is set up and where to put things.

Schema

{
  "$schema": "https://ui.bext.dev/schema.json",
  "style": "default",
  "tokens": "src/lib/theme.ts",
  "baseColor": "zinc",
  "island": "public/islands/ui.js",
  "aliases": {
    "components": "@/components",
    "ui": "@/components/ui",
    "lib": "@/lib"
  },
  "iconLibrary": "lucide"
}

style — the design style. baseColor — the neutral palette (zinc, slate, stone, gray, neutral). aliases — import paths matching your tsconfig.json paths.