COCO component style guide

Use a variant class to communicate an action's emphasis. Buttons support small, large, block, icon, focus, and disabled states.

Show code

Buttons Modifiers

  • Primary action.

  • Secondary action.

  • Outlined primary action.

  • Outlined secondary action.

  • Primary action with an elevated shadow.

  • A compact button.

  • A large button.

  • A full-width button.

  • Square padding for an icon-only button; provide an accessible name.

Search

Code Audit Results