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.
"registries": { "@nrv": "https://ui.narova.dev/r/{name}.json" }npx shadcn@latest add @nrv/baseColour
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
Lines
Ink
The primary action
Surfaces that are dark in both themes
Brand and status
Contrast contract
| Pairing | Needs | Light | Dark |
|---|---|---|---|
| Body text on canvas | 4.5:1 | 16.3:1 passes | 16.7:1 passes |
| Body text on a card | 4.5:1 | 18.1:1 passes | 15.5:1 passes |
| Secondary text on a well | 4.5:1 | 6.7:1 passes | 9.2:1 passes |
| Secondary text on a folder tab | 4.5:1 | 6.5:1 passes | 8.7:1 passes |
| Labels and meta on a card | 4.5:1 | 6.0:1 passes | 6.6:1 passes |
| Labels and meta on canvas | 4.5:1 | 5.3:1 passes | 7.1:1 passes |
| Labels and meta on a well | 4.5:1 | 5.1:1 passes | 5.9:1 passes |
| Labels on a table header | 4.5:1 | 5.7:1 passes | 6.9:1 passes |
| Status: done | 4.5:1 | 6.5:1 passes | 9.2:1 passes |
| Status: waiting | 4.5:1 | 6.4:1 passes | 8.6:1 passes |
| Status: new | 4.5:1 | 7.0:1 passes | 8.1:1 passes |
| Status: needs you now | 4.5:1 | 6.5:1 passes | 7.9:1 passes |
| “Not found” on a card | 4.5:1 | 6.6:1 passes | 5.8:1 passes |
| “Not found” on a well | 4.5:1 | 5.6:1 passes | 5.1:1 passes |
| Primary button label | 4.5:1 | 18.1:1 passes | 16.0:1 passes |
| Primary button label, hovered | 4.5:1 | 14.7:1 passes | 18.1:1 passes |
| Danger button label | 4.5:1 | 6.6:1 passes | 5.9:1 passes |
| Danger button label, hovered | 4.5:1 | 7.8:1 passes | 9.2:1 passes |
| Top-bar item at rest | 4.5:1 | 7.2:1 passes | 7.8:1 passes |
| Top-bar item on the glow | 4.5:1 | 5.0:1 passes | 5.0:1 passes |
| Top-bar item, current | 4.5:1 | 18.1:1 passes | 19.7:1 passes |
| Hero label on the glow | 4.5:1 | 7.6:1 passes | 7.6:1 passes |
| Hero note on the glow | 4.5:1 | 5.6:1 passes | 5.6:1 passes |
| Avatar initials | 4.5:1 | 12.1:1 passes | 12.1:1 passes |
| Input border on a card | 3:1 | 3.8:1 passes | 4.9:1 passes |
| Input border on canvas | 3:1 | 3.4:1 passes | 5.2:1 passes |
| Selected outline on a well | 3:1 | 3.2:1 passes | 4.3:1 passes |
| Focus ring on canvas | 3:1 | 6.1:1 passes | 4.8:1 passes |
| Focus ring on a card | 3:1 | 6.8:1 passes | 4.5:1 passes |
| Focus ring on a well | 3:1 | 5.8:1 passes | 4.0:1 passes |
| Focus ring on dark surfaces | 3:1 | 12.7:1 passes | 12.7:1 passes |
| Status dot: done | 3:1 | 4.4:1 passes | 6.3:1 passes |
| Status dot: waiting | 3:1 | 3.7:1 passes | 6.3:1 passes |
| Status dot: new | 3:1 | 5.6:1 passes | 4.0:1 passes |
| Status dot: needs you now | 3:1 | 5.5:1 passes | 5.1:1 passes |
| Data bar on its track | 3:1 | 13.9:1 passes | 11.9:1 passes |
| Sun mark on the top bar | 3:1 | 3.2:1 passes | 3.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
Corners and shadows
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.
Durations
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
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.
Kbd
A key hint. It is decorative, so the shortcut must also work without reading it.
StatusPill
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.
Chip
States a fact about a record. It never changes colour; if it needs to, it is a StatusPill.
Card, HeroCard and Well
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.
This week
Pipeline
Work log
Service page published
Mar 12A CardSection is ruled off from what is above it.
Brief approved
Mar 4Use one for each entry in a history.
StatStrip and 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.
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
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
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.
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.
Write the March service page
Due last Friday. The brief is approved.
Approve the new homepage
Sent four days ago.
PreviewCard
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.
Sample: platform launch
Sample: empty kit
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.
FolderCard
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.
FolderTabs
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.
The open part is the page below the tabs
Arrow keys move between tabs. Each part fades in as it replaces the last.
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.
Sample: the clients list would show here.
OptionPills
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
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.
TierCards and TierCard
Chooses a package by what it commits the studio to, not by a feature list. Each line is something owed, with its quantity.
StepCard
One question in a guided form, numbered in the order people think about it.
Who is this for?
TextField and TextArea
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.
- Harbour Dental
- Northside Vets
- Quay Street Legal
- Ridgeline Fitness
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
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
Progress of something that is running. Always say in words what is being counted.
Pager
Moves through a long list a page at a time. It renders nothing when there is only one page.
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.
Select and SelectField
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.
Combobox
Picks one value from a list long enough to need searching: clients, pages, people. When the search matches nothing, it says so.
DatePicker and Calendar
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.
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
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 page | Status | Visits, last 30 days | Load time, seconds |
|---|---|---|---|
| Emergency dentist | Live | 1,284 | 1.4 |
| Teeth whitening | To review | 312 | 2.1 |
| Children’s dentistry | Draft | Not measured | Not measured |
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
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.
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
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
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.
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
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
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.
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.
Sample: March results
A row with more than one action wraps them in Actions.
Section, CardGrid and Split
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
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
Notes on this kit
Sources
EmptyState
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
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
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.
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
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
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/buttonTextLink and Highlight
A link inside a sentence or a table cell is always underlined, so it can be told from the text without relying on colour. Highlight marks the part of a text that matched a search.
The report is ready to review in the studio, and the source page is at sample.example/services (opens in a new tab).
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.
LineChart
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.
Visits a month
Sample data. The line joins five monthly counts; it is not a daily measurement.
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
- SectionNavigation
- 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
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.
WorkingStage
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.
Studying the saved kit
- Reading the prospect audit (done)
- Studying the saved kit (in progress)
- Composing the homepage
- Checking layout and audit coverage
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.
StepList
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.
- Reading the prospect audit (done)
- Studying the saved kit (done)
- Composing the homepage (in progress)
- Checking layout and audit coverage
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
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.
Workspace and RailSection
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.