Skip to content

Overflow

Overflow utilities control what happens when content is bigger than its box: overflow-auto scrolls when needed, overflow-hidden clips, overflow-visible lets content spill and overflow-scroll always shows scrollbars. overflow-x-* and overflow-y-* handle each axis separately, ideal for wide tables and side-scrolling rows.

1The four overflow values

overflow-auto, overflow-hidden, overflow-visible and overflow-scroll on boxes of fixed height.

overflow-auto
This fast experience makes data easy to understand in just a few clicks. This bright team makes complex tasks into simple steps with friendly support. The new same-day appointments helps decisions quicker and clearer without the usual hassle. This simple update gives customers coming back in just a few clicks.
overflow-hidden
This fast experience makes data easy to understand in just a few clicks. This bright team makes complex tasks into simple steps with friendly support. The new same-day appointments helps decisions quicker and clearer without the usual hassle. This simple update gives customers coming back in just a few clicks.
overflow-visible
This fast experience makes data easy to understand in just a few clicks. This bright team makes complex tasks into simple steps with friendly support. The new same-day appointments helps decisions quicker and clearer without the usual hassle. This simple update gives customers coming back in just a few clicks.
overflow-scroll
This fast experience makes data easy to understand in just a few clicks. This bright team makes complex tasks into simple steps with friendly support. The new same-day appointments helps decisions quicker and clearer without the usual hassle. This simple update gives customers coming back in just a few clicks.

2Horizontal scroll only

overflow-x-auto with flex-nowrap scrolls a row of cards sideways.

Dental care
Lab tests
Dental care
Physiotherapy
Physiotherapy

3Vertical scroll only

overflow-y-auto and a max-height make a scrolling list.

  • Nora Alvarez
  • Elena Mensah
  • Ava Novak
  • Ava Moreau
  • Jonah Duarte
  • Leo Nguyen

4Hidden to clip rounded corners

overflow-hidden on a rounded card clips the image corners.

Not clipped
without
Clipped
overflow-hidden

5Wide table

A wide table inside overflow-x-auto scrolls instead of breaking the page.

OrderCustomerCityDateStatusTotal
#INV-2381Chloe LindqvistPragueSep 13, 2026On hold$213.89
#ORD-9282Isla QuinnTorontoMar 2, 2026Cancelled$84.20

6Code block that scrolls

Long lines in a pre with overflow-x-auto stay on one line.

npm run build -- --mode production --out-dir dist/brand-name-1 --base ./ --sourcemap false --emptyOutDir

7Chat window

A fixed height message area with overflow-y-auto above a fixed input.

The new family plans guides you focused on what matters from the very first day.
A powerful journey brings results you can measure without extra tools.
Our dental care makes projects moving forward all year round.
A friendly idea brings the whole team on the same page all year round.

8Scrollable tab strip

Pills in a flex-nowrap row with overflow-x-auto for many categories.

9Terms box

A long text inside a bordered box with overflow-auto, like a licence agreement.

Terms of use

This honest release gives your work organised without the usual hassle. This practical goal connects every detail in view from the very first day. The new family plans brings customers coming back all year round. This powerful process turns complex tasks into simple steps for teams of every size.

This focused journey gives new ideas to life with friendly support. The new certified specialists turns decisions quicker and clearer for teams of every size. A elegant process turns customers coming back in just a few clicks. Our telehealth gives your work organised without extra tools.

Our health check-ups makes decisions quicker and clearer on any device. The new insurance friendly helps you focused on what matters all year round. This smart update keeps time back in your day on any device.

10Visible overflow for a badge

overflow-visible lets a badge stick out of a box that would otherwise clip it.

overflow-hidden2
overflow-visible4

11Hidden overflow for a cropped title

overflow-hidden with a fixed height clips long text to two lines worth of space.

Your health, our priority - The new certified specialists makes every detail in view from the very first day.
Mar 2, 2026

12Sidebar that scrolls separately

The nav column scrolls with overflow-y-auto while the content stays put.

The new same-day appointments shows decisions quicker and clearer in just a few clicks. Our health check-ups lets complex tasks into simple steps with friendly support.

13Image pan area

A large image in an overflow-auto box can be scrolled in both directions.

Inside the modern process

14Kanban columns

Columns side by side in overflow-x-auto, each column scrolls with overflow-y-auto.

To do
Lab tests
General practice
Dental care
Doing
Health check-ups
Done
Telehealth

15Overflow-x hidden

overflow-x-hidden hides content that slides in from the side, like an off-screen panel.

Our health check-ups gives data easy to understand for teams of every size.
Panel partly off the edge

16Overflow-y scroll always

overflow-y-scroll always shows the vertical scrollbar, so the width never jumps.

Our dental care lets you focused on what matters all year round.

17Notification panel

A dropdown-like panel with header, scrolling body and footer.

Notifications
The new insurance friendly shows time back in your day wherever you are.
This simple project makes complex tasks into simple steps without extra tools.
This smart journey helps every detail in view in just a few clicks.
The new same-day appointments turns time back in your day wherever you are.
View all

18Clip a decorative shape

A big circle partly outside its panel is cut off by overflow-hidden.

Care that puts you first

This friendly update connects complex tasks into simple steps at a fair price.

19Long word handling

overflow-hidden plus text-truncate versus text-break for an unbreakable string.

downloads/brand-name-1/assets/very-long-file-name-without-any-spaces-at-all.zip
downloads/brand-name-1/assets/very-long-file-name-without-any-spaces-at-all.zip

20Responsive table wrapper

table-responsive is the helper made of overflow-x-auto for tables.

PlanUsersStorageSupportAPIPrice
Pro22182 GBEmail and chatUnlimited$77.95