@cdx-ui/components
v0.0.1-alpha.18
Published
Styled, theme-aware UI components for the Candescent Design System.
Readme
@cdx-ui/components
Styled, theme-aware UI components for the Candescent Design System.
Built on top of @cdx-ui/primitives and @cdx-ui/styles, styled via Uniwind + CVA.
Installation
pnpm add @cdx-ui/componentsPeer dependencies
react>= 18.0.0react-native>= 0.74.0 (optional — for native targets)react-native-web>= 0.19.0 (optional — for web targets)uniwind>= 1.3.0 (optional — for styled usage)
Usage
import { Button } from '@cdx-ui/components';
export function Example() {
return (
<Button variant="strong" color="action" size="default" onPress={() => console.log('pressed')}>
<Button.Label>Get Started</Button.Label>
</Button>
);
}Component stories live in apps/storybook.
