Skip to content

five-on-it / apps/client/src/ui/kit/Button

apps/client/src/ui/kit/Button ​

The kit's buttons, styled by the theme (kit.css): Button in five variants (filled for the one action that matters, tonal for the next, outlined, text, and danger for what cannot be undone), with an icon before its words and a spinner while it works, and IconButton, an icon alone whose label is its accessible name and its tooltip. Any other prop (an id, a className, data-*) goes on the <button> itself: the end-to-end tests find buttons by them.

Interfaces ​

Type Aliases ​

Functions ​