When to use
Some sections hold more than people need at once. The website has two ways to show part of a section and keep the rest one tap away:
- Disclose: rows that open in place. The FAQ accordion on Car Wash, Fuel & Fleet, Gift Cards, Contract Bakery and the Fleet Card; the footer columns on phones; the legal table of contents on phones.
- Switch: a row of chips that changes what the list below shows. The Car Wash locations, the site search results, the List / Map switch of the store finder (Map), and the segmented pickup time in the store chooser.
Two relatives look similar but do neither: Top questions on Help, which links out to answers, and On this page, which jumps within the page. Both are on this page so the three are never confused.
Choose an accordion when every item is a question with a short answer and most people need one or two. Choose chips when the items are the same kind of thing and people compare by type.
Anatomy
How does Unlimited Club work?
Can I change or cancel my plan?
Which vehicles can go through the wash?
| Part | Rule |
|---|---|
| Row | A field with panel corners (24 px): surface on a paper section, paper on a surface section. No border: the fill is the edge. |
| Trigger | The whole row is one button inside a heading (h3, or h4 where the outline needs it). 24 px top and bottom, 24 px in on the left (40 px from md), 16 px on the right. |
| Question | Body L (18 to 20 px, weight 450), sentence case. |
| Detail | Optional, UI type with tabular figures, before the toggle: a short trailing fact such as a price. |
| Toggle | A 48 px circle with a 1 px ink ring and two 14 by 2 px ink bars. Closed, the vertical bar stands across the other: a plus. Open, it turns flat: a minus. |
| Answer | Body type, 24 px in on the left (40 px from md) and 80 px clear on the right from md, 28 px below. |
Accordion
How does Unlimited Club work?
Can I change or cancel my plan?
Do gift cards expire?
Can I reload a gift card?
The FAQ section puts the heading in Lilita One at display-l on the left, 4 of 12 columns from lg, and the accordion in the other 8; below lg the heading sits above. Rows pick their tone from the section: the section says paper, the rows say surface, and the reverse. The section does not render when there are no questions.
One row is open at a time: opening another closes the first. The answer grows into place over 360 ms on the quart-out curve (cubic-bezier(0.25, 1, 0.5, 1)), and the plus turns into a minus over the same time. Under reduced motion both happen at once.
Footer columns
Food & Drink
Full MenuBreakfastChickenPizzaSandwichesCravin's BakeryCoffee & DrinksServices
Car WashFuel & Fleet CardStore LocatorF.E. PerksCompany
Our StoryCommunityCareersPress & Press KitSupport
Help CenterGift CardsFleet CardContract BakeryGet the App| Part | Rule |
|---|---|
| Ground | The night footer card, pastel text and a pastel focus ring. |
| Rule | A 1 px pastel line at 30 % under each column, and one above the first. |
| Title | Eyebrow type at 80 %, in a heading. |
| Chevron | 18 px, turns 180° over 360 ms as the column opens; at once under reduced motion. |
| Links | UI type, 44 px tall, underline fading in on hover. 16 px of space under the last one. |
The closed state only hides the list below md, so the server and the browser draw the same footer and nothing jumps on load.
Legal contents
The rows are anchors to the sections of the document, 44 px each, underlined on hover. Download PDF opens the print dialog: there is no file, and the print styles print the document alone, without the header, footer or this list.
Chip switches
| Part | Rule |
|---|---|
| Chip | 44 px tall, 20 px side padding, 1 px ink border, button corners (14 px), UI type. 8 px apart, wrapping. |
| Chosen | ink fill, paper label. Car Wash adds a 14 px check before the label, so the choice does not rest on color alone. |
| Others | Car Wash: paper, pastel on hover. Search: clear, surface on hover. |
| Count | Search only: (6) after the label, caption type, tabular figures, at 80 %. |
| Effect | The list below changes at once; the page does not scroll or reload. |
These are toggle buttons (aria-pressed) in a labelled group, not tabs: they filter one list, and the list keeps its place in the page.
Tabs
The code also has a true tabs component (Tabs.tsx) with the same chips: outlined, paper, pastel on hover, the chosen one in ink, colors changing over 180 ms, and its panel 32 px below with panel corners. No page uses it today; it is the one to reach for when chips must switch between different contents rather than filter one list.
Segmented control
| Part | Rule |
|---|---|
| Frame | 1 px ink, 14 px corners, 4 px padding. Full width with two equal columns on phones; from md it shrinks to its labels. |
| Segment | 44 px tall, 12 px side padding (20 px from md), 14 px corners, UI type. |
| Chosen | ink fill, paper label. The other turns pastel on hover. |
| Effect | Schedule for later reveals the pickup time select under the control; ASAP hides it. |
A segmented control is a radio group: exactly one choice, always set, between two to three short options. It is the only one on the site.
In-page links
On this page chips never take the ink fill as a chosen state: nothing is selected, they are links. Top questions rows never open in place: the arrow says the answer lives elsewhere.
States
Can I change or cancel my plan?
| Component | Closed or default | Open or chosen | Hover | Motion |
|---|---|---|---|---|
| Accordion row | Plus | Minus, answer shown | None | 360 ms height and toggle |
| Footer column (phone) | Chevron down | Chevron up, links shown | Link underline | 360 ms chevron |
| Legal contents (below lg) | Chevron down | Chevron up, list shown | Row underline | 360 ms chevron |
| Car Wash chip | paper | ink with check | pastel | None |
| Search chip | Clear | ink | surface | None |
| Segment | Clear | ink | pastel | 180 ms |
| On this page chip | Outlined | ink | 360 ms |
Sizes
| Element | Measure |
|---|---|
| Accordion toggle | 48 px circle, 14 by 2 px bars |
| Accordion row padding | 24 px top and bottom; 24 px left (40 px from md), 16 px right |
| Accordion gap | 12 px |
| Footer column row | 56 px |
| Legal disclosure | 48 px, 16 px corners |
| Chips, segments, link chips | 44 px tall |
| Top questions row | At least 64 px |
Usage
Do gift cards expire?
Unlimited plans, prices, locations, hours and FAQ
How does F.E. Perks® work?
- Nothing important behind a toggle. Prices, hours and actions stay visible; accordions hold questions and answers.
- Chips filter, they do not navigate. A chip row changes the list below it. Going somewhere is a link.
- One look for chosen. Ink fill, paper label, in every chip row and the segmented control.
- Keep labels short. One to three words per chip or segment, so a row wraps cleanly on a phone.
Accessibility
- Accordion rows follow the WAI-ARIA accordion pattern: a heading holding a button with
aria-expandedandaria-controls, and the answer as a region labelled by it. Closed answers areinert, so they are neither focusable nor read. - The footer and legal disclosures are buttons with
aria-expandedandaria-controls; the footer title is a heading. - Chip switches are pressed buttons (
aria-pressed) in a labelled group, so the choice is announced. The store finder’s fuel chips, where exactly one is chosen, are a radio group. - The segmented control is a radio group labelled Pickup time, each segment a radio with
aria-checked. Tabs.tsxfollows the WAI-ARIA tabs pattern with automatic activation: only the chosen tab is in the tab order, the arrow keys, Home and End move between tabs, and each panel is focusable and labelled by its tab.- Every toggle, chip and segment is at least 44 px tall (the accordion toggle 48 px), with the site’s 3 px focus ring.
Source
- Website
-
components/ui/Accordion.tsxcomponents/sections/FaqSection.tsxcomponents/sections/QuestionList.tsxcomponents/layout/FooterColumn.tsxcomponents/sections/LegalToc.tsxcomponents/sections/CarWashLocations.tsxcomponents/sections/SearchResults.tsxcomponents/ui/Tabs.tsxcomponents/locations/StoreChooser.tsxcomponents/sections/OnThisPage.tsx