# Monoplinth > Monoplinth is a numbers-driven React design system by FreshGemUI. An Obsidian to Alabaster 12-step monochrome base carries 90% of the interface, with one brand hue on top. Install `@freshgemui/monoplinth` and import `@freshgemui/monoplinth/tokens/theme.css` alongside Tailwind CSS v4. ## Overview - [Introduction](https://monoplinth.freshgemui.com/docs/index.md): Install @freshgemui/monoplinth, import the Tailwind CSS v4 token bridge, and explore foundation and component guides. - [Principles](https://monoplinth.freshgemui.com/docs/principles.md): Five non-negotiable rules governing closed numeric scales, 60-30-10 monochrome balance, architectural structure, WCAG 2.2 AA contrast, and copy. - [Tokens](https://monoplinth.freshgemui.com/docs/tokens.md): Three-tier token architecture connecting primitive TypeScript scales to 53 semantic role tokens and component sizing contracts. ## Color - [Color](https://monoplinth.freshgemui.com/docs/color.md): Eight 12-step HSL color scales enforcing a 60-30-10 monochrome-first ratio and 504 automated WCAG 2.2 AA contrast checks. - [Modes & themes](https://monoplinth.freshgemui.com/docs/modes-and-themes.md): Dark mode default on :root, .light mode switching, four data-theme brand palettes, and a blocking no-flash head script. ## Space & shape - [Spacing](https://monoplinth.freshgemui.com/docs/spacing.md): Closed 12-step spacing scale on a 4px grid: steps 1–12 (4–48px) for components and steps 16–32 (64–128px) for sections. - [Sizing](https://monoplinth.freshgemui.com/docs/sizing.md): Five sizing steps (16–48px) across four control tiers (xs to lg), pairing control height with icon size and corner radius. - [Radius](https://monoplinth.freshgemui.com/docs/radius.md): Seven border-radius steps from 0px to 9999px (sm 4px, md 8px, lg 16px, xl 24px) with concentric nesting (outer = inner + padding). - [Borders](https://monoplinth.freshgemui.com/docs/borders.md): Three fixed pixel border widths: 1px structural hairlines, 2px selected states and focus rings, and 4px architectural accent bars. - [Elevation](https://monoplinth.freshgemui.com/docs/elevation.md): Four elevation tiers (--shadow-sm to --shadow-xl) rendering directional shadows in light mode and 1px step 6–7 borders in dark mode. - [Layout](https://monoplinth.freshgemui.com/docs/layout.md): Fluid 320px–1920px viewport scaling across 4-, 8-, and 12-column grid tiers with a 1440px page max width and 68ch prose measure. ## Type & icons - [Typography](https://monoplinth.freshgemui.com/docs/typography.md): Sora and JetBrains Mono type system with 10 steps (12px caption, fixed 16px body, fluid √φ headings up to 88px display) and 4px line heights. - [Iconography](https://monoplinth.freshgemui.com/docs/iconography.md): Lucide icons at 16px, 20px, and 24px with a constant 2px stroke enforced by absoluteStrokeWidth; decorative icons and emoji are left out. - [Image ratios](https://monoplinth.freshgemui.com/docs/image-ratios.md): Five locked media aspect ratios (1:1, 4:3, 16:9, 4:5, 9:16) that reserve layout space before images load. ## Motion & states - [Motion](https://monoplinth.freshgemui.com/docs/motion.md): Five φ-scaled durations (100ms, 162ms, 262ms, 424ms, 686ms) and three cubic-bezier easing curves that respect prefers-reduced-motion. - [States](https://monoplinth.freshgemui.com/docs/states.md): Step-shifted interactive states (9→10→11 solid, 3→4→5 subtle, 3/8 disabled without opacity), 2px focus rings, and six z-index layers (0–50). ## Components - [Button](https://monoplinth.freshgemui.com/docs/components/button.md): Action control with five semantic variants, four token-paired heights (24–48px), default type='button', and Radix Slot asChild polymorphism. - [Input](https://monoplinth.freshgemui.com/docs/components/input.md): Single-line text input across four control heights (24–48px) locked to 16px body text with automatic Field ARIA wiring and read-only lock icon. - [Textarea](https://monoplinth.freshgemui.com/docs/components/textarea.md): Multi-line text control with size-matched minimum heights (24–48px), vertical-only resizing (resize-y), 16px text, and Field context support. - [Field](https://monoplinth.freshgemui.com/docs/components/field.md): Form field wrapper that generates a stable useId and wires htmlFor, aria-describedby, aria-invalid, and role='alert' error messages. - [Select](https://monoplinth.freshgemui.com/docs/components/select.md): Radix Select single-choice listbox with four trigger heights (24–48px), popper width matching, Check indicators, and Field context wiring. - [Checkbox](https://monoplinth.freshgemui.com/docs/components/checkbox.md): Binary and indeterminate Radix Checkbox with >=24px clickable row height, inline label and description, and CheckboxGroup fieldset support. - [Radio](https://monoplinth.freshgemui.com/docs/components/radio.md): Mutually exclusive Radix RadioGroup and Radio controls with fieldset/legend semantics, arrow-key roving focus, and >=24px row targets. - [Switch](https://monoplinth.freshgemui.com/docs/components/switch.md): Immediate binary toggle built on Radix Switch with 1:2 icon-sized track dimensions, 100ms thumb translation, and >=24px row height. - [Card](https://monoplinth.freshgemui.com/docs/components/card.md): 30% band surface container (--card) with 16px corners (radius-lg), 24px padding, configurable heading levels, and four elevation tiers. - [Badge](https://monoplinth.freshgemui.com/docs/components/badge.md): 24px-tall inline status and category tag with 2px corners (radius-xs), 12px caption text, and seven semantic variants. - [Alert](https://monoplinth.freshgemui.com/docs/components/alert.md): Inline callout banner with step 3 feedback tints, 20px 2px-stroke Lucide icons, and opt-in role='alert' or role='status' live regions. - [Separator](https://monoplinth.freshgemui.com/docs/components/separator.md): 1px --border hairline divider in horizontal or vertical orientation, defaulting to decorative role='none' with optional role='separator'. - [Tabs](https://monoplinth.freshgemui.com/docs/components/tabs.md): Radix Tabs disclosure bar with 32–48px trigger heights, a 1px bottom hairline, and a 4px --primary active indicator rule. - [Accordion](https://monoplinth.freshgemui.com/docs/components/accordion.md): Vertically stacked Radix Accordion disclosure panels with configurable heading levels (h1–h6) and 262ms height transitions. - [Dialog](https://monoplinth.freshgemui.com/docs/components/dialog.md): Centered Radix Dialog modal at z-modal (40) with 24px corners, solid Obsidian alpha scrim (--overlay), focus trap, and nested portal container. - [Sheet](https://monoplinth.freshgemui.com/docs/components/sheet.md): Edge-anchored Radix Dialog drawer sliding from top, right, bottom, or left over 262ms with 24px inner corners and modal focus management. - [Popover](https://monoplinth.freshgemui.com/docs/components/popover.md): Non-modal floating panel at z-dropdown (20) built on Radix Popover with 288px width, 16px padding, 8px side offset, and no arrow. - [Tooltip](https://monoplinth.freshgemui.com/docs/components/tooltip.md): Hover and focus text hint on the shared popover surface with 12px caption text, 424ms open delay, 262ms skip window, and Escape dismissal. - [Dropdown](https://monoplinth.freshgemui.com/docs/components/dropdown.md): Radix DropdownMenu action list at z-dropdown (20) supporting 32px items, checkbox toggles, radio groups, and monospace keyboard shortcuts. - [Toast](https://monoplinth.freshgemui.com/docs/components/toast.md): Transient Radix Toast queue at z-toast (50) with an imperative toast() store, 3-toast FIFO cap, F8 viewport shortcut, and persistent action toasts. ## Rules - [Voice](https://monoplinth.freshgemui.com/docs/voice.md): Editorial rules enforcing sentence-case headings, <=2-sentence factual paragraphs, attached numeric units, and automated word-list tests. - [Style boundaries](https://monoplinth.freshgemui.com/docs/style-boundaries.md): Patterns Monoplinth leaves out, from gradients and backdrop blur to bounce easing and marketing superlatives, with the tokens it uses instead. ## Machine-readable resources - [Full documentation corpus](https://monoplinth.freshgemui.com/llms-full.txt): All 38 Monoplinth documentation pages concatenated in navigation order with expanded Markdown tables. - [W3C DTCG design tokens](https://monoplinth.freshgemui.com/tokens.json): Primitive, semantic, and component tokens in W3C Design Tokens Community Group JSON format across dark/light modes and all four brand themes.