Get started
Use with AI
Give an AI assistant one link so it builds with opendraft's components and tokens.
Paste one link into an AI assistant and it learns opendraft's setup steps, design rules, tokens and the full component list. It then installs the real components instead of inventing look-alikes.
1. Paste the prompt
Start a chat with this prompt and replace the last line with what you want to build.
Some assistants can't open links, and ChatGPT often can't open GitHub files. "Copy with rules included" puts the rules and component index in the prompt itself, so nothing needs fetching. The assistant writes the code and lists the install commands; you run them in your project.
2. What the assistant reads
All three are generated from the same sources as these docs, so they list the same components and props.
3. Editors with project rules
Tools that read a rules file from the project (Cursor rules, Claude Code's CLAUDE.md, and similar) work best with the rules saved locally. Download llms-full.txt into the project:
Then reference it from the rules file, for example a line in CLAUDE.md that says Build UI with opendraft. Follow @opendraft.md. Download it again when you want the latest components.
What to expect
- It installs
@opendraftcomponents with the shadcn CLI, starting with@opendraft/theme, and imports them from@/components. - It styles only with tokens such as
bg-primaryandtext-muted-foreground, never raw palette colors. - It writes a new component only when nothing in the component list fits, and builds it from existing parts.