DocsHelp
Contributing
Issues and pull requests are welcome. This is a summary; the full rules are in CONTRIBUTING.md.
Setup
You need Node.js 22 (22.13 or later), 24, or 26 and later, and pnpm. Use pnpm only: the lockfile and security overrides are pnpm's.
git clone https://github.com/<your-username>/tapas-ui.git
cd tapas-ui
corepack enable
pnpm install --frozen-lockfile
pnpm devChecks
CI runs these on every pull request. Run them first, then check your change in light and dark and at about 390px wide, with no sideways scrolling.
pnpm lint
pnpm typecheck
pnpm test
pnpm buildAdding a section
- A folder in
src/components/custom/with the component, anindex.ts, tests and a Storybook story. - Theme tokens only (
primary,muted,card,border), never fixed colors. - Semantic HTML, hidden decorative icons, no button inside a link, and server-component safe.
- An optional
<name>-motion.tsxwith the same props that follows the motion rules. - An entry in
registry.jsonlisting every package it imports, and a docs entry with preview, usage, props and accessibility notes. - Sample content that is fictional and labelled: no invented customers, prices, star counts or benchmarks.
Pull requests
Branch from main, use conventional commit messages such as feat(pricing-card): add a yearly toggle, and describe what changed and how you checked it, with a screenshot for visual changes. Looking for a place to start? Try a good first issue.
Read the full guide in CONTRIBUTING.md.