OverviewMarkdown
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 and import
Install @freshgemui/monoplinth alongside React 19 and Tailwind CSS v4:
npm install @freshgemui/monoplinthImport Tailwind CSS and the Monoplinth token bridge in your root stylesheet:
@import "tailwindcss";
@import "@freshgemui/monoplinth/tokens/theme.css";
@source "../node_modules/@freshgemui/monoplinth/dist";Import components and typed token constants from the package root:
import { Card, CardContent, COLOR_SCALES } from "@freshgemui/monoplinth";Foundation guides
- Principles — the five rules governing scales, monochrome balance, structure, accessibility, and copy.
- Tokens — the three-tier architecture connecting primitive scales to semantic roles and component contracts.
- Color — the 60-30-10 rule, 12-step Radix-style roles, literal dark and light HSL ramps, and measured WCAG contrast tables.
- Modes & themes — dark mode default,
.lightmode switching,data-themebrand selection, and the blocking no-flash head script. - Spacing — the 12-step 4px spacing scale for components (4–48px) and sections (64–128px).
- Sizing — five sizing steps (16–48px) and four paired control height tiers (
xstolg). - Radius — seven corner-radius steps (
0pxto9999px) and concentric nested radius math. - Borders — three pixel border widths (
1px,2px,4px) for hairlines, active selection, and accent rules. - Elevation — four elevation tiers rendering shadows in light mode and
1pxneutral borders in dark mode. - Layout — fluid
320pxto1920pxscaling across4 · 8 · 12columns with1440pxpage and68chprose caps. - Typography — Sora and JetBrains Mono type scales with fixed
16pxbody copy and fluid√φheadings. - Iconography — Lucide icons at
16px,20px, and24pxwith constant2pxabsoluteStrokeWidth. - Image ratios — five locked aspect ratios (
1:1 · 4:3 · 16:9 · 4:5 · 9:16). - Motion — five
φ-derived durations (100–686ms) and three restrained cubic-bezier curves. - States — step-shifted interactive states,
2pxfocus rings, and six namedz-indexlayers (0–50). - Voice — sentence-case headings, factual sentences, unit formatting, and word-list checks.
- Style boundaries — visual, layout, icon, and copy patterns Monoplinth leaves out, with the tokens it uses instead.
Component guides
- Button · Input · Textarea · Field · Select · Checkbox · Radio · Switch
- Card · Badge · Alert · Separator · Tabs · Accordion
- Dialog · Sheet · Popover · Tooltip · Dropdown · Toast
Machine-readable endpoints
- /llms.txt — concise llmstxt.org index linking every documentation Markdown twin.
- /llms-full.txt — complete documentation corpus concatenated in navigation order with expanded token tables.
- /tokens.json — W3C Design Tokens Community Group (DTCG) token manifest across dark and light modes and all four brand themes.