# dede
> A monochrome, code-based design system for React — tokens, layout primitives and components — published as `@dede-style/ui`.
Start with DESIGN.md: tokens, the layout model (Section > Stack > Slot > Sleeve) and rules for building pages. Each component has a markdown file with its props. Design tools can import the W3C DTCG tokens, one file per mode.
## Docs
- [DESIGN.md](https://dede.style/DESIGN.md): tokens, layout, components and rules, for agents
- [Badge](https://dede.style/docs/Badge.md): A short label in a pill: a number, a status, a word.
- [Button](https://dede.style/docs/Button.md): A button that does something on this page.
- [Card](https://dede.style/docs/Card.md): A surface that holds content.
- [Checkbox](https://dede.style/docs/Checkbox.md): Include this option, independently of the others.
- [CheckboxGroup](https://dede.style/docs/CheckboxGroup.md): A labelled set of Checkboxes: a fieldset whose legend names the set.
- [Divider](https://dede.style/docs/Divider.md): A 1px line between items, rendered as an `
`, so screen readers announce it as a separator.
- [Field](https://dede.style/docs/Field.md): The label, hint and error around one form control (TextInput, Select).
- [Figure](https://dede.style/docs/Figure.md): Content with an optional caption under it: an image, a video, an SVG or a component.
- [Grid](https://dede.style/docs/Grid.md): Tiles a collection of unknown count — cards, images, logos — into as many equal columns of at least `minColumnWidth` as fit, reflowing with its own width.
- [Icon](https://dede.style/docs/Icon.md): An SVG glyph from `@dede-style/ui/icons`, sized on the element ramp and coloured by `currentColor`.
- [IconButton](https://dede.style/docs/IconButton.md): A button with an icon and no visible words.
- [Radio](https://dede.style/docs/Radio.md): One option of a RadioGroup.
- [RadioGroup](https://dede.style/docs/RadioGroup.md): One choice from a set where every option is visible and can carry a description.
- [Section](https://dede.style/docs/Section.md): A full-width band of the page and the measuring stick for everything inside it: spacing and breakpoints measure the Section.
- [Segmented](https://dede.style/docs/Segmented.md): One choice from two to four short options, every option on screen in one track.
- [SegmentedItem](https://dede.style/docs/SegmentedItem.md): One segment of a Segmented: its value, its words (or an icon in their place) and its accessible name.
- [Select](https://dede.style/docs/Select.md): One choice from a list that opens over the page.
- [Sleeve](https://dede.style/docs/Sleeve.md): Spaces the content inside one region — a heading, its text, a table — in a single column on the fixed component scale.
- [Slot](https://dede.style/docs/Slot.md): One region in a Stack lane.
- [Stack](https://dede.style/docs/Stack.md): Divides a band into lanes and owns its padding and gap.
- [Switch](https://dede.style/docs/Switch.md): A setting that takes effect immediately: on or off.
- [Table](https://dede.style/docs/Table.md): Rows of records in a real ``, built from TableHead, TableBody, TableFoot, TableRow and TableCell.
- [Textarea](https://dede.style/docs/Textarea.md): Several lines of typed text, in the same box as TextInput.
- [TextInput](https://dede.style/docs/TextInput.md): One line of typed text.
- [Tooltip](https://dede.style/docs/Tooltip.md): A short line of text beside a control, naming what it does.
## Optional
- [Live documentation site](https://dede.style): every token, layout primitive and component, with live examples
- [Tokens](https://dede.style/tokens/color): colour, spacing, type and the other token categories