Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 3.2 KB

README.md

File metadata and controls

57 lines (37 loc) · 3.2 KB

Raft Design System Built with Raft

The design system used to build Raft. This repository holds the guidelines, the design tokens and raft-ui, the React components that implement them.

Documentation: https://raft-design.botiverse.build

Contents

Path What it is
design/ The guidelines: foundations, patterns, products and recorded decisions. Component docs sit next to their code in packages/ui.
packages/ui raft-ui, published as @botiverse/raft-ui: CSS foundations and React components built on Base UI and Tailwind CSS v4.
apps/doc The documentation site: the design system's pages, rendered from the Markdown docs, with live examples.

Using raft-ui

raft-ui needs React 19 and, for the components, Tailwind CSS v4.

npm install @botiverse/raft-ui
@import "tailwindcss";
@import "@botiverse/raft-ui/styles.css";
import { Button } from "@botiverse/raft-ui";

Pages without React or Tailwind can use @botiverse/raft-ui/foundation.css for the tokens alone. See the package README for details.

raft-ui is pre-1.0: a minor version can include breaking changes, which are listed in the changelog.

For agents

The documentation site serves an llms.txt index, every page is also available as Markdown at the same path with .md, and components.json lists every component with its status, other names and summary. The npm package includes the tokens in DTCG format (@botiverse/raft-ui/tokens.json) and Agent Skills (raft-ui-guide, raft-ui-critique) that match its version.

Questions and contributions

Ask questions and propose changes in Discussions. Issues and pull requests are open to collaborators only; CONTRIBUTING.md describes how they work. Report security vulnerabilities privately, as described in SECURITY.md.

Development

The workspace uses Vite+ (vp) and pnpm.

vp install   # install dependencies
pnpm dev     # run the documentation site locally
vp check     # format, lint and type-check
vp run -r test

License

The code and documentation are licensed under the MIT License. The bundled fonts are under the SIL Open Font License, and the Raft name, logo, agent avatars and reaction artwork are brand assets that the MIT License does not cover. See NOTICE.md.