Skip to content

Actions

Everything a person presses to do something: buttons and their states, links that look like buttons, copy, close, grouped and toggled actions, keyboard hints and the handles that reorder lists. Built to WCAG 2.2 AA as a target: visible focus, 24px minimum targets, keyboard for every action and states said in words, not colour alone.

12 pages, 12 exports

  • Button
  • ToggleButton
  • LinkButton
  • IconButton
  • CloseButton
  • CopyButton
  • ButtonGroup
  • Kbd
  • KeyCombo
  • DragHandle
  • NudgeButtons
  • GatedAction

ImportLink to the section Import

Each group has its own entry, so an app that needs only this group loads only this group. Everything is also exported from @skribly/ui.

tsx
import { Button, ToggleButton, LinkButton, IconButton, … } from '@skribly/ui/actions'

Pages in this groupLink to the section Pages in this group

Search this site

Arrows move through the results, Enter opens one, Esc closes. Ctrl K /