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. Primitives

Primitives

The parts every design system has and everything else builds on: text, layout and buttons. Mocha has all 6.

  • Button
    Runs an action, shows that it's working, and stays reachable when disabled.
  • Inline
    Children in a row with even space between them, wrapping when they don't fit.
  • Scroll Area
    A region that scrolls inside a set size, with scrollbars that match the system.
  • Separator
    A hairline between groups of content.
  • Stack
    Children in a column with even space between them.
  • Text
    Text on the system's type scale.
PreviousColorsNextForms
@zepez/designSource on GitHub