Skip to content

CQCL/quantinuum-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

866ecd0 · Oct 4, 2024
Sep 12, 2024
Jan 9, 2024
Oct 4, 2024
Oct 4, 2024
Feb 7, 2024
Dec 13, 2023
Sep 12, 2024
Jan 10, 2024
Sep 16, 2024
Sep 16, 2024
Dec 19, 2023
Dec 20, 2023
Dec 20, 2023
Dec 18, 2023
Dec 17, 2023

Repository files navigation

quantinuum-ui

Quantinuum design tokens and React components.

Based on shadcn, an opinionated tailwind theme and radix-ui component generator. Shadcn isn't a direct dependency but has a CLI tool to generate components into this repo based on components.json.

Development

npm run storybook # Run storybook application to view components.
npm run build-storybook # Build storybook application as static HTML.
npm run build # Build component library with rollup.

Design Tokens

CSS variables are declared in src/tokens.css. Dark mode is enabled by the presence of the attribute data-theme higher up in the tree.