Skip to content

Quickstart: your repository

Add Design to an existing app with the open-source tools, no account needed.

Applies to Engine
View as Markdown
On this page
  1. Start the guide
  2. Open the gallery
  3. Use your pieces
  4. Design a case's screens
  5. Check

At the end your app has a design/ folder with its guide, generated components in src/design/, a gallery on your machine and design check in your scripts.

  1. Start the guide

    In your app’s folder:

    Terminal
    npx @sypnia/design init --logo ./public/logo.svg

    It asks for the project’s name, a few words about it, and your framework (React with Next.js, Vite or Astro). With a model key it proposes palettes and type pairings; without one, your agent writes them with the Design skills, which init copies into .claude/skills/.

    You should see
    A [design] table in sypnia.toml at the root of your repository; design/ with guide.md, tokens.json, tokens.css, icons/, brand/ and gallery.yaml, and src/design/ with your components.
  2. Terminal
    npx @sypnia/design gallery
    You should see
    Gallery at http://localhost:4520 with every piece, light and dark, phone and desktop.
  3. Use your pieces

    app/order/page.tsx
    import { Button, ProductCard, Stepper } from '@/design';

    Import from your own src/design/, never from @sypnia/base directly: the base has no look of its own.

  4. Design a case's screens

    Terminal
    npx @sypnia/design screens new place-order

    It reads cases/orders/place-order.case.yaml (if you use Sypnia Cases) and writes design/screens/place-order.screen.yaml with a state for every ending and failure.

  5. Check

    Terminal
    npx @sypnia/design check
    You should see
    design check: 0 findings — or the list of anything outside the guide, with the file and line.

Add design check to your pipeline so every pull request is checked. Nothing here needs a Sypnia account.

  1. Start the guide
  2. Open the gallery
  3. Use your pieces
  4. Design a case's screens
  5. Check

    Search pages, sections and terms