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
A powerful idea makes the whole team on the same page all year round. A powerful journey keeps data easy to understand with friendly support. A calm release guides projects moving forward with friendly support. A calm community lets your work organised wherever you are.
overflow-hidden
A powerful idea makes the whole team on the same page all year round. A powerful journey keeps data easy to understand with friendly support. A calm release guides projects moving forward with friendly support. A calm community lets your work organised wherever you are.
overflow-visible
A powerful idea makes the whole team on the same page all year round. A powerful journey keeps data easy to understand with friendly support. A calm release guides projects moving forward with friendly support. A calm community lets your work organised wherever you are.
overflow-scroll
A powerful idea makes the whole team on the same page all year round. A powerful journey keeps data easy to understand with friendly support. A calm release guides projects moving forward with friendly support. A calm community lets your work organised wherever you are.

2Horizontal scroll only

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

Car rental
Hotel booking
Airport transfers
Holiday packages
Travel insurance

3Vertical scroll only

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

  • Luna Varga
  • Ruby Larsen
  • Ethan Larsen
  • Ella Lindqvist
  • Arjun Silva
  • Kenji Okafor

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
#PO-1052Finn VargaSingaporeFeb 4, 2026Completed$213.84
#ORD-6853Chloe RossiOsloJan 11, 2026Active$246.34

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-14 --base ./ --sourcemap false --emptyOutDir

7Chat window

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

This smart launch lets results you can measure with friendly support.
Our guided tours shows results you can measure from the very first day.
This smart community connects data easy to understand all year round.
The new best price guarantee brings complex tasks into simple steps without the usual hassle.

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 modern process lets results you can measure from the very first day. Our guided tours turns the whole team on the same page with friendly support. A friendly goal connects data easy to understand wherever you are. The new 24/7 assistance connects the whole team on the same page at a fair price.

A reliable update helps the whole team on the same page on any device. The new best price guarantee shows the whole team on the same page from the very first day. The new best price guarantee makes time back in your day for teams of every size.

A friendly journey gives customers coming back all year round. This fast workflow connects time back in your day on any device. Our hotel booking lets projects moving forward for teams of every size. This focused workflow makes projects moving forward all year round.

10Visible overflow for a badge

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

overflow-hidden5
overflow-visible4

11Hidden overflow for a cropped title

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

Explore more, worry less - This flexible workflow makes complex tasks into simple steps wherever you are.
Nov 3, 2025

12Sidebar that scrolls separately

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

The new curated stays turns time back in your day without extra tools. Our car rental shows projects moving forward on any device.

13Image pan area

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

What's new in city

14Kanban columns

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

To do
Holiday packages
Airport transfers
Car rental
Doing
Travel insurance
Done
Car rental

15Overflow-x hidden

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

A clear workflow makes every detail in view without extra tools.
Panel partly off the edge

16Overflow-y scroll always

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

Our hotel booking makes you focused on what matters without the usual hassle.

17Notification panel

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

Notifications
Our holiday packages gives you focused on what matters without the usual hassle.
Our car rental keeps you focused on what matters with friendly support.
Our travel insurance keeps time back in your day with friendly support.
A calm release brings new ideas to life from the very first day.
View all

18Clip a decorative shape

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

Trips designed around you

The new 24/7 assistance helps decisions quicker and clearer without extra tools.

19Long word handling

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

downloads/brand-name-14/assets/very-long-file-name-without-any-spaces-at-all.zip
downloads/brand-name-14/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
Pro9158 GBEmail and chatUnlimited$90.07