Skip to content
Perimeter Style

Contributing

How to set up the project locally and contribute changes.

Setup

bash
git clone <repo-url>
cd style
pnpm install
pnpm dev

The dev server uses webpack (Turbopack is disabled due to dynamic import tracing issues with 55 demo files).

Branch Workflow

Always create a feature branch — never commit directly to dev or main. Use conventional prefixes: feat:, fix:, refactor:, chore:, docs:, test:.

bash
git checkout -b feat/my-change

Quality Checks

Run before merging. Fix formatting on touched files with pnpm prettier --write <file>.

bash
pnpm quality    # typecheck + lint + format:check

Adding Components

  1. Edit the component in registry/ui/perimeter/
  2. Update or create a .demo.tsx file alongside it
  3. Run pnpm registry:build to regenerate the registry
  4. Run pnpm collect:demos to update the demo manifest
  5. Update CHANGELOG.md under [Unreleased]

Search

Search for components, templates, and more.