create-component
Installation
SKILL.md
Prototyper UI — Creating Components
End-to-end guide for building new components in the Prototyper UI library. Templates first, then decision trees, then architecture patterns, then registration and documentation.
1. Copy-Paste Templates
These four templates cover every component shape. Pick one, fill in the blanks.
Template A: Simple Component (no sub-components)
Used by: Button, Toggle
"use client";
import { ComponentName as ComponentNamePrimitive } from "@base-ui/react/component-name";
import { cva, type VariantProps } from "class-variance-authority";