Buttons & chips
Actions are pills. Labels are chips. One orange call to action per screen, so people always know what to do next.
Button
Use .btn plus one variant. Write labels as a verb plus what happens: "Register now", "Add to calendar", never "Submit" or "Click here". An <a> and a <button> render at the same height.
| Class | Use for |
|---|---|
.btn-primary | The one main action in view: register, publish, save. Fill --orange-deep (white text at 5.4:1), darkens to --orange-deeper on hover. |
.btn-secondary | Every other action. Ink outline, fills ink on hover. |
.btn-link | "See all" style navigation with an arrow. Add .flush to drop the padding inside text or cards. |
.btn-danger | The confirm button of a destructive action (delete, cancel an event or ticket, withdraw, leave, revoke). Red, darkens to --danger-deeper on hover. Use it inside the confirmation modal, not for the button that opens it. |
- One
.btn-primaryper viewport, at most two buttons side by side. - Sentence case, verb first.
- Use
.btn-linkwith.arrowfor "All events →" links.
- Two orange buttons next to each other.
- Square corners, shadows or lift on hover.
- Inline styles or one-off button classes; add a modifier to
buttons.cssinstead.
Sizes & states
Add a modifier to change size or state. Disabled buttons stay readable; loading buttons keep their label and add a spinner.
| Modifier | Effect |
|---|---|
.btn-sm | Compact: nav actions, table rows, toolbars. |
.btn-icon | Square icon-only button; always give it an aria-label. |
.btn-wide | Full width: sidebars, mobile sheets, modals. |
.btn-disabled | Unavailable action (cream fill, muted text). Pair with aria-disabled="true" or disabled. |
.btn-loading | Work in progress; set disabled while it runs. |
Icon row actions
Small square icon buttons for the actions on a table row: reorder, edit, open, delete. Wrap them in .rank-cell. Each one is a link or a <button> in its own small <form>. Hover warms the border, .danger marks the destructive one.
- Give every icon a
titleand anaria-labelthat names the record ("Edit Neo4j"). - Put the destructive action last and confirm it with
data-confirm. - Disable reorder buttons at the ends of the list.
- Mix icon buttons and text links in one row.
- Use an icon nobody will recognize; use the row action menu instead.
On dark
Inside an ink slab (.dark-slab) the primary button stays orange. It is the page's next step, so it's the only action.
A full day of agents, for free.
Talks, labs and the hallway track, in 30+ cities.
Chip
Chips label format, type and status. They are not buttons; if it does something, use a button. Pick the colour by meaning, not to decorate.
| Class | Meaning |
|---|---|
.chip-orange | Formats and highlights only, never a status: In person, AgentCon, New, Admin preview. |
.chip-blue | In progress, and neutral labels: Accepted (waiting for the speaker), Running, Queued, Sending, Checked in; Online, session type. |
.chip-live | Done, success or live: Approved, Confirmed, Published, Active, Enabled, Paid, Sent, Claimed, Subscribed, Live now. Never decorative. |
.chip-warn | Needs attention or waiting on someone: Pending, Under review, Awaiting acceptance, Invited, Retrying, Waitlist, Draft, Not published, Scheduled, To accept, To decline. |
.chip-red | Negative outcome: Declined, Declined by speaker, Cancelled, Failed, Suspended, No active agreement. |
.chip-muted | Inactive, past or neutral: Submitted, Withdrawn, Ended, Closed, Disabled, Inactive, Hidden, Completed, counts. |
.chip-external | Outline chip for events hosted elsewhere. |
- Keep labels to one or two words.
- Get the colour for a status from
StatusChips.For(status)(Services/StatusChips.cs) instead of choosing one per page. A test checks every literal status chip in the views against it.
- Use green for anything but live/success, or orange for a status.
- Make a chip clickable without it looking like a link.
Announcement pill
The playful element: a quiet pill with an orange dot that points to one timely thing. At most one per page, usually above a hero title.
- One short sentence plus one action.
- Rotated sticker badges or hard shadows instead.
- More than one per page.
Social pills
Text plus a small icon, never icon-only. Used in the footer and on chapter and profile pages.
css/framework/footer.css(.f2-social)Razor:Views/Shared/_Layout.cshtml