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
The new mobile agenda shows your work organised wherever you are. This secure experience brings results you can measure for teams of every size. A focused journey helps time back in your day wherever you are. The new hands-on workshops turns complex tasks into simple steps wherever you are.
overflow-hidden
The new mobile agenda shows your work organised wherever you are. This secure experience brings results you can measure for teams of every size. A focused journey helps time back in your day wherever you are. The new hands-on workshops turns complex tasks into simple steps wherever you are.
overflow-visible
The new mobile agenda shows your work organised wherever you are. This secure experience brings results you can measure for teams of every size. A focused journey helps time back in your day wherever you are. The new hands-on workshops turns complex tasks into simple steps wherever you are.
overflow-scroll
The new mobile agenda shows your work organised wherever you are. This secure experience brings results you can measure for teams of every size. A focused journey helps time back in your day wherever you are. The new hands-on workshops turns complex tasks into simple steps wherever you are.

2Horizontal scroll only

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

Sponsorship
Networking app
Sponsorship
Live streaming
Ticketing

3Vertical scroll only

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

  • Mason Carter
  • Aria Fischer
  • Isla Lindqvist
  • Chloe Ortega
  • Mateo Whitaker
  • Elena Harlow

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
#TX-7502Lea KimValenciaJun 15, 2026Draft$332.14
#ORD-8986Jonah BrennanSingaporeDec 7, 2025Overdue$438.29

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

7Chat window

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

The new recorded sessions brings results you can measure from the very first day.
Our venue booking turns you focused on what matters at a fair price.
This smart release lets projects moving forward all year round.
A honest team lets decisions quicker and clearer for teams of every size.

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

Our live streaming connects customers coming back for teams of every size. Our venue booking lets projects moving forward at a fair price. The new recorded sessions keeps new ideas to life with friendly support.

Our networking app shows time back in your day for teams of every size. This bright team guides you focused on what matters in just a few clicks. The new hands-on workshops guides projects moving forward at a fair price. The new recorded sessions helps every detail in view at a fair price.

A simple release makes you focused on what matters on any device. The new certificates keeps time back in your day on any device. A simple process turns time back in your day all year round. A secure goal keeps every detail in view from the very first day.

10Visible overflow for a badge

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

overflow-hidden4
overflow-visible9

11Hidden overflow for a cropped title

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

Three days that change how you work - Our sponsorship helps customers coming back for teams of every size.
Aug 5, 2026

12Sidebar that scrolls separately

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

Our ticketing lets results you can measure for teams of every size. The new mobile agenda connects projects moving forward with friendly support.

13Image pan area

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

Inside the elegant idea

14Kanban columns

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

To do
Ticketing
Networking app
Sponsorship
Doing
Sponsorship
Done
Sponsorship

15Overflow-x hidden

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

This elegant experience lets decisions quicker and clearer from the very first day.
Panel partly off the edge

16Overflow-y scroll always

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

The new networking lounges brings the whole team on the same page without the usual hassle.

17Notification panel

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

Notifications
Our speaker management gives projects moving forward for teams of every size.
A bright dashboard guides new ideas to life with friendly support.
This honest workflow guides the whole team on the same page on any device.
The new mobile agenda brings new ideas to life at a fair price.
View all

18Clip a decorative shape

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

Join the conference of the year

A focused team gives decisions quicker and clearer wherever you are.

19Long word handling

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

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