Pilar

AMODA's design system for internal tools. Every component and token here comes from the Figma file Internal Tool Design System.

Open in Figma

Getting started

  1. 1. Import components

    import { Button } from '@pilar-amoda/ui/button';
  2. 2. Import the styles once per app

    @import '@pilar-amoda/ui/styles.css';
  3. 3. Use Pilar tokens

    bg-pilar-primary  text-pilar-xs  rounded-pilar-md  h-pilar-control

How it is built

  • @pilar-amoda/ui builds Pilar components with the same API patterns as shadcn (Base UI underneath).
  • @amoda/shadcn keeps the original shadcn, untouched, with its own Tailwind setup. Pilar never overrides it.
  • Every Pilar token is prefixed pilar-, so Pilar and shadcn classes never collide.

Updating tokens

The design can change at any time; tokens live in one file, so a change is one edit.

  1. Edit packages/pilar-ui/tokens/pilar.tokens.json (or re-pull the values from Figma).
  2. Run pnpm --filter @pilar-amoda/ui tokens; every component and these docs update.
  3. Dark mode: add real values under color.dark; until then dark uses generated placeholders.