All systems
B
Base
M
Mocha
S
Shell

Mocha

Foundations

  • Getting started
  • Typography
  • Spacing
  • Colors
  • Primitives
  • Forms
  • Components

Primitives

  • Button
  • Inline
  • Scroll Area
  • Separator
  • Stack
  • Text

Forms

  • Checkbox
  • Field
  • Input
  • Label
  • Segmented Control
  • Select
  • Slider
  • Switch
  • Textarea

Components

  • Card
  • Dialog
  • Menu
  • Popover
  • Sheet
  • Skeleton
  • Tabs
  • Toast
  • Tooltip
  1. @zepez/design
  2. Mocha
  3. Components

Components

Mocha's 9 components. Set the project up once in Getting started, then add each from its page.

  • Card
    A raised surface that groups related content.
  • Dialog
    A modal window that holds focus until it closes.
  • Menu
    A list of actions and settings that opens from a button.
  • Popover
    A floating panel anchored to the button that opens it.
  • Sheet
    A panel that slides in from an edge of the page.
  • Skeleton
    Loading placeholders in the shape of the real content, captured by boneyard.
  • Tabs
    Shows one panel at a time from a row of tabs.
  • Toast
    A short notice that goes away on its own.
  • Tooltip
    A short label shown on hover or focus.
PreviousFormsNextButton
@zepez/designSource on GitHub