Skip to content
Iris Hub

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.

Ravi Ashford
Ravi Ashford Data Analyst · Denver

4Notification list

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

Every detail is handled by people who care about getting it right.
yesterday
We measure success by how many guests come back and tell their friends.
yesterday
Thousands of guests already trust us, and we work hard to keep it that way.
21 hours ago

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

Our sommelier has paired each dish with wines from small family vineyards.

Chef's specials

Our terrace is open from spring to autumn, with heaters for cooler evenings.

Online reservations

Cooking classes on Saturday mornings teach you our favourite recipes.

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

$85.56 / month

Online reservations
Kid friendly
Chef's specials
Local ingredients
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.

Start in minutes and get help from a real person whenever you need it.
Bread is baked every morning and pasta is rolled by hand in our kitchen.
We have been feeding this neighbourhood for over a decade, and we still love it.
Our team has done this many times, so you never have to guess.

11Wrapping tag row

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

SpecialsDessertsDrinksMainsStarters

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.

411
Clients
824
Projects
4.7
Rating

14Card meta line

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

Our chocolate tart, step by step

Every dish is cooked to order, so tell us if you would like anything changed.

15Order timeline

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

Order placedDec 1, 2025
PackedAug 24, 2026
ShippedOct 7, 2025
DeliveredExpected Dec 20, 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.pdf473 KB
proposal-2025.docx978 KB
budget-2026.xlsx177 KB

18Nested stacks

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

Catering

18 View all

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

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.

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