A design system

The same light,
through clearer glass.

A parhelion is the second sun that stands beside the first when its light bends through ice in the air. Nothing is added to the sky. Parhelion does the same for an interface: the HTML and CSS a browser already understands, bent into something that feels made.

Emails sent 4,600 / 10,000
Robins 2,100 Avery 1,600 ops 900
Resets Dec 1
  1. ✓Connect
  2. 2Verify
  3. 3Send
3 Needs you · 19 Found Not found yet Running Paused

Nothing here is a picture. These are the system’s own examples, in the palette you choose above.

Philosophy

Six things it holds to.

  1. A component is a word.

    Write btn on a button and it is one. A component is a name, its parts and its modifiers, as classes, and nothing else. What a helper draws is what a person would have written by hand, so the system stands with no framework beneath it.

  2. A state is said once.

    What changes is an attribute the platform already has: open, aria-current, checked. The stylesheet, the script and a screen reader all read the same fact. None of them keeps a copy that can fall out of step.

  3. The browser goes first.

    A dialog is a dialog. A menu is a details element. A page change is the browser’s own transition. Script is written only for what an element, an attribute or a stylesheet cannot do, and then it listens to the page and wires nothing.

  4. There is one light.

    Every surface is glass, lit by one palette. No component owns a colour, so none has a dark variant: change the palette or turn to night, and the whole page turns with it.

  5. A phone is not a small desk.

    Columns become one pane at a time. A dialog becomes a sheet under the thumb. What floats makes way for the keyboard. Each is designed for the hand that will use it, not shrunk to fit.

  6. Movement means something.

    What arrives is washed in, so it is seen. What leaves folds away, and leaves faster than it came. Nothing moves to be admired, and everything holds still for anyone who asks it to.

Palettes

6 places, by day and by night.

A palette is one attribute on the root, and night is one class. Every component reads the same few tokens, so a new palette is a few lines and no component is touched. Choose one, and this page is redrawn in it at once.

Inspiration

What it learned from.

DaisyUI

For the idea at the centre: a component library can be a vocabulary, not a framework. A handful of class names over Tailwind, and the utilities beside them still win.

The platform

For dialog, details, popover, view transitions, :has and @starting-style. Years of careful work that most systems still rebuild in script. We would rather stand on it.

The phone’s own apps

For panes that slide the way a thumb expects, sheets that rise from the foot, and the feeling that an interface is made of things with weight.

The printed page

For a display face used sparingly, a measure that can be read, and the discipline of saying a thing once, plainly, where it will be found.

Craft

It cannot say what is not so.

Every class is named in its component’s manifest, with what it does. Every page of the documentation is drawn from those manifests and from the examples beside them, so the two cannot drift apart. Every example that does something is driven in a real browser by the tests, as a person would use it.

Components
36
Classes
740
Examples
215
Read the documentation For the people of Walkthrough, signed in with Google.

Made with care at Walkthrough.