@appkit/dek-ui
v0.57.0
Published
React component library for DEK. Provides styled, composable UI primitives for building plugin components and board layouts.
Readme
@appkit/dek-ui
React component library for DEK. Provides styled, composable UI primitives for building plugin components and board layouts.
Installation
npm install @appkit/dek-ui styled-componentsUsage
import { Card, TitleBar, Grid, Cell } from '@appkit/dek-ui';
function MyWidget({ title }: { title: string }) {
return (
<Card>
<TitleBar title={title} />
<Grid columns={2}>
<Cell>Left content</Cell>
<Cell>Right content</Cell>
</Grid>
</Card>
);
}Storybook
Browse all components interactively:
# From dek-packages root
npm run storybook # http://localhost:6006Documentation
- Component Catalog — All components with usage examples and props
