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
We test early with real users, so the final design works on the first day. We measure success by how many clients come back and tell their friends. We combine strategy, design and technology to build brands that grow. Every project starts with a workshop, so we understand your audience before we design.
overflow-hidden
We test early with real users, so the final design works on the first day. We measure success by how many clients come back and tell their friends. We combine strategy, design and technology to build brands that grow. Every project starts with a workshop, so we understand your audience before we design.
overflow-visible
We test early with real users, so the final design works on the first day. We measure success by how many clients come back and tell their friends. We combine strategy, design and technology to build brands that grow. Every project starts with a workshop, so we understand your audience before we design.
overflow-scroll
We test early with real users, so the final design works on the first day. We measure success by how many clients come back and tell their friends. We combine strategy, design and technology to build brands that grow. Every project starts with a workshop, so we understand your audience before we design.

2Horizontal scroll only

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

Web design
Content strategy
UX research
Brand identity
UX research

3Vertical scroll only

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

  • Isla Mensah
  • Amara Moreau
  • Priya Okafor
  • Finn Morgan
  • Noah Harlow
  • Nadia Brennan

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-2088Liam DuarteCopenhagenFeb 3, 2026In review$21.29
#TX-4430Aria KowalskiSingaporeJun 15, 2026On hold$830.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/nimbus-kit --base ./ --sourcemap false --emptyOutDir

7Chat window

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

Every detail is handled by people who care about getting it right.
Our motion team turns complex ideas into short films people actually watch.
We combine strategy, design and technology to build brands that grow.
We test early with real users, so the final design works on the first day.

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

Friendly people answer your questions quickly, by phone, chat or email. We keep things simple, so you can focus on what matters to you. We measure success by how many clients come back and tell their friends.

Senior designers lead every project from the first sketch to the final file. We measure success in sign-ups, sales and brand recall, not just awards. Thousands of clients already trust us, and we work hard to keep it that way. Every detail is handled by people who care about getting it right.

Clear prices, honest advice and no surprises along the way. Every project starts with a workshop, so we understand your audience before we design. Fixed prices and weekly demos keep you in control from start to finish.

10Visible overflow for a badge

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

overflow-hidden3
overflow-visible8

11Hidden overflow for a cropped title

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

Creative work with measurable results - Small teams, short feedback loops and no handoffs lost in translation.
Oct 24, 2025

12Sidebar that scrolls separately

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

From logo to launch campaign, everything is designed to work together. Start in minutes and get help from a real person whenever you need it.

13Image pan area

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

Lessons from a year of client workshops

14Kanban columns

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

To do
Content strategy
Web design
Campaign production
Doing
Campaign production
Done
Web design

15Overflow-x hidden

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

Our team has done this many times, so you never have to guess.
Panel partly off the edge

16Overflow-y scroll always

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

We listen first, then build a plan around what you actually need.

17Notification panel

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

Notifications
We have helped more than a hundred companies launch, rebrand and grow online.
Clients stay with us for years because we treat their brand like our own.
Websites we build are fast, accessible and easy for your team to update.
Our motion team turns complex ideas into short films people actually watch.
View all

18Clip a decorative shape

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

Thoughtful design for ambitious companies

Clear prices, honest advice and no surprises along the way.

19Long word handling

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

downloads/nimbus-kit/assets/very-long-file-name-without-any-spaces-at-all.zip
downloads/nimbus-kit/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
Pro7288 GBEmail and chatUnlimited$79.57