Skip to content

Stacks

Stacks are flexbox shortcuts: vstack lines items up vertically, hstack horizontally, and the gap utilities space them evenly. Push an item to the far side with ms-auto and separate groups with a vertical rule.

1Horizontal toolbar

hstack with gap-2 lines up buttons; ms-auto pushes the last group to the far end.

2Vertical sign-in form

vstack with gap-3 spaces the fields of a compact form without margin utilities.

Forgot your password?

3Profile row

An avatar, a name and role block and a follow button in one hstack.

Zoe Ashford
Zoe Ashford Art Director · Kyoto

4Notification list

A vstack of notification items, each an hstack of icon, message and time.

Book online in two minutes and see a doctor as soon as today.
3 days ago
Our specialists take time to listen and explain every step of your treatment.
yesterday
Every detail is handled by people who care about getting it right.
11 min ago

5Centred button stack

vstack with col-md-5 mx-auto centres full-width buttons, as on a mobile landing screen.

Free for 14 days, no card needed

6Stacked feature cards

Cards stacked with vstack gap-3; inside each card an hstack pairs the icon with its text.

Certified specialists

Friendly people answer your questions quickly, by phone, chat or email.

Online results

Modern equipment means faster diagnoses and more comfortable treatment.

Family plans

Your records are private, secure and always available when you need them.

7Inline subscribe form

An hstack holding an input, a button and a divider link, a common newsletter pattern.

8Pricing feature list

A vstack of check-mark rows inside a pricing card.

Business

$77.39 / month

Reminders
Family plans
Online results
Same-day appointments
Certified specialists

9Footer link row

hstack with flex-wrap and gap-3 for a row of footer links that wraps on narrow screens.

10Chat bubbles

A vstack where align-self-start and align-self-end place incoming and outgoing messages.

Start in minutes and get help from a real person whenever you need it.
We keep things simple, so you can focus on what matters to you.
Same-day appointments are available for urgent needs on weekdays.
Video consultations let you speak with a doctor from the comfort of home.

11Wrapping tag row

hstack plus flex-wrap and gap-1 keeps tags tidy when they run onto a second line.

DermatologyOrthopedicsDentalCardiologyPediatrics

12Settings rows

Each setting is an hstack with the label on the left and a switch pushed right with ms-auto.

13Stats with dividers

An hstack of figures separated by vertical rules.

3.8k
Clients
662
Projects
4.5
Rating

14Card meta line

An hstack in a card footer for author, date and a like counter.

Simple habits for a healthier back

Lab results arrive in your patient portal, usually within 48 hours.

15Order timeline

A vstack of steps, each an hstack of status badge and text.

Order placedFeb 15, 2026
PackedDec 17, 2025
ShippedNov 15, 2025
DeliveredExpected Jan 1, 2027

16Search bar

An hstack combining a search field, a filter select and a button.

17File rows

Attachment rows with icon, name and size, and a download button aligned right.

report-2026.pdf892 KB
proposal-2025.docx578 KB
budget-2025.xlsx221 KB

18Nested stacks

A vstack page section whose header is an hstack: stacks nest freely.

Physiotherapy

30 View all

Friendly reminders make sure you never miss a check-up or a dose.

19Gap sizes compared

The same hstack with gap-0, gap-2 and gap-4 to compare spacing.

gap-0
Item
Item
Item
Item
gap-2
Item
Item
Item
Item
gap-4
Item
Item
Item
Item

20Responsive stack direction

Stacks are vertical on phones and switch to a row from md with flex-md-row.

PlanFamily plans cover check-ups and vaccinations for everyone under one roof.
BuildWe measure success by how many patients come back and tell their friends.
LaunchOur clinic is fully accessible, with free parking right outside.