A UI inspired by Swiss design

Bottom bar

Now

Field notes: twelve months of small projects set in a single typeface, and what that taught me about restraint

Compo­nents

Every component in the kit on one page, grouped by what it does, with the groups and what is in them A to Z. There is no code to copy: your agent reads the markup from the kit's docs.

01–03

Buttons

  • 01

    Primary button

    .btn, .btn-group, data-tip, .ext-arrow

    The one filled button, for the single main action of a view. Hover deepens it with a little ink. In a group it comes first, with secondary buttons after it.

    On its own

    In a group

    With a hover label: hover or tab to it

    To another site: the font’s ↗ after the label

    Get it on npm
  • 02

    Secondary button

    .btn-outline, .btn-group, data-tip, .ext-arrow

    Every other action beside the primary one, at the same size: presets that fill a form, Choose…, Open in Finder. Outlined, filled on hover.

    On its own

    In a group

    With a hover label: hover or tab to it

    To another site: the font’s ↗ after the label

    Source on GitHub
  • 03

    Tertiary button

    .btn-outline--tertiary

    A quieter secondary button, for an action repeated many times on a page, such as the button on each card. Medium weight and a size smaller, in the same box.

    On its own

    In a group

    With a hover label: hover or tab to it

04

Calls to action

  • 04

    CTA

    .cta

    One thing to go and look at, with the primary button. Home has one under the hero.

    Featured

    Field notes

    A short essay on working with a single typeface.

    Read it

05

Cards

  • 05

    Card grid

    .card-grid, .card

    A few linked things. Four cards sit two across from 768px and stack on a phone; three sit three across from 1024px. Home has it under Reading.

    • 01

      Type and color

      Every type style and every color token the kit offers, with each token's light and dark values and its contrast ratio. Drawn with the kit's own classes.

      • Type
      • Color
      Read this
    • 02

      Field notes

      A short essay on working with a single typeface, from notes kept over a year of small projects. What one family can carry when weight and size do all the work.

      • Writing
      Read this
    • 03

      Why one typeface is enough

      A site set in a single grotesque, at two weights, has fewer decisions to get wrong and a clearer voice. Here is what the constraint buys.

      • Type
      Read this
    • 04

      Notes on vermilion and azure

      The kit offers two accents, one warm and one cool. Why each one, and why a site only ever uses one of them.

      • Color
      Read this

06–10

Feedback

  • 06

    Activity indicators

    .eq, .spinner

    The equalizer marks what is playing now; the spinner says something is loading.

    Now playing

  • 07

    Dialog

    .dialog, <dialog>

    The browser's own modal dialog: the page behind goes still, Escape or a click outside closes it, and focus comes back here. For a choice that needs an answer before going on.

    Delete this export?

    The 8 files saved on October 1 go with it. This can't be undone.

  • 08

    Icon actions

    .icon-row, .icon-btn

    Icon-only links and buttons under a list item, one color, the accent on hover.

  • 09

    Output panel

    .output, .output-log

    A task's live output: a status beside the heading, a spinner while it runs, and the log in a dark block that scrolls. See it run on Forms.

    Output

    Finished

    $ export 2026-10-01 2026-10-15
    Saved exports/2026-10-01-item-01.jpg
    Saved exports/2026-10-01-item-02.jpg
    Saved exports/2026-10-01-item-03.jpg
    Skipped notes.txt: not an image
  • 10

    Toast

    .toast

    A one-line confirmation at the bottom left, gone after a few seconds.

11–16

Forms

  • 11

    Date and time

    .field, type="date", "time"

    The browser's own date and time inputs as fields, with their calendar and clock. The format follows the visitor's settings.

  • 12

    Field

    .field, .field-label

    An underline in large type, no box. A required field gets the flower mark after its label.

    Required

  • 13

    File picker

    .file-pick, .file-pick-name

    A field that shows the chosen file's name, with a Choose… button. The browser's own file input does the work underneath.

    No file chosen
  • 14

    Radio

    .choice-group, .radio

    One choice from two to five, all in view. The arrow keys move the choice.

    Format
  • 15

    Select

    .select-wrap, .select

    A field that picks one item from a list, with a chevron at its end.

  • 16

    Switch

    .choice, .switch

    On or off for a setting. On fills with the accent.

17–23

Lists

  • 17

    Closing note

    .closing-note

    A bold rule that ends a list, over one quiet line about it.

    Kept on this device only.

  • 18

    Dated list

    .dated-list

    What a site can do and when each part arrived, newest first. These are the latest three.

    1. A check for your site against the kit’s rules

      `npx swiss-minimal-check` comes with the kit. It reads your site’s source and lists each place that breaks a rule, with its file and line: a shadow, a weight the kit doesn’t use, text under its smallest size, a color from outside the kit, a hidden focus ring. Your agent fixes what it finds and runs it again until nothing fails. It needs only Node, and it doesn’t replace looking at the pages or the accessibility tests.

    2. Colored commands and prompts

      The command that installs the skill, and the other commands in the demo’s terminal blocks, are colored with the kit’s code colors, like the code on Beautiful Code: the prompt muted, the program, its flags and the names it takes each in their own color. The prompt to copy into your agent takes a lighter touch of the same colors, and Copy prompt is now the filled primary button.

    3. The home page shows how to prompt your agent

      The home page now follows the same three steps as Agentic Driven Development: install the skill, describe your site, check the result. “Use it with your agent” starts with the command that installs the skill, then the prompt to copy, then “Keep prompting in plain words”: four example prompts, beside the components the agent builds for each.

  • 19

    Favorite star

    .fav-btn

    Saves an item on this device. This star and the one beside Field notes on the Work page are the same.

    Field notes

  • 20

    Filter chips

    .chip-group, .chip

    Outlined buttons that narrow a list to one category. The pressed one fills.

  • 21

    List row

    .row, .row-arrow

    Numbered rows. A linked title is underlined, and an arrow in an accent circle can link to the same place. The row fills while its link is hovered or focused, never for the rest of it; plain text stays still. The active one stays filled, with an edge on its left.

  • 22

    Note row

    .row--note, .row-body

    A dated list row that is read where it is: a title, then a paragraph, a list or a few lines of code. The date takes the number's place. It never fills, so a link in a note is an ordinary link.

    • Container queries for the card grid

      CSS

      The card grid used to switch columns at the page's breakpoints, so a grid in a narrow column switched too late. Asking the container instead fixes it in four lines.

      .card-grid { container-type: inline-size; }
      @container (min-width: 40rem) {
        .card-grid { grid-template-columns: repeat(2, 1fr); }
      }
    • What to look at before a release

      Process

      The tests catch most of it. These still need a person:

      • Both themes at 375px, where long words wrap first.
      • Every filled row, in each accent.
      • Keyboard focus through the menu and back out.
    • On line length

      Text in a note stops at 42rem, about 70 characters, even when the row is wider. The card grid note shows how code sits beside it.

  • 23

    Page accordion

    .page-acc

    Folds a filter row away, with a line saying what it shows. Open it and pick a chip.

    Filter by category All items
  • 24

    Summary list

    .summary-list

    A few results, each a small label beside its value, as after a task has run. The label sits over the value on a phone.

    Download
    Done. Saved 92 new files, skipped 0 already downloaded.
    Info files
    92 new, 0 updated with new files, the rest unchanged.

24

Number circle

  • 25

    Number circle

    .num-circle, .num-circle--solid, .num-circle--accent, text-sm to text-4xl

    A number in a circle, outlined or solid, for steps or for list rows. The accent version sets numbers apart, as on the entries of this page. It takes the color and size of the text around it, so a text utility sizes it, never below text-sm.

    • 01 01

      text-4xl
    • 01 01

      text-2xl
    • 01 01

      text-base
    • 01 01

      text-sm

    In the accent, at text-2xl:

    01 01

    In a list row, at text-sm:

25–31

Page frame

  • 26

    Bottom bar

    .bottom-bar, .marquee, .jump-btn

    The dark bar fixed along the bottom of this page, and of Work. A page opts in. Its title scrolls three times when it is too long, then rests; on Work, its triangle brings Field notes back into view.

  • 27

    Drawer

    .drawer

    The Recent button in the top bar: the pages you have opened here.

  • 28

    Hero

    .hero

    The top of this page. Home has the square image beside it, About the wide one under it.

  • 29

    New dot

    .new-dot

    The dot on the menu button when something was added since your last visit.

  • 30

    Panel tabs

    .panel-tabs, .panel-tab

    Menu, Contact and Features across the top of the panel. This one is only a picture of them; open Contact for the real ones.

  • 31

    Slide-down panel

    .panel

    The dark block behind the menu button. Open it.

  • 32

    Top bar

    .topbar

    The bar at the top of this page, with the site name and the outlined buttons.

32–35

Text and images

  • 33

    Code block

    pre, .pre--bar

    Code in Source Code Pro. Terminal output and logs go on the dark block, the same in both themes.

    @import "@agentic-design-kits/swiss-minimal/tailwind.css";
    $ npm test
    52 passed (15.7s)
    1 failed: tests/forms.spec.ts
  • 34

    Image

    .media, .figure

    A plain rectangle on the grid, cropped to a fixed shape, with the caption below.

    Abstract composition of black, grey and red circles and rectangles divided by black rules
    The home page artwork, cropped to 4:3.
  • 35

    Gallery

    .gallery, .gallery--rows

    Artwork shown whole, each image at its own shape, in masonry columns or in rows that share a height. Each image has alt text and an optional caption. It has a page of its own: Gallery.

  • 36

    Oval badge

    .ellipse, .ellipse--solid, .ellipse--accent, text-sm to text-4xl

    Abbreviations in an oval, after international car decals. Plain or solid, in ink or the accent. It takes the size of its text, so a text utility sizes it, never below text-sm.

    • Switzerland text-4xl
    • Switzerland text-4xl
    • German text-xl
    • United States text-base
    • Netherlands text-sm

    In the accent, for the one badge that matters on a screen:

    • Switzerland accent
    • Switzerland accent solid

36–38

Titles, menus and footers

  • 37

    Footer

    .site-footer, .site-footer--bar

    The traditional footer, as at the end of every page here: the name and a note on the left, the site's links on the right. It stacks on a phone. Plain, or on a dark block.

  • 38

    Menu

    .menu-list, .acc, .submenu

    The big lines in the panel. An item with sub-items opens as an accordion, with a plus that turns to a minus. Open Work, then Projects.

  • 39

    Page title

    .page-title, .page-title--bar

    One big title in place of a hero, as on Forms. The dark version, on Work, ends in a thick accent rule.

    All work

    All work