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.

Ava Rossi
Ava Rossi Product Designer · Montreal

4Notification list

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

Our sommelier has paired each dish with wines from small family vineyards.
yesterday
Every detail is handled by people who care about getting it right.
5 min ago
Children are always welcome, with a menu made just for them.
just now

5Centred button stack

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

Free for 7 days, no card needed

6Stacked feature cards

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

Chef's specials

Private dining rooms seat up to forty guests for birthdays and business dinners.

Local ingredients

We have been feeding this neighbourhood for over a decade, and we still love it.

Vegan options

Our menu changes with the seasons and the best produce from nearby farms.

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

$94.78 / month

Local ingredients
Fast delivery
Online reservations
Chef's specials
Vegan options

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.

Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.
Order for pickup or delivery and enjoy the same dishes at home.
Start in minutes and get help from a real person whenever you need it.
Cooking classes on Saturday mornings teach you our favourite recipes.

11Wrapping tag row

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

StartersMainsDrinksDessertsSpecials

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.

1.5k
Clients
765
Projects
4.7
Rating

14Card meta line

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

Five wines to pair with a summer dinner

Private dining rooms seat up to forty guests for birthdays and business dinners.

15Order timeline

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

Order placedNov 1, 2025
PackedSep 22, 2025
ShippedDec 22, 2025
DeliveredExpected Dec 12, 2026

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-2025.pdf413 KB
proposal-2026.docx771 KB
budget-2026.xlsx424 KB

18Nested stacks

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

Takeaway

2 View all

Our team has done this many times, so you never have to guess.

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.

PlanWe have been feeding this neighbourhood for over a decade, and we still love it.
BuildFriendly people answer your questions quickly, by phone, chat or email.
LaunchThousands of guests already trust us, and we work hard to keep it that way.