# Figma

Designing with WebJs UI in Figma.

Source: https://webjs.dev/ui/docs/figma

## Using a community kit

WebJs UI shares its design with a widely used family of community Figma kits: the layout, the type scale, the spacing, the neutral oklch palette, the radii, the variant names and the sizes. A design built from one of those kits maps onto WebJs UI by name: a `Button` with the `outline` variant is `buttonClass({ variant: 'outline' })`, and a `DialogContent` is `<ui-dialog-content>`.

Pick a kit from [this Figma kits page](https://ui.shadcn.com/docs/figma), and use each component's docs page here for its variants and sizes as you build.

## Theme tokens

The kit's colours, radius and chart palette are CSS variables in your stylesheet (`--background`, `--primary`, `--radius` and the rest). Set the same values as variables in your Figma file and the design and the app share one theme. See [Theming](https://webjs.dev/ui/docs/theming) for the full list.

## Contributing a kit

Built a Figma kit for WebJs UI? Open an issue on [the WebJs repository](https://github.com/webjsdev/webjs/issues) and we will list it here.
