Design system — Calm neutral
Lattice Row Software · Design systems — software and SaaS · Denver, CO
Tomasz Wierzbicki starts Lattice Row Software's design system from the Calm neutral starter and adapts it to the brand.
Use this templateAll colours
Colors| Name | Group | Value | Read on | Usage note |
|---|---|---|---|---|
| background | {"light":"#fbfcfd","dark":"#0e1117"} | — | The page itself. Everything else sits on it. | |
| foreground | {"light":"#1b2130","dark":"#e6e9ef"} | background | Body text and icons on the page. | |
| card | {"light":"#ffffff","dark":"#151922"} | — | Raised panels, dialogs and menus. | |
| card-foreground | {"light":"#1b2130","dark":"#e6e9ef"} | card | Text inside a card. | |
| popover | {"light":"#ffffff","dark":"#1a1f2a"} | — | Menus, tooltips and pickers that float over content. | |
| popover-foreground | {"light":"#1b2130","dark":"#e6e9ef"} | popover | Text inside a menu or tooltip. | |
| muted | {"light":"#f1f3f7","dark":"#1c212c"} | — | Quiet fills: table headers, empty states, code blocks. | |
| muted-foreground | {"light":"#566072","dark":"#98a1b2"} | muted | Hints and captions. Also reads on the page and on cards. | |
| primary | {"light":"#4f46e5","dark":"#8b8cf8"} | — | The one main action on a screen. | |
| primary-foreground | {"light":"#ffffff","dark":"#12123a"} | primary | Label on a primary button. | |
| secondary | {"light":"#eceff5","dark":"#232937"} | — | Second actions and quiet selected states. | |
| secondary-foreground | {"light":"#262d3d","dark":"#dfe3ea"} | secondary | Label on a secondary button. |
Tables
Colors
21 sample rows · 5 columnsEvery colour the product uses, light and dark, and what each is read on.
| Name | Group | Value | Read on | Usage note |
|---|---|---|---|---|
| background | {"light":"#fbfcfd","dark":"#0e1117"} | — | The page itself. Everything else sits on it. | |
| foreground | {"light":"#1b2130","dark":"#e6e9ef"} | background | Body text and icons on the page. | |
| card | {"light":"#ffffff","dark":"#151922"} | — | Raised panels, dialogs and menus. | |
| card-foreground | {"light":"#1b2130","dark":"#e6e9ef"} | card | Text inside a card. | |
| popover | {"light":"#ffffff","dark":"#1a1f2a"} | — | Menus, tooltips and pickers that float over content. | |
| popover-foreground | {"light":"#1b2130","dark":"#e6e9ef"} | popover | Text inside a menu or tooltip. | |
| muted | {"light":"#f1f3f7","dark":"#1c212c"} | — | Quiet fills: table headers, empty states, code blocks. | |
| muted-foreground | {"light":"#566072","dark":"#98a1b2"} | muted | Hints and captions. Also reads on the page and on cards. | |
| primary | {"light":"#4f46e5","dark":"#8b8cf8"} | — | The one main action on a screen. | |
| primary-foreground | {"light":"#ffffff","dark":"#12123a"} | primary | Label on a primary button. | |
| secondary | {"light":"#eceff5","dark":"#232937"} | — | Second actions and quiet selected states. | |
| secondary-foreground | {"light":"#262d3d","dark":"#dfe3ea"} | secondary | Label on a secondary button. |
Typography
7 sample rows · 4 columnsThe text styles: font, weight, size, line height and spacing.
| Name | Group | Style | Usage note |
|---|---|---|---|
| display | {"font":"Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","weight":700,"size":44,"lineHeight":52,"letterSpacing":-0.025} | One per page at most: a landing headline. | |
| title | {"font":"Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","weight":600,"size":28,"lineHeight":36,"letterSpacing":-0.015} | The page title. | |
| heading | {"font":"Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","weight":600,"size":18,"lineHeight":26,"letterSpacing":-0.005} | Section headings inside a page. | |
| body | {"font":"Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","weight":400,"size":14,"lineHeight":22,"letterSpacing":0} | Everything people read. | |
| label | {"font":"Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","weight":500,"size":13,"lineHeight":18,"letterSpacing":0} | Buttons, field labels and tabs. | |
| caption | {"font":"Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","weight":400,"size":12,"lineHeight":16,"letterSpacing":0.01} | Timestamps, hints and small print. | |
| code | {"font":"'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace","weight":400,"size":13,"lineHeight":20,"letterSpacing":0} | Code, ids and values people copy. |
Spacing
7 sample rows · 3 columnsThe spacing scale every layout is built from.
| Name | Value | Usage note |
|---|---|---|
| space-1 | 4 | Between an icon and its label. |
| space-2 | 8 | Between related controls in a row. |
| space-3 | 12 | Inside a compact card. |
| space-4 | 16 | Padding of a card or a dialog. |
| space-6 | 24 | Between groups inside a section. |
| space-8 | 32 | Between sections of a page. |
| space-12 | 48 | Above a page title. |
Corner radius
4 sample rows · 3 columnsHow round corners are, from chips to avatars.
| Name | Value | Usage note |
|---|---|---|
| radius-sm | 4 | Chips, tags and checkboxes. |
| radius-md | 8 | Buttons, fields and menus. |
| radius-lg | 12 | Cards, dialogs and panels. |
| radius-full | 9,999 | Avatars, pills and switches. |
Shadows
3 sample rows · 3 columnsElevation: how far something floats above the page, in light and dark.
| Name | Value | Usage note |
|---|---|---|
| shadow-sm | {"light":{"x":0,"y":1,"blur":2,"spread":0,"color":"#0f172a12"},"dark":{"x":0,"y":1,"blur":2,"spread":0,"color":"#00000059"}} | Cards resting on the page. |
| shadow-md | {"light":{"layers":[{"x":0,"y":4,"blur":10,"spread":-2,"color":"#0f172a14"},{"x":0,"y":2,"blur":4,"spread":-2,"color":"#0f172a0d"}]},"dark":{"layers":[{"x":0,"y":4,"blur":10,"spread":-2,"color":"#00000080"},{"x":0,"y":2,"blur":4,"spread":-2,"color":"#00000066"}]}} | Menus and popovers over content. |
| shadow-lg | {"light":{"layers":[{"x":0,"y":16,"blur":32,"spread":-8,"color":"#0f172a29"},{"x":0,"y":6,"blur":12,"spread":-4,"color":"#0f172a12"}]},"dark":{"layers":[{"x":0,"y":16,"blur":32,"spread":-8,"color":"#000000b3"},{"x":0,"y":6,"blur":12,"spread":-4,"color":"#00000080"}]}} | Dialogs, the highest layer on screen. |
Opacity
3 sample rows · 3 columnsHow see-through things get: disabled controls, tints and overlays.
| Name | Value | Usage note |
|---|---|---|
| opacity-disabled | 0.45 | A control that cannot be used yet. |
| opacity-hover | 0.08 | The tint laid over a row or a quiet button on hover. |
| opacity-overlay | 0.5 | The dim behind a dialog. |
Motion
3 sample rows · 3 columnsHow fast things move and how they ease in and out.
| Name | Value | Usage note |
|---|---|---|
| motion-fast | {"duration":120,"easing":"ease-out"} | Hover, press and focus. |
| motion-base | {"duration":180,"easing":"cubic-bezier(0.2, 0, 0, 1)"} | Menus and popovers opening. |
| motion-slow | {"duration":260,"easing":"cubic-bezier(0.2, 0, 0, 1)"} | Dialogs and side panels. |
Components
8 sample rows · 4 columnsEach component family, drawn as it looks in light and dark, with where to use it.
| Name | Group | Sample | Usage note |
|---|---|---|---|
| Button | <style>.w{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;}.b{font:inherit;font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;font-size:13px;font-weight:500;line-height:1;height:32px;padding:0 14px;border-radius:var(--radius);border:1px solid transparent;cursor:pointer;text-transform:none;letter-spacing:0em;transition:filter var(--motion-fast, 120ms ease-out),transform var(--motion-fast, 120ms ease-out);}.r{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.p{background:var(--primary);color:var(--primary-foreground)}.p.h{filter:brightness(1.08)}.p.f{box-shadow:0 0 0 2px var(--background),0 0 0 4px var(--ring)}.p:disabled{opacity:var(--opacity-disabled, .5);cursor:not-allowed}</style><div class="w r"><button class="b p">Save</button><button class="b p h">Hover</button><button class="b p f">Focus</button><button class="b p" disabled>Disabled</button></div> | The one main action of a screen. Never two primary buttons side by side. | |
| Button variants | <style>.w{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;}.b{font:inherit;font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;font-size:13px;font-weight:500;line-height:1;height:32px;padding:0 14px;border-radius:var(--radius);border:1px solid transparent;cursor:pointer;text-transform:none;letter-spacing:0em;transition:filter var(--motion-fast, 120ms ease-out),transform var(--motion-fast, 120ms ease-out);}.r{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.s{background:var(--secondary);color:var(--secondary-foreground)}.o{background:transparent;color:var(--foreground);border-color:var(--border)}.q{background:transparent;color:var(--muted-foreground);box-shadow:none}.d{background:var(--destructive);color:var(--destructive-foreground)}</style><div class="w r"><button class="b s">Secondary</button><button class="b o">Outline</button><button class="b q">Quiet</button><button class="b d">Delete</button></div> | Outline and quiet for everything else; delete only for what cannot be undone. | |
| Text field | <style>.w{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.g{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.f{display:grid;gap:6px;max-width:320px}.l{font-size:12px;font-weight:600;color:var(--foreground)}.i{font:inherit;font-size:14px;height:34px;padding:0 12px;border-radius:var(--radius);border:1px solid var(--input);background:var(--background);color:var(--foreground);transition:box-shadow var(--motion-fast, 120ms ease-out)}.i:focus,.i.f{outline:none;border-color:var(--ring);box-shadow:0 0 0 2px var(--background),0 0 0 4px var(--ring)}.h{font-size:12px;color:var(--muted-foreground)}.e .i{border-color:var(--destructive)}.e .h{color:var(--destructive)}</style><div class="w g"><label class="f"><span class="l">Email</span><input class="i" placeholder="name@company.com"><span class="h">We send the receipt here.</span></label><label class="f"><span class="l">Name</span><input class="i f" value="Dana Ruiz"><span class="h">Focused.</span></label><label class="f e"><span class="l">Phone</span><input class="i" value="555-01"><span class="h">Enter all ten digits.</span></label></div> | Every field has a visible label above it and a hint or error below. | |
| Card | <style>.w{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;}.b{font:inherit;font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;font-size:13px;font-weight:500;line-height:1;height:32px;padding:0 14px;border-radius:var(--radius);border:1px solid transparent;cursor:pointer;text-transform:none;letter-spacing:0em;transition:filter var(--motion-fast, 120ms ease-out),transform var(--motion-fast, 120ms ease-out);}.c{max-width:380px;padding:16px;border-radius:var(--radius-lg, 12px);border:1px solid var(--border);background:var(--card);color:var(--card-foreground);box-shadow:var(--shadow-sm, none)}.k{margin:0 0 6px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-foreground)}.t{margin:0 0 4px;font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;font-size:16px;font-weight:600}.m{margin:0 0 14px;font-size:13px;color:var(--muted-foreground)}.a{display:flex;gap:8px}.p{background:var(--primary);color:var(--primary-foreground)}.o{background:transparent;color:var(--card-foreground);border-color:var(--border);box-shadow:none}</style><div class="w c"><p class="k">Report</p><h3 class="t">Quarterly summary</h3><p class="m">Updated 2 hours ago by Dana Ruiz</p><div class="a"><button class="b p">Open</button><button class="b o">Share</button></div></div> | One idea per card: a kicker, a title, one line of detail and at most two actions. | |
| Badge | <style>.w{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.r{display:flex;flex-wrap:wrap;gap:8px}.x{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:var(--radius-full, 999px);font-size:12px;font-weight:600;border:1px solid var(--border);color:var(--foreground);background:var(--muted)}.x i{width:7px;height:7px;border-radius:50%;background:currentColor}.ok{color:var(--success)}.wa{color:var(--warning)}.er{color:var(--destructive)}.pr{background:var(--primary);color:var(--primary-foreground);border-color:transparent}</style><div class="w r"><span class="x">Draft</span><span class="x pr">New</span><span class="x ok"><i></i>Live</span><span class="x wa"><i></i>Waiting</span><span class="x er"><i></i>Failed</span></div> | A status always pairs its colour with a word. | |
| Toggle list | <style>.w{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.l{display:grid;max-width:440px;border:1px solid var(--border);border-radius:var(--radius-lg, 12px);background:var(--card)}.o{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;font-size:14px;color:var(--card-foreground)}.o+.o{border-top:1px solid var(--border)}.o small{display:block;font-size:12px;color:var(--muted-foreground)}.t{appearance:none;flex:none;width:36px;height:22px;border-radius:var(--radius-full, 999px);background:var(--input);position:relative;cursor:pointer;margin:0;transition:background var(--motion-fast, 120ms ease-out)}.t::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:var(--background);transition:transform var(--motion-fast, 120ms ease-out)}.t:checked{background:var(--primary)}.t:checked::after{transform:translateX(14px)}.t:disabled{opacity:var(--opacity-disabled, .5);cursor:not-allowed}</style><div class="w l"><label class="o"><span>Email alerts<small>When a task is assigned to you</small></span><input type="checkbox" class="t" checked></label><label class="o"><span>Weekly digest<small>Every Monday morning</small></span><input type="checkbox" class="t"></label><label class="o"><span>Text messages<small>Needs a verified phone</small></span><input type="checkbox" class="t" disabled></label></div> | A switch acts at once. When a choice needs a Save, use a checkbox. | |
| Collapsible list | <style>.w{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.d{max-width:500px;border:1px solid var(--border);border-radius:var(--radius-lg, 12px);background:var(--card);color:var(--card-foreground)}details+details{border-top:1px solid var(--border)}summary{list-style:none;cursor:pointer;padding:12px 16px;font-size:14px;font-weight:600;display:flex;justify-content:space-between;gap:12px}summary::-webkit-details-marker{display:none}summary::after{content:"+";color:var(--muted-foreground)}details[open] summary::after{content:"\2212"}p{margin:0;padding:0 16px 14px;font-size:13px;color:var(--muted-foreground)}</style><div class="w d"><details open><summary>What is included</summary><p>Every table, view and page in the template.</p></details><details><summary>Who can see it</summary><p>Everyone in your organization.</p></details><details><summary>Can I undo it</summary><p>Yes, from the history of each item.</p></details></div> | For answers people look up once. Never hide a step people must take. | |
| Tabs | <style>.w{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.t{display:flex;gap:4px;border-bottom:1px solid var(--border)}.t span{padding:10px 14px;font-size:14px;color:var(--muted-foreground);border-bottom:2px solid transparent;margin-bottom:-1px;text-transform:none;letter-spacing:0em}.t .on{color:var(--foreground);font-weight:600;border-color:var(--primary)}</style><div class="w t"><span class="on">Overview</span><span>Activity</span><span>Settings</span></div> | Tabs switch views of one thing. Three to five, short names. |
Related templates
- Brand Assets HubOak Whistle Design3 tables · 8 views · 1 form · 1 row action · 1 agentGallery
- Company profileTidewater Mobile Tire & Brake3 tables · 5 views · 1 form · 1 dashboard · 1 digest · 4 agentsAgents
- Competitor AnalysisRavenbrook Field Software2 tables · 5 views · 1 form · 1 agentBoards
- Content CalendarThistlewick Garden Co.3 tables · 10 views · 1 form · 2 row actions · 1 agentCalendar
- Creator Content PlannerFernhollow Plant Co.3 tables · 11 views · 1 form · 2 row actions · 1 agentLinked tables
- Creator StudioWildgrain Kitchen5 tables · 15 views · 1 form · 3 row actions · 1 agentLinked tables