Narova design system

One set of tokens, motion and components for every Narova Studios tool. Components are copied into your project, so you own the code and can change it.

Start a project

A project needs Tailwind v4 and a components.json from shadcn. Then it takes two steps.

1. Tell shadcn where the registry is, in components.json
"registries": { "@nrv": "https://ui.narova.dev/r/{name}.json" }
2. Add the base: tokens, themes, motion and fonts
npx shadcn@latest add @nrv/base
The base puts its files in src/styles/nrv and adds one import to your globals.css. After that, add components by name, for example npx shadcn@latest add @nrv/button. For dark, put class="dark" on the html element.

Colour

Every colour is a token in tokens.css. Swatches show the theme you are in; the values beside them show both. A status colour never appears without its word.

Surfaces

--nrv-bg
#f5f2ee · dark #131011
warm stone canvas
--nrv-surface
#ffffff · dark #1c1819
cards, folders, inputs
--nrv-surface-2
#fbf9f6 · dark #181415
table header
--nrv-surface-hover
#faf7f3 · dark #221e1f
row hover
--nrv-fill
#f1ece6 · dark #272223
wells, segmented track, neutral pill
--nrv-fill-2
#e7e0d8 · dark #332d2e
bar and progress tracks
--nrv-tab
#efe8e0 · dark #2c2627
folder tab

Lines

--nrv-line
#e5ded6 · dark #2e2829
hairlines between things (decorative)
--nrv-line-2
#d3cac0 · dark #423b3b
button and option outlines (the label identifies them)
--nrv-control
#8b8179 · dark #8f857e
input borders, radio rings, selected outlines: 3:1 on every surface

Ink

--nrv-ink
#181516 · dark #f4f0eb
text
--nrv-ink-hover
#2c2728 · dark #ffffff
--nrv-ink-2
#57504b · dark #cdc5be
secondary text
--nrv-ink-3
#6b625b · dark #a69d96
labels, meta, placeholders: 4.5:1 on every surface

The primary action

--nrv-primary
#181516 · dark #f4f0eb
--nrv-primary-hover
#2c2728 · dark #ffffff
--nrv-on-primary
#ffffff · dark #181516

Surfaces that are dark in both themes

--nrv-dark
#181516 · dark #0c0a0b
--nrv-on-dark
#ffffff
--nrv-on-dark-2
#cfc7c1
labels
--nrv-on-dark-3
#b3aba5
notes
--nrv-on-dark-nav
#a8a29e
resting nav items
--nrv-on-dark-fill
#3a3536
avatar and other raised controls on the bar
--nrv-glow-max
#601919
the brightest the glow gets under text; for contrast checks only

Brand and status

--nrv-brand
#b4191e · dark #e5484d
focus ring, unread dot
--nrv-brand-logo
#d10000
the sun mark only
--nrv-bar-from
#57504b · dark #a69d96
data bars: neutral ink, so a long bar never reads as a problem
--nrv-bar-to
#181516 · dark #f4f0eb
--nrv-ok
#2f7d4f · dark #5fb783
done, accepted
--nrv-ok-bg
#e6f1ea · dark #17281e
--nrv-ok-fg
#22603b · dark #93d6ac
--nrv-warn
#b5602c · dark #de9560
waiting, to review
--nrv-warn-bg
#f6e8dd · dark #30221a
--nrv-warn-fg
#82411c · dark #efb68c
--nrv-new-bg
#f8e5e5 · dark #371a1c
new and unread
--nrv-new-fg
#961a1e · dark #f4a4a6
--nrv-bad
#b42318 · dark #f0695c
overdue, wrong
--nrv-bad-bg
#fae7e4 · dark #381b18
--nrv-bad-fg
#9e2318 · dark #f6a399
--nrv-bad-hover
#9e2318 · dark #f6a399
a danger button, hovered
--nrv-on-bad
#ffffff · dark #181516
the label on a danger button
Text needs 4.5:1. Borders, rings and marks that carry meaning need 3:1.

Contrast contract

PairingNeedsLightDark
Body text on canvas4.5:116.3:1 passes16.7:1 passes
Body text on a card4.5:118.1:1 passes15.5:1 passes
Secondary text on a well4.5:16.7:1 passes9.2:1 passes
Secondary text on a folder tab4.5:16.5:1 passes8.7:1 passes
Labels and meta on a card4.5:16.0:1 passes6.6:1 passes
Labels and meta on canvas4.5:15.3:1 passes7.1:1 passes
Labels and meta on a well4.5:15.1:1 passes5.9:1 passes
Labels on a table header4.5:15.7:1 passes6.9:1 passes
Status: done4.5:16.5:1 passes9.2:1 passes
Status: waiting4.5:16.4:1 passes8.6:1 passes
Status: new4.5:17.0:1 passes8.1:1 passes
Status: needs you now4.5:16.5:1 passes7.9:1 passes
“Not found” on a card4.5:16.6:1 passes5.8:1 passes
“Not found” on a well4.5:15.6:1 passes5.1:1 passes
Primary button label4.5:118.1:1 passes16.0:1 passes
Primary button label, hovered4.5:114.7:1 passes18.1:1 passes
Danger button label4.5:16.6:1 passes5.9:1 passes
Danger button label, hovered4.5:17.8:1 passes9.2:1 passes
Top-bar item at rest4.5:17.2:1 passes7.8:1 passes
Top-bar item on the glow4.5:15.0:1 passes5.0:1 passes
Top-bar item, current4.5:118.1:1 passes19.7:1 passes
Hero label on the glow4.5:17.6:1 passes7.6:1 passes
Hero note on the glow4.5:15.6:1 passes5.6:1 passes
Avatar initials4.5:112.1:1 passes12.1:1 passes
Input border on a card3:13.8:1 passes4.9:1 passes
Input border on canvas3:13.4:1 passes5.2:1 passes
Selected outline on a well3:13.2:1 passes4.3:1 passes
Focus ring on canvas3:16.1:1 passes4.8:1 passes
Focus ring on a card3:16.8:1 passes4.5:1 passes
Focus ring on a well3:15.8:1 passes4.0:1 passes
Focus ring on dark surfaces3:112.7:1 passes12.7:1 passes
Status dot: done3:14.4:1 passes6.3:1 passes
Status dot: waiting3:13.7:1 passes6.3:1 passes
Status dot: new3:15.6:1 passes4.0:1 passes
Status dot: needs you now3:15.5:1 passes5.1:1 passes
Data bar on its track3:113.9:1 passes11.9:1 passes
Sun mark on the top bar3:13.2:1 passes3.5:1 passes

Type and shape

DM Sans for everything on screen. Gambarino is for the wordmark only. Everything you click is a pill; boxes that hold things have small, even corners.

Type scale

Page title28px
Body text16px
Row text15px
Controls and tables14px
Meta13px
Labels12px

Corners and shadows

r-sm · 8px
r-md · 12px
r-lg · 14px
r-pill · 999px
shadow-card
shadow-pop
shadow-hero

Motion

Pick a duration by the job, not the speed. Glide is the default curve: a fast start and a long, soft landing. All of it stops for anyone who has asked their device to reduce motion.

Each bar grows over its own duration, on the glide curve

Durations

--nrv-dur-quick120ms · hover and press colour
--nrv-dur-fast180ms · popovers, menus, toasts arriving
--nrv-dur-base220ms · panes and fades
--nrv-dur-slow320ms · content rising into place
--nrv-dur-morph500ms · a thing changing shape or size
--nrv-dur-data700ms · bars and meters growing to a value
--nrv-dur-build900ms · pieces landing to build a layout
--nrv-dur-pass4.8s · one pass of the scan line, top to bottom
Named for the job each one does

Curves and presets

--nrv-ease-glide
fast start, long soft landing: the default
--nrv-ease-settle
pieces landing in a layout
--nrv-ease-sweep
a scan or wipe crossing the screen
animate-riseContent arriving: a list, a card, a section.
animate-popSomething appearing over the page: menu, popover, dialog, toast.
animate-fadeOne pane replacing another.
animate-landA piece dropping onto a layout being built.
animate-workinganimate-breatheanimate-blink

Components

Each one says when to use it. Add a component here, with its rule and an example, before styling something by hand in a project.

Button

npx shadcn@latest add @nrv/button

One primary per screen: the thing the screen is for. Labels are verbs that say what happens. A disabled button always has a line nearby saying what is missing. Danger is only for the last step of something that cannot be undone, inside a confirmation.

A link, styled as a button
Add the signed scope to record this client.
Busy: press it. The spinner shows it is running and the label says what is happening.
Small, and icon-only. An icon button must be given a label.
On a dark surface they adapt on their own.
Danger: the confirming button for something that cannot be undone.

Kbd

npx shadcn@latest add @nrv/kbd

A key hint. It is decorative, so the shortcut must also work without reading it.

Press to search

StatusPill

npx shadcn@latest add @nrv/status-pill

A dot, a word, a quiet tint. The word carries the meaning; colour only helps. Neutral is on track, done is finished, waiting is waiting on someone, new is unread, alert needs you now.

On trackAcceptedWaiting on clientNewOverdue

Chip

npx shadcn@latest add @nrv/chip

States a fact about a record. It never changes colour; if it needs to, it is a StatusPill.

Sample dataScope v1

Card, HeroCard and Well

npx shadcn@latest add @nrv/card

A Card groups one subject. The dark HeroCard appears at most once per screen and holds the numbers the screen exists to move. A Well is context that is not a task. CardSection rules off a part of a card, and CardNote is the quiet line at its foot.

Sample data

This week

2 to review
Reports go out on Friday. Nothing is blocked.
Sample data

Pipeline

Last 30 days
The one dark card on the screen.
Sample data

Work log

Service page published

Mar 12

A CardSection is ruled off from what is above it.

Brief approved

Mar 4

Use one for each entry in a history.

A CardNote is the quiet line at the foot: a caveat, or where the numbers came from.

StatStrip and Stat

npx shadcn@latest add @nrv/stat

Up to four numbers in one strip, inside a Card or HeroCard. Every number says what it measures in the note underneath. What was not measured is shown as not measured, never as zero.

Sample: open proposals
12
3 more than last month
Sample: signed
4
clients this quarter
Sample: next review
Friday
monthly results
Sample: pages audited
148
of 148 found
Sample: issues
9
lower is stronger
Sample: load time
Not measured
no field data yet

Mark

npx shadcn@latest add @nrv/mark

The sun and the tool's name in the logo serif. For internal tools only: clients see the studio's own logo. It takes its colour from where it sits.

TopBar

npx shadcn@latest add @nrv/top-bar

The dark bar across the top of every tool, for its main places only: where am I, and where can I go. The current place is the white pill. The right-hand side holds search and the account. Links to sections of a page go in a SubNav underneath.

Page, PageHeader and Toolbar

npx shadcn@latest add @nrv/page

Page is the column every screen sits in. PageHeader says where you are: the trail, the title, one line on what the page is for, and at most one primary button. Toolbar is the row of controls above a list.

Sample: Harbour Dental

One line on what this page is for, so nobody has to guess.

What to show goes on the leftSearch or hints go on the right

Row

npx shadcn@latest add @nrv/row

One piece of repeated work: status and source, the title, one line of context, one action. A list of repeated work is Rows inside a Card, never a grid of cards.

OverdueSample: Harbour Dental

Write the March service page

Due last Friday. The brief is approved.

Waiting on clientSample: Northside Vets

Approve the new homepage

Sent four days ago.

PreviewCard

npx shadcn@latest add @nrv/preview-card

Something collected that is best recognised by how it looks: a style kit, a template, a captured page. A picture, its name and where it came from, its colours and a count, then one or two actions. For a document you open, use FolderCard; for a list of work, Rows.

Empty kit

Sample: empty kit

Nothing collected yet
0 sources · 0 components

Swatches

npx shadcn@latest add @nrv/swatches

A few colours as overlapping circles, to sum up a palette at a glance. They are decoration beside words, never the only way a colour is named: say what they are in the label.

Background, text and accentFive colours

FolderCard

npx shadcn@latest add @nrv/folder-card

Something you open: a report, an engagement, a frozen document. Never for a number or a task. The selected folder is the one that is open.

Sample documentSigned scopeFrozen. This one is not a button.Scope v1

FolderTabs

npx shadcn@latest add @nrv/folder-tabs

A record page as a folder: its parts are the tabs and the open part is the page below. Use it for one record’s parts, never to switch between lists. A count shows only when something there needs you.

SampleThe overview part

The open part is the page below the tabs

Arrow keys move between tabs. Each part fades in as it replaces the last.

Segmented

npx shadcn@latest add @nrv/segmented

Switches between views of the same thing. It never changes data. Track is the compact control for a toolbar. Tabs is the underlined row for the top of a page, when the views are what the page is about.

Track, in a toolbar
Tabs, at the top of a page

Sample: the clients list would show here.

OptionPills

npx shadcn@latest add @nrv/option-pills

Picks one short value in a form. The selected one is solid. With multiple, any number can be on, and each one that is on gets a tick.

PickRow

npx shadcn@latest add @nrv/pick-row

Picks one item from a few. Card is for a choice that needs a line of explanation. Plain is the ordinary radio, for a short list inside a form.

Card, when each choice needs a line
Plain, for a short list in a form

TierCards and TierCard

npx shadcn@latest add @nrv/tier-card

Chooses a package by what it commits the studio to, not by a feature list. Each line is something owed, with its quantity.

StepCard

npx shadcn@latest add @nrv/step-card

One question in a guided form, numbered in the order people think about it.

Who is this for?

The business the report is about.

TextField and TextArea

npx shadcn@latest add @nrv/text-field

Every input has a label. Placeholder text is a hint, never the label. Help and validation go in the line underneath, and an error says how to fix it. SearchField is the search box for a list.

Before tax.
Clients never see this.
Add the part after the dot, such as .com.
  • Harbour Dental
  • Northside Vets
  • Quay Street Legal
  • Ridgeline Fitness
Type part of a name and press Enter.

Checkbox

npx shadcn@latest add @nrv/checkbox

A tick for a yes-or-no that the person confirms. The whole row is the target. Not for choosing one of several: use option pills or pick rows.

DefinitionList

npx shadcn@latest add @nrv/definition-list

Reads a decision back before it is committed: what will run, what will be created.

Sample client
Harbour Dental
Package
Grow, $5,500 a month
First report
Friday 3 April
Ruled
For a side panel
Pages
148
Issues
9
Grid: width
1440px
Heading
72px
Line height
1.02
Spacing
96px

Progress

npx shadcn@latest add @nrv/progress

Progress of something that is running. Always say in words what is being counted.

Sample: 12 of 40 pages checked

Pager

npx shadcn@latest add @nrv/pager

Moves through a long list a page at a time. It renders nothing when there is only one page.

Notice

npx shadcn@latest add @nrv/notice

A message about what just happened or what is wrong. Errors are announced immediately; everything else politely. The strip runs the full width, for a message about the whole page.

Report sent to the client.

Select and SelectField

npx shadcn@latest add @nrv/select

Picks one value from a list too long for option pills, more than five or so. SelectField adds the same label and hint as a text field, so forms line up.

Used to pick comparison sites.
Set by the package. Change the package to change this.

Combobox

npx shadcn@latest add @nrv/combobox

Picks one value from a list long enough to need searching: clients, pages, people. When the search matches nothing, it says so.

Try typing “gym” or “tax”: it matches more than the name.

DatePicker and Calendar

npx shadcn@latest add @nrv/date-picker

A labelled field that opens a month of days. Use it when the day of the week matters. For a date someone knows by heart, a typed field is faster.

Reports go out on this day each month.

Switch

npx shadcn@latest add @nrv/switch

Turns a setting on or off, and it takes effect straight away. If nothing happens until a button is pressed, use a Checkbox. The label names the setting, not the action.

Table

npx shadcn@latest add @nrv/table

Rows of the same kind of thing, compared column by column. Every heading says what it measures. Figures are right-aligned so they line up. For work someone has to act on, use Rows.

Sample pageStatusVisits, last 30 daysLoad time, seconds
Emergency dentistLive1,2841.4
Teeth whiteningTo review3122.1
Children’s dentistryDraftNot measuredNot measured

Dialog

npx shadcn@latest add @nrv/dialog

A task that needs full attention before going on: a short form, a decision. The page behind is dimmed. Every dialog has a title, and at most one primary button, which comes last.

AlertDialog

npx shadcn@latest add @nrv/alert-dialog

Asks before something that cannot be undone. There is no cross and pressing outside does nothing: the person has to choose. The action button says what will happen, never OK, and takes the danger colour when it deletes.

Nothing deleted. This is a sample.

Sheet

npx shadcn@latest add @nrv/sheet

A panel that slides in from an edge, for detail that belongs beside the page: one record, filters, an inspector. From the right on a desktop, from the bottom on a phone.

Popover

npx shadcn@latest add @nrv/popover

A small panel attached to the control that opened it, for a few related settings. The page stays usable. For a list of actions use a DropdownMenu; for a hint, a Tooltip.

Tooltip

npx shadcn@latest add @nrv/tooltip

A few words that name a control or spell out an abbreviation, on hover and on keyboard focus. Never the only place something is said: a phone has no hover.

Sample score: 42

Toast

npx shadcn@latest add @nrv/toast

Confirms something that just happened, then leaves on its own. Because it leaves, it never carries anything the person must act on: an error that needs fixing is a Notice.

Skeleton

npx shadcn@latest add @nrv/skeleton

Holds the place of content that is on its way, in roughly its shape, so the page does not jump when it arrives. Use the spinner (animate-working) for an action in progress, not for a page.

FormGrid and Field

npx shadcn@latest add @nrv/form

FormGrid lays a form out two across, and one across on a phone; while the form saves, disable it and every control goes quiet at once. Field gives a visible label to a control that has none of its own, such as a set of option pills.

Categories
Pick any that apply.

Actions

npx shadcn@latest add @nrv/actions

A group of buttons that belong together: the end of a form, the right of a card header or a row. They wrap when there is no room, and the primary button comes last.

To review

Sample: March results

A row with more than one action wraps them in Actions.

Section, CardGrid and Split

npx shadcn@latest add @nrv/section

Section is a titled part of a page outside a card. CardGrid lays cards out in as many equal columns as fit. Split puts the work on the left and a narrower panel that stays in view on the right.

Sample: open reports

2 reports
A card in the grid.
Another card.

SideNav

npx shadcn@latest add @nrv/side-nav

For a page with many sections of its own, such as settings: the sections listed down the left, staying in view, with the open one beside them. On a phone the list folds into one line. Use it when there are too many sections for a SubNav.

Team

Team

The open section goes here.

Disclosure

npx shadcn@latest add @nrv/disclosure

A heading that opens to show more: options most people leave alone, notes, the detail behind a summary. Never hide something a person must read or fill in to finish the task.

Capture options
Wait two seconds before capturing, and capture with scripts turned off.
Notes on this kit
The ruled kind, for sections that follow one another.
Sources
One source page, captured in March.

EmptyState

npx shadcn@latest add @nrv/empty-state

What a list, a board or a search shows when there is nothing in it. Say what would be here and give the one action that makes the first one. Nothing found is different from nothing yet: write the one that is true.

No style kits yet

A kit holds the layouts, type and motion you want to design from.

No client matches that search

Check the spelling, or clear the search to see everyone.

InlineConfirm

npx shadcn@latest add @nrv/inline-confirm

Asks before a small removal, in place, where the thing is. Focus starts on the safe choice. For something that cannot be undone, use an AlertDialog.

FileDrop

npx shadcn@latest add @nrv/file-drop

Takes files by dropping them on it or by choosing them. The button is the real control, so it works by keyboard and on a phone. Say what kinds and sizes are allowed.

Add a screenshot
PNG, JPEG or WebP. Nothing is sent anywhere in this sample.
or drop it here

Slider

npx shadcn@latest add @nrv/slider

Picks a number from a range by feel, when seeing the result change matters more than the exact figure. The current value is always written beside the label.

BarList

npx shadcn@latest add @nrv/bar-list

A short list compared by one number. The number is always written; the bar only helps the eye compare. Bars are neutral ink, never a status colour.

  • Sample: emergency dentist1,284 visits
  • Sample: teeth whitening312 visits
  • Sample: children's dentistry96 visits
  • Sample: structure82 of 100
  • Sample: content54 of 100

CodeBlock

npx shadcn@latest add @nrv/code-block

Text that is meant to be copied or read exactly: a command, a snippet. Long lines scroll sideways, and it has its own copy button.

npx shadcn@latest add @nrv/base
npx shadcn@latest add @nrv/button

CopyButton

npx shadcn@latest add @nrv/copy-button

Copies a piece of text and says so on the button itself. Name what is copied in the label.

Avatar

npx shadcn@latest add @nrv/avatar

Initials or a picture beside a name, in a table or at the top of a panel. It is decoration: the name is always written next to it.

Sample: Harbour Dental Sample: Northside Vets

LineChart

npx shadcn@latest add @nrv/line-chart

One measurement over time. There is one series, so the card's title names it and there is no legend. Every point can be reached by keyboard and says its value and when. Put the same figures in a table nearby, and say in the note if the points are not daily.

Sample data

Visits a month

Sample data. The line joins five monthly counts; it is not a daily measurement.

Tree

npx shadcn@latest add @nrv/tree

Things that sit inside other things, as an outline you can open and close: the parts of a page, folders, a hierarchy. One item is selected at a time. Arrow keys move through it.

  • PageHomepage
    • SectionHero
      • HeadingA calmer visit to the dentist
      • ButtonBook a visit
    • SectionServices

Selected: hero. Click an item, or focus the tree and use the arrow keys.

Thread, Message and Composer

npx shadcn@latest add @nrv/thread

A conversation, newest at the bottom, with a box underneath for the next message. For talking with a model or leaving notes on a piece of work. Show a Thinking line while a reply is on its way.

Designer
I read the audit. The homepage buries the booking button. Shall I lead with it?
You
Yes, and keep the opening hours near the top.

WorkingStage

npx shadcn@latest add @nrv/working-stage

Shows that something is being made while the person waits. A red line passes down the stage, wiping one figure away and drawing the next, and beside it the job’s real steps are ticked off as they finish. For work long enough to watch, once per screen. It has a button to pause the motion, and holds still when the device asks for reduced motion.

Sample: homepage assembly

Studying the saved kit

  1. Reading the prospect audit (done)
  2. Studying the saved kit (in progress)
  3. Composing the homepage
  4. Checking layout and audit coverage
Working draftSample kit · 4 visual references

Thinking

npx shadcn@latest add @nrv/thinking

Three dots and a few words, for work with no known end that takes more than a moment. The words say what is being done and change as it moves on. For a button’s own action use busy; for a loading page, a Skeleton.

Reading the prospect audit
Studying the saved kit

StepList

npx shadcn@latest add @nrv/step-list

The steps of a job that is running, ticked off as they finish, so a wait has a shape. Use the real steps the job reports, never invented ones. For where a person is in a sequence they move through themselves, use Steps.

  1. Reading the prospect audit (done)
  2. Studying the saved kit (done)
  3. Composing the homepage (in progress)
  4. Checking layout and audit coverage

Steps

npx shadcn@latest add @nrv/steps

Where someone is in a fixed sequence that is always done in the same order. Finished steps can be links back; later steps cannot be reached yet. For views that open in any order, use Segmented.

PreviewFrame

npx shadcn@latest add @nrv/preview-frame

Shows a page at the width it was designed for, scaled to fit where it sits. Change the width and it glides to the new size, so desktop and phone read as one page changing shape.

sample.example / homepage1440px

Workspace and RailSection

npx shadcn@latest add @nrv/workspace

A tool laid out around the thing being worked on: the work in the middle, what you can pick from on the left, details of what is selected on the right. Each part scrolls on its own. Either rail can be left out.

The work

Sample: homepage hero

The thing being worked on stays put while either rail is read.