Cozy UI
Use this skill to build Cozy application interfaces with cozy-ui. Prefer this skill over generic React or Material-UI guidance when the task concerns Cozy apps, Cozy UI components, Cozy CSS utilities, or the Cozy theme.
Quick Start
import { Button, Alert } from 'cozy-ui/transpiled/react'
import { CozyTheme } from 'cozy-ui/transpiled/react/providers/CozyTheme'
import 'cozy-ui/transpiled/react/stylesheet.css'
<CozyTheme variant="light">
<Alert severity="info">Ready</Alert>
<Button label="Continue" />
</CozyTheme>
What This Skill Provides
- 89+ React components with examples and extracted props.
- CSS utility classes for spacing, typography, colors, layout, and component-specific classes.
- Cozy theming conventions built on Material-UI v4.
- Import patterns for
cozy-ui/transpiled/react and cozy-ui/dist.
Quick Reference
Components
Read references/components.md when choosing a component, checking props, or looking for usage examples.
Common starting points:
- Buttons and actions:
Button, Buttons, IconButton, ActionsMenu, ActionsBar.
- Forms:
TextField, SelectBox, Checkbox, Radios, Switch, SearchBar, FileInput.
- Layout:
Stack, Grid, Paper, Card, Container, Divider.
- Feedback:
Alert, Banner, Snackbar, Spinner, Skeletons, ProgressionBanner.
- Dialogs and menus:
CozyDialogs, Dialog, Menu, ActionsMenu.
CSS Utilities
Read references/css-classes.md when using utility classes or legacy CSS patterns.
import 'cozy-ui/dist/cozy-ui.utils.min.css'
@import 'cozy-ui/stylus/settings'
@import 'cozy-ui/stylus/mixins'
Theme
Wrap app UI with CozyTheme when the target app does not already provide it.
import { CozyTheme } from 'cozy-ui/transpiled/react/providers/CozyTheme'
<CozyTheme variant="light">
<App />
</CozyTheme>
Workflow
- Identify whether the task is component selection, CSS utility usage, theming, or implementation review.
- Load only the needed reference file:
references/components.md for React components, imports, examples, and props.
references/css-classes.md for utility classes and Stylus/CSS usage.
- Prefer cozy-ui exports over raw Material-UI components when a Cozy wrapper exists.
- Preserve existing app conventions and imports; do not migrate import style unless required.
- If adding or changing components inside cozy-ui itself, follow the repository README guidance for component development and tests.
Specific Tasks
- Choosing and composing Cozy UI components —
references/components.md
- Checking component props and examples —
references/components.md
- Applying spacing, typography, color, and utility classes —
references/css-classes.md
- Using Cozy theme providers and variants — start with this file, then inspect component references when needed
- Reviewing Cozy UI usage in app code — check imports and component APIs against
references/components.md
Installed Skill Layout
skills/cozy-ui-reference/
SKILL.md
references/
components.md
css-classes.md
Additional Resources
Source: cozy/cozy-ui — distributed by TomeVault.
1---2name: cozy-ui-reference3description: Build, review, or modify Cozy applications with cozy-ui React components, Material-UI v4 based theming, Cozy design patterns, CSS utility classes, icons, and component APIs. Use when Codex needs to choose cozy-ui components, write imports from cozy-ui, apply Cozy styling utilities, or answer implementation questions about cozy-ui. Use when this capability is needed.4---56<!-- Auto-generated by scripts/generate-skill.js — do not edit manually -->78# Cozy UI910Use this skill to build Cozy application interfaces with cozy-ui. Prefer this skill over generic React or Material-UI guidance when the task concerns Cozy apps, Cozy UI components, Cozy CSS utilities, or the Cozy theme.1112## Quick Start1314```jsx15import { Button, Alert } from 'cozy-ui/transpiled/react'16import { CozyTheme } from 'cozy-ui/transpiled/react/providers/CozyTheme'17import 'cozy-ui/transpiled/react/stylesheet.css'1819<CozyTheme variant="light">20 <Alert severity="info">Ready</Alert>21 <Button label="Continue" />22</CozyTheme>23```2425## What This Skill Provides2627- 89+ React components with examples and extracted props.28- CSS utility classes for spacing, typography, colors, layout, and component-specific classes.29- Cozy theming conventions built on Material-UI v4.30- Import patterns for `cozy-ui/transpiled/react` and `cozy-ui/dist`.3132## Quick Reference3334### Components3536Read `references/components.md` when choosing a component, checking props, or looking for usage examples.3738Common starting points:3940- Buttons and actions: `Button`, `Buttons`, `IconButton`, `ActionsMenu`, `ActionsBar`.41- Forms: `TextField`, `SelectBox`, `Checkbox`, `Radios`, `Switch`, `SearchBar`, `FileInput`.42- Layout: `Stack`, `Grid`, `Paper`, `Card`, `Container`, `Divider`.43- Feedback: `Alert`, `Banner`, `Snackbar`, `Spinner`, `Skeletons`, `ProgressionBanner`.44- Dialogs and menus: `CozyDialogs`, `Dialog`, `Menu`, `ActionsMenu`.4546### CSS Utilities4748Read `references/css-classes.md` when using utility classes or legacy CSS patterns.4950```js51import 'cozy-ui/dist/cozy-ui.utils.min.css'52```5354```stylus55@import 'cozy-ui/stylus/settings'56@import 'cozy-ui/stylus/mixins'57```5859### Theme6061Wrap app UI with `CozyTheme` when the target app does not already provide it.6263```jsx64import { CozyTheme } from 'cozy-ui/transpiled/react/providers/CozyTheme'6566<CozyTheme variant="light">67 <App />68</CozyTheme>69```7071## Workflow72731. Identify whether the task is component selection, CSS utility usage, theming, or implementation review.742. Load only the needed reference file:75 - `references/components.md` for React components, imports, examples, and props.76 - `references/css-classes.md` for utility classes and Stylus/CSS usage.773. Prefer cozy-ui exports over raw Material-UI components when a Cozy wrapper exists.784. Preserve existing app conventions and imports; do not migrate import style unless required.795. If adding or changing components inside cozy-ui itself, follow the repository README guidance for component development and tests.8081## Specific Tasks8283- Choosing and composing Cozy UI components — `references/components.md`84- Checking component props and examples — `references/components.md`85- Applying spacing, typography, color, and utility classes — `references/css-classes.md`86- Using Cozy theme providers and variants — start with this file, then inspect component references when needed87- Reviewing Cozy UI usage in app code — check imports and component APIs against `references/components.md`8889## Installed Skill Layout9091```text92skills/cozy-ui-reference/93 SKILL.md94 references/95 components.md96 css-classes.md97```9899## Additional Resources100101- [GitHub Repository](https://github.com/cozy/cozy-ui)102- [Styleguide](https://docs.cozy.io/cozy-ui/)103- [Material-UI v4 Docs](https://v4.mui.com/)104105---106> Source: [cozy/cozy-ui](https://github.com/cozy/cozy-ui) — distributed by [TomeVault](https://tomevault.io).107<!-- tomevault:4.0:skill_md:2026-06-18 -->