@cockroachlabs/ui-components
v1.15.20
Published
UI Components is a reusable component library. It provides the core components for the Cockroach design system.
Downloads
10,538
Maintainers
Keywords
Readme
UI Components
UI Components (ui-components) is a reusable component library. It provides the core components for the Cockroach design system.
npm install --save-dev @cockroachlabs/ui-componentsComponents are exported individually from the package,
import { Badge } from "@cockroachlabs/ui-components";
export default props => (
<div>
<Badge>Cockroach UI Badge</Badge>
</div>
);Storybook
This library uses Storybook to document it's components.
To run storybook:
pnpm storybookThis will open storybook at http://localhost:6006/. From there, you can browse the library of shared components, as well as brand colors and typography.
