Component
Button
One component, its variants and their order of importance
Loads from storybook.nortly.app
Design systemPolar 0.2
Polar looks and behaves like the admin app owners already work in every day, so a new Nortly screen feels familiar the first time it opens. One brand color, Pine. One light theme. Every value comes from a token.
The four principles on the home page, applied to interfaces. Brand and Motion have rules of their own; these are the ones every screen follows. Read the principles
Spacing, type, motion and behavior feel like the admin app owners already use. The brand color and the details are ours.
Colors, sizes, shadows and timings come from named tokens. Nobody types a color code or a pixel value by hand.
Pine marks the one action nobody should miss. Everything else is secondary or plain, so the eye finds the next step at once.
Hover, focus, errors, loading and empty states come with each component, so nobody draws them again for each screen.
This site explains why and when. Storybook shows how. Both read from one package, @nortly/polar, so a guideline and the code it describes never drift apart.
Guidelines for designers: the rules, the foundations, and which part fits which task.
Technical docs for developers: props, code, live playground, tests and an MCP server for coding agents.
Made for every Nortly interface
The decisions every component is built on. Each card says what the foundation is for and where its detail lives: the tokens file, Storybook, or another page of this site.
Pine for actions, blue for links and focus, tone colors for status. Each color has one job.
Inter for every interface: eleven type styles, 11 to 36 px, four weights.
Rest, hover, pressed, focus, disabled and loading look the same in every control.
A token names a decision, not a value. Pick a color token to see where it appears on a real screen.
--polar-color-bg-fill-brand
#1A7F55
Pine fill. The one primary action on a screen, checked controls and progress.
Used by components such as
Fills use Pine 600 so white text on them stays readable; hover and pressed step darker. The logo keeps Pine 500.
Every token in one file, in the W3C design tokens format: colors, spacing, type, radii, shadows and motion. Import it into Figma Variables or Tokens Studio. The file is rebuilt from Polar 0.2 with every release of this site, so your file and the code agree.
Components are grouped by what people want to do, not by how they look. Find the family for the task first, then the component inside it.
The things people press to do something. One primary action per screen at most; everything else is secondary or plain.
Everything people type, pick or upload. Every field has a visible label, help where needed and its error right under it.
What happened and what is happening: status, messages and progress. Loading is built into components, so a page waits in its final layout.
Content on top of the page. Use one only when the task must interrupt; otherwise keep it in the page.
Moving between apps, pages and views. The app frame owns the main navigation; a page adds tabs or steps only for its own views.
Showing information: text, tables, lists and tags. Pick by task: a table to compare and act on rows, a list to scan.
Arranging a page: page structure, cards, stacks and grids. Spacing comes from the layout parts, never from margins added by hand.
Icons, avatars, thumbnails and images, each with a fixed set of sizes and a text alternative.
The header and footer of Nortly websites, with signed-out, loading and signed-in states.
Trends and numbers at a glance. Every chart carries a data table for screen readers and draws its own loading state.
The assistant in every app: a chat panel, streaming answers, the steps it took and its sources. Actions it proposes wait for approval.
Every component, with its states, props and code.
A pattern solves one recurring problem with several components. A page type is a whole page; each has variants in Storybook with a note on when to choose which. Start a new screen from a page type, not from a blank canvas.
The frame every app shares: top bar with search and the assistant, navigation, account menu and notifications.
How a page waits for data: skeletons in the final layout, never a spinner in place of content.
The settings layer and its sections: forms, team, keys, plan, notifications.
Three examples, one per level of the system: a component, a pattern and a page type. They run the same code the products ship and load from Storybook only when you ask.
Component
One component, its variants and their order of importance
Loads from storybook.nortly.app
Pattern
One block in every state: loaded, waiting for data (skeletons in the final layout), empty and failed
Loads from storybook.nortly.app
Page type
A whole page inside the app frame, built only from Polar parts
Loads from storybook.nortly.app
There is no separate design library to keep in sync. The code is the source; this site and the tokens file are how designers read it.
Pick the page type and variant that fits the task. Most screens need no new layout.
Use token names, never raw values. Import the tokens file into your design tool so your file and the code agree.
Name the page type and the components. Developers find the same names in Storybook.
If nothing fits, describe the problem before drawing a new part. A new part is added to Polar first, then used by products.
Send the Polar team your answers to four questions. The team checks whether an existing part or pattern already solves it, and if not, builds the new part in Polar with its guideline, so every product gets it at once.