Bonsai Design System

Getting Started

How to use the Bonsai Design System in your project

Preview

Bonsai UI
v0.1.0
Shared components for Bonsai Software products

Installation

Add the Bonsai registry

Add the registry to your project's components.json:

{
  "registries": {
    "@bonsai": {
      "url": "https://design.bonsai.dev/r"
    }
  }
}

Install components

npx shadcn add @bonsai/button @bonsai/card @bonsai/input

Copy design tokens

Copy the CSS variables from Design Tokens into your project's CSS file.

Stack

On this page