Design system — Near blank

Plainfield Works · Design systems — any brand · Columbus, OH

Noor Haddad starts Plainfield Works's design system from the Near blank starter and adapts it to the brand.

Any businessContentTables8 tables · 8 views · 1 form · 1 agent
Use this template

All colours

Colors
NameGroupValueRead onUsage note
backgroundSurfaces{"light":"#ffffff","dark":"#0f0f0f"}—The page itself. Everything else sits on it.
foregroundSurfaces{"light":"#171717","dark":"#ededed"}backgroundBody text and icons on the page.
cardSurfaces{"light":"#ffffff","dark":"#171717"}—Raised panels, dialogs and menus.
card-foregroundSurfaces{"light":"#171717","dark":"#ededed"}cardText inside a card.
mutedMuted{"light":"#f4f4f4","dark":"#222222"}—Quiet fills: table headers, empty states, code blocks.
muted-foregroundMuted{"light":"#5c5c5c","dark":"#a3a3a3"}mutedHints and captions. Also reads on the page and on cards.
primaryPrimary{"light":"#2459d6","dark":"#7aa2ff"}—The one main action on a screen.
primary-foregroundPrimary{"light":"#ffffff","dark":"#0b1430"}primaryLabel on a primary button.
secondarySecondary{"light":"#efefef","dark":"#262626"}—Second actions and quiet selected states.
secondary-foregroundSecondary{"light":"#171717","dark":"#ededed"}secondaryLabel on a secondary button.
borderLines{"light":"#e4e4e4","dark":"#2c2c2c"}—Dividers and card edges. Never text.
inputLines{"light":"#8a8a8a","dark":"#6e6e6e"}—The outline of a field and an off switch, so they are found without a label.

5 more rows

Tables

Colors

17 sample rows · 5 columns

Every colour the product uses, light and dark, and what each is read on.

NameGroupValueRead onUsage note
backgroundSurfaces{"light":"#ffffff","dark":"#0f0f0f"}—The page itself. Everything else sits on it.
foregroundSurfaces{"light":"#171717","dark":"#ededed"}backgroundBody text and icons on the page.
cardSurfaces{"light":"#ffffff","dark":"#171717"}—Raised panels, dialogs and menus.
card-foregroundSurfaces{"light":"#171717","dark":"#ededed"}cardText inside a card.
mutedMuted{"light":"#f4f4f4","dark":"#222222"}—Quiet fills: table headers, empty states, code blocks.
muted-foregroundMuted{"light":"#5c5c5c","dark":"#a3a3a3"}mutedHints and captions. Also reads on the page and on cards.
primaryPrimary{"light":"#2459d6","dark":"#7aa2ff"}—The one main action on a screen.
primary-foregroundPrimary{"light":"#ffffff","dark":"#0b1430"}primaryLabel on a primary button.
secondarySecondary{"light":"#efefef","dark":"#262626"}—Second actions and quiet selected states.
secondary-foregroundSecondary{"light":"#171717","dark":"#ededed"}secondaryLabel on a secondary button.
borderLines{"light":"#e4e4e4","dark":"#2c2c2c"}—Dividers and card edges. Never text.
inputLines{"light":"#8a8a8a","dark":"#6e6e6e"}—The outline of a field and an off switch, so they are found without a label.

5 more rows

Typography

5 sample rows · 4 columns

The text styles: font, weight, size, line height and spacing.

NameGroupStyleUsage note
titleHeadings{"font":"system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","weight":600,"size":28,"lineHeight":36,"letterSpacing":-0.01}The page title.
headingHeadings{"font":"system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","weight":600,"size":18,"lineHeight":26,"letterSpacing":0}Section headings inside a page.
bodyText{"font":"system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","weight":400,"size":15,"lineHeight":24,"letterSpacing":0}Everything people read.
captionText{"font":"system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","weight":500,"size":12,"lineHeight":16,"letterSpacing":0.01}Labels over values, timestamps, small print.
codeCode{"font":"ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace","weight":400,"size":13,"lineHeight":20,"letterSpacing":0}Code, ids and values people copy.

Spacing

4 sample rows · 3 columns

The spacing scale every layout is built from.

NameValueUsage note
space-14Between an icon and its label.
space-28Between related controls.
space-416Padding of a card or a dialog.
space-832Between sections of a page.

Corner radius

3 sample rows · 3 columns

How round corners are, from chips to avatars.

NameValueUsage note
radius-sm4Tags and checkboxes.
radius-md6Buttons, fields, cards and menus.
radius-full9,999Avatars, pills and switches.

Shadows

3 sample rows · 3 columns

Elevation: how far something floats above the page, in light and dark.

NameValueUsage note
shadow-sm{"light":{"x":0,"y":1,"blur":2,"spread":0,"color":"#00000014"},"dark":{"x":0,"y":1,"blur":2,"spread":0,"color":"#00000066"}}Cards resting on the page.
shadow-md{"light":{"x":0,"y":4,"blur":12,"spread":-2,"color":"#0000001a"},"dark":{"x":0,"y":4,"blur":12,"spread":-2,"color":"#00000099"}}Popovers and floating bars.
shadow-lg{"light":{"layers":[{"x":0,"y":12,"blur":28,"spread":-6,"color":"#0000001f"},{"x":0,"y":4,"blur":8,"spread":-4,"color":"#00000014"}]},"dark":{"layers":[{"x":0,"y":12,"blur":28,"spread":-6,"color":"#000000b3"},{"x":0,"y":4,"blur":8,"spread":-4,"color":"#00000080"}]}}Menus and dialogs above everything.

Opacity

3 sample rows · 3 columns

How see-through things get: disabled controls, tints and overlays.

NameValueUsage note
opacity-disabled0.5A control that cannot be used yet.
opacity-hover0.06The tint over a row or quiet button on hover.
opacity-overlay0.6The dim behind a dialog.

Motion

3 sample rows · 3 columns

How fast things move and how they ease in and out.

NameValueUsage note
motion-fast{"duration":120,"easing":"ease-out"}Hover, press and focus.
motion-base{"duration":200,"easing":"ease-in-out"}Menus, panels and dialogs opening.
motion-slow{"duration":300,"easing":"ease-in-out"}Page changes and large panels.

Components

6 sample rows · 4 columns

Each component family, drawn as it looks in light and dark, with where to use it.

NameGroupSampleUsage note
ButtonActions<style>.w{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;}.b{font:inherit;font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;font-size:14px;font-weight:500;line-height:1;height:34px;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.
Text fieldInputs<style>.w{font-family: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.
CardContainers<style>.w{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;}.b{font:inherit;font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;font-size:14px;font-weight:500;line-height:1;height:34px;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);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: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.
BadgeStatus<style>.w{font-family: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 listSelection<style>.w{font-family: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);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 listDisclosure<style>.w{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.d{max-width:500px;border:1px solid var(--border);border-radius:var(--radius);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.