sheengemologic ui
All components

Text

Inline text with semantic type roles, accessible muted color, and optional tabular figures.@gemologic/sheen · typography

Playground

Updated recently
<Text tone="muted" size="caption" numeric={false} size="ui" tone="default">Updated recently</Text>

Variant matrix

Text example
Updated recently
size: caption
Updated recently
size: ui-sm
Updated recently
size: ui
Updated recently
size: body
Updated recently
tone: default
Updated recently
tone: muted
Updated recently

Anatomy

Package
@gemologic/sheen
Source
packages/ui/src/primitives/Typography.tsx
Tokens
  • --sheen-font-sans
  • --sheen-font-mono
  • --sheen-color-fg
  • --sheen-color-fg-muted

Accessibility

Role: inline textKeyboard: No component-owned keys

Do

  • Use visible text as well as color to communicate meaning.

Do not

  • Do not use low-contrast subtle tokens for meaningful text.

Generated props

NameTypeDefaultDescription
size"caption" | "ui-sm" | "ui" | "body"uiSemantic type role, not an arbitrary font size.
tone"default" | "muted"defaultPrimary or AA-gated muted foreground.
numericbooleanfalseEnable tabular figures for aligned numeric content.
Native Solid/HTML attributes remain available and are omitted from this authored-prop view.