Resources · components catalogue

Components

Every component we have today, rendered for real with its own stylesheet. Nothing here is chosen yet: pick per family and the pick goes in the decisions file.

.om-btn (styles.css)

The house button in the shared stylesheet: primary, ghost, small, with a disabled state. 28 rules, loaded on every host.

Works when

  • Dashboard chrome in packages/ui
  • Anything that should look like the platform

Avoid when

  • Tenant sites (they theme their own CTA)

Usually comes with

  • packages/ui/src/styles.css
  • used across the shell and builder
DesktopSame at every width; dashboard components are width-agnostic.
TabletSame at every width; dashboard components are width-agnostic.
PhoneWraps or stacks; see the frame.