When to use
Chips and badges are the small shapes that sit beside content. They come in two families, and the difference is whether people can press them:
- Chips are buttons. They filter a list (store features, special fuel, deal categories), pick one option in a flow (a pickup time, a quantity) or remove a filter that is already applied. Every chip is at least 44 px tall, or 40 px for an applied filter.
- Tags and badges only describe. They name a store’s features, who a service is for, where a fuel is sold or that a menu item is new. They are smaller, never change on hover, and never look pressed.
Both share the button shape: 14 px corners (rounded-button) and a 1 px ink hairline. The one exception is the availability tag of fuel cards, which takes the 16 px field corners. Tab chips are covered with the tabs on Accordions and tabs.
Anatomy
| Part | Rule |
|---|---|
| Container | rounded-button (14 px), 1 px ink border, at least 44 px tall. Paper when off, ink when on. |
| Label | UI style (Hanken Grotesk 500, 15 to 17 px). The words of the data, never shortened. |
| Check | 14 px check before the label, only on chips that combine and only while on. |
| Count | In parentheses, caption size, tabular figures: how many results the list would show with this chip added. |
| Gap | 6 px between check, label and count. |
Filter chips
Filter rows are introduced by an eyebrow label, Features or Special fuel, with a hint in regular weight when the rule needs saying: pick one, combine any.
Option chips
Option chips have the same shape as filter chips and no count. They pick a value inside a step: a pickup time, a quantity, a lettering style.
Applied filters
Tags
The scope tag sits inline before the words it qualifies, such as All stores before Unleaded 87 · 89 · 93 in the store finder.
Award badges
Menu badges
The only filled badges in the system. New is night with pastel text, Popular is aqua with night text, so the two read apart at a glance and both stay off the red reserved for ordering.
Store status
The status is worked out live, in the store’s own time zone. Until the browser’s clock is read, the line keeps its height empty, so nothing shifts when it appears. Leaf is used for this dot and other small positive marks, never as a fill.
States
Fills change in 180 ms (--duration-fast), at once under reduced motion. Deal chips hover to surface instead of pastel; applied filters hover to red.
Usage
- Show the count when it helps choose. Filter chips that narrow a list show how many results each would leave; option chips do not.
- Keep the data’s words. Family Express Kitchen, not Kitchen; Open 24 Hours, not 24/7.
- No new colors. Chips are paper or ink; tags are hairlines; only the two menu badges are filled.
Accessibility
- Chips are real buttons: chips that combine use
aria-pressed; a pick-one row is a radio group (role="radio",aria-checked) named by its eyebrow. - Each row of chips is a group labeled by its eyebrow (Features, Special fuel, “Filter deals by category”).
- An applied filter is named for what it does: “Remove filter: Java Wave”.
- Disabled options are disabled buttons, not just struck through: they cannot be focused or pressed.
- The store status dot is decorative; the words carry the state, so it never relies on color.
- Tags are list items or plain text, never focusable.
Source
- Website
-
components/locations/StoreFinder.tsxcomponents/sections/DealsSection.tsxcomponents/custom-cookies/shared.tsxcomponents/sections/MenuBrowser.tsxcomponents/sections/SegmentChips.tsxcomponents/locations/StoreHero.tsxcomponents/sections/FuelTypes.tsxcomponents/sections/WashPackages.tsxcomponents/sections/AwardBadges.tsxcomponents/sections/MenuCard.tsxcomponents/locations/StoreStatus.tsx