Skip to content

CQCL/quantinuum-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a1a2315 · Dec 11, 2024
Oct 3, 2024
Jan 9, 2024
Dec 11, 2024
Dec 11, 2024
Feb 7, 2024
Dec 13, 2023
Oct 23, 2024
Jan 10, 2024
Dec 11, 2024
Dec 11, 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 components have been generated into this repo using the components.json definition and re-exported as a new library.

Development

Basic commands

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 when using the attribute data-theme="dark" higher up in the DOM tree. See src/tokens.css for more details.