Boxes inside boxes: why they tire readers and how to avoid them

Three companies doing different things, three well-made sites, and the same habit: everything has its frame, and inside the frame there is another one.

Everest’s site on a phone: a glass frame with the product screen inside, and a card inside that
Everest
Release’s site on a phone: a column of cards, one with six small boxes inside
Release
Cline’s site on a phone: folders with tabs, a grid frame inside, and icon tiles inside that
Cline

The sign

A frame, then a panel, then a card

Everest’s first screen on a computer: on the right a glass frame, a dark panel inside it, a card inside that, and the input box inside the card
Everest: four borders for one question
Release’s first screen on a computer: on the right four cards in a column, one with six small boxes inside
Release: six small boxes inside a card
Cline’s products section on a computer: folders with tabs, grid frames inside, tiles inside those
Cline: tiles in a frame in a folder

In all three, to reach a line of text you cross three or four borders, one inside the other. Each one has its reason on its own, but together they make the eye work for nothing.

  1. The same place

    Aurora redid each section in the same spot on its page.

  2. The same brand

    The same texts, the same logo, the same colours and typefaces.

  3. A single box

    A border stays only where it is really needed.

  4. Today and redone

    Further down, the two first screens next to each other, on a computer and on a phone.

The problem

Why boxes inside boxes tire the reader

A border is the strongest signal for saying “these things belong together”. With four borders one inside the other, the reader has to open them all, like a Russian doll, before reaching what they came for.

✕ With frames
✓ Without

The same question, with four borders and with one

On the left you cross four frames to reach the input. On the right the input is the only thing with a border, and you find it at once.

  1. The border beats the other signals

    Nielsen Norman Group calls it the principle of common region: a clear outline can override the other ways of grouping, such as proximity or similarity. NN/g, common region ↗

  2. Borders added out of caution

    In the same article: borders are often added out of excessive caution and crowd the page, when proximity alone would do, and a page divided into boxes can look finished, so whoever is looking at it stops scrolling. NN/g ↗

  3. More layers, harder to read

    Appian’s design system: more layers of borders make information harder to read, and white space can provide the structure without adding clutter. Appian, “Avoiding Clutter” ↗

  4. Never a card inside a card

    ServiceTitan’s Anvil and Equinor’s design system say so in black and white. Anvil ↗ · Equinor ↗

If everything contrasts, nothing stands out.

That is how NN/g sums up visual hierarchy (NN/g, visual hierarchy ↗). It applies to frames too: if everything has one, a frame no longer says what matters. We did not find a study on the fatigue caused by nested cards in particular: the research is about visual clutter in general, like the 2007 MIT study (MIT News ↗).

Where it comes from

How the card became the building block of every page

  1. The kit hands it over ready-made

    In shadcn/ui, the component collection several AI tools build on, the Card comes with rounded corners, a border and a shadow (“rounded-xl border … shadow-sm”) and is made of pieces that sit one inside the other. Source: shadcn/ui ↗ · the Card’s code ↗

  2. v0 starts from shadcn/ui

    Vercel writes that v0 builds pages with Next.js, Tailwind and shadcn/ui: the Card above is one of the pieces it starts from. Source: v0 ↗

  3. AIs use it for everything

    Anthropic, in the design instructions it gives Claude, lists the “SaaS-card kit” among the traits of generated design: content cut into identical rounded cards, with the same radius and the same grey shadow under each one. Source: Anthropic ↗

  4. Model makers take countermeasures

    OpenAI’s guide for GPT-5.4 of 20 March 2026 says not to use cards by default and never in the first screen, and proposes a test: if removing the border, shadow, background and corners loses nothing, it should not have been a card. Source: OpenAI ↗

The model writes the page one piece at a time and puts each piece in its own box, without looking at what is around it (an article on DEV ↗). Without guidance it picks the safe choices that dominate the data it learns from (Claude blog ↗), which is why Anthropic’s instructions hold the rule in one line: borders and dividers should say something about the content, not decorate it.

22%347 of 1,590 sites shown on Hacker News
Adrian Krebs counted the signs of mass-produced design: 347 of 1,590 sites have at least four of the sixteen he chose, including identical cards with an icon on top and coloured borders on the side of cards (Adrian Krebs ↗). Cards inside cards were not among the sixteen, so that count does not measure them.

How to do it

Separating with space, backgrounds and sizes

Without frames, lighter tools make the groups. NN/g writes that proximity beats even colour and shape (NN/g, proximity ↗), and Refactoring UI advises fewer borders and, in their place, space, backgrounds and shadows (Refactoring UI ↗).

✕ With frames
✓ Without

Space

Little space inside a group, a lot between groups: the groups show without any border.

✕ With frames
✓ Without

Backgrounds

A section on a slightly different background stands apart from the one before, with no frame.

✕ With frames
✓ Without

Sizes

A large headline with small lines below says what matters, before any frame.

✕ With frames
✓ Without

A box, if needed

The border stays for the thing you use, like the field to fill in, and it stands out because it is the only one.

If I remove it, is it harder to understand or to use?

That is OpenAI’s question to ask in front of every border. If the answer is no, the border can go, and usually the shadow and the rounded corner go with it, while if the answer is yes that box is right, and it becomes even more visible precisely because it is the only one.

First redo

Everest: the question straight on the blue

Everest

everestmanagedai.com ↗

Before: four borders one inside the other, to the right of the headline.

Everest’s first screen on a computer with the borders numbered: 1 the glass frame with the “Live Dashboard” label, 2 the dark panel, 3 the “What do you want to know?” card, 4 the input box with the controlsThe same Everest section on a phone, with the same four borders numbered
  1. The glass frame, with “Live Dashboard”
  2. The dark product screen
  3. The “What do you want to know?” card
  4. The input box with the controls

Everest’s site on 24 November 2026, on a computer at 1280 px and on a phone at 390 px.

Open Everest’s site ↗

Everest sells IT service providers support built with AI, and its first screen is well made, with a light Montserrat headline on a deep blue that fades towards grey. On the right, to show the product, there are four borders one inside the other, each with its rounded corner and its shadow, to show one question and one button.

Everest’s site is built with Lovable, and the code shows it. At the bottom of the home page (everestmanagedai.com ↗, seen on 29 November 2026) there is the line “<script src="https://cdn.gpteng.co/gptengineer.js" type="module"></script>”, the script of GPT Engineer, Lovable’s former name (Lovable, “GPT Engineer is now Lovable” ↗), and the page’s images sit in the “/lovable-uploads/” folder.

  1. The glass frame goes

    The product sits straight on the site’s blue, which is already a beautiful background and needs no extra window.

  2. The dark screen goes

    Instead of a picture of the product there is the product itself, written into the page, so sharper and readable on a phone too.

  3. The label becomes a line

    “Live Dashboard” stays, with a green dot saying it is live, as a small line above the question instead of a pill resting on the corner.

  4. A single box

    The field where you type stays, with the icons and controls, because it is the thing to use and a border really helps there.

Everest, today and redone by Aurora

Today
Everest’s first screen today, on a computer: on the right four borders one inside the other
Redone by Aurora
Everest redone by Aurora on a computer: on the right “Live Dashboard” with the green dot, the large question in white and below it a single box with the field and the controls

The question “What do you want to know?” becomes the page’s second headline, and the field is immediately understood as something to use, because it is the only thing with a border in the whole first screen. Texts, colours and typefaces (Montserrat and Open Sans) are the site’s own. On a phone the two photos show the same spot, where the frames are, and were taken on 29 November 2026.

Open the redone page

Second redo

Release: the path on a line

Release

release.com ↗

Before: a column of cards, and six more inside one of them.

Release’s first screen on a computer with the boxes numbered: 1 the pull request card, 2 the environment card, 3 the icon in its square, 4 the six small boxes Frontend, API, Postgres, Redis, Worker and Queue, 5 the quote cardThe same column of Release cards on a phone, with the same five boxes numbered
  1. The pull request card
  2. The environment card
  3. Every icon in its own square
  4. Six small boxes, each with its border
  5. The quote, in another card

Release’s site on 24 November 2026, on a computer at 1280 px and on a phone at 390 px.

Open Release’s site ↗

Release creates, for every code change, a complete test environment that switches on when needed and shuts down by itself, and its headline in jet-black Inter with green words is one of the sharpest we have seen. On the right it tells the path of a change with four cards in a column, the pull request, the environment, the ready preview and a client’s quote.

  1. The path becomes a line

    A vertical green line with three stops tells the order better than the cards in a column, which only hinted at it.

  2. Stops without borders

    The pull request and the preview are lines on the path, with the name in the code typeface and the status in a green pill.

  3. A single box, the environment

    It is what Release sells, so it keeps its box, and the six services inside are a list in three columns separated by space.

  4. The quote leaves the card

    It stands alone under the path, large, with DebtBook’s logo, and takes on the weight of something a person said.

Release, today and redone by Aurora

Today
Release’s first screen today, on a computer: on the right a column of cards, one with six small boxes inside
Redone by Aurora
Release redone by Aurora on a computer: on the right a green line with three stops, the environment box with the six services in three columns and below it the quote without a card

The path reads from top to bottom without stopping at every border, the environment box is where the eye rests, and the quote stands apart through space alone. Texts, green, Inter, icons and logo are the site’s own. On a phone the two photos show the same spot, where the frames are, and were taken on 29 November 2026.

Open the redone page

Third redo

Cline: a field of colour and three rows

Cline

cline.bot ↗

Before: folders with tabs, a grid frame inside, and tiles inside that.

Cline’s Desktop, IDE, CLI and SDK section on a computer with the levels numbered: 1 the folder with its tab, 2 the grid frame, 3 the app window with its own boxes, 4 the icons, each in its tileThe same Cline folders on a phone, with the same four levels numbered
  1. The folder with its tab
  2. The grid frame
  3. The app window, with its own boxes
  4. Every icon in its own tile

Cline’s site on 24 November 2026, on a computer at 1280 px and on a phone at 390 px.

Open Cline’s site ↗

Cline is an open source coding agent, and its site has real personality: the headline between two curly braces and a colour for each product. Below, though, Desktop, IDE, CLI and SDK sit in tabbed folders, and inside there are frames, windows and tiles: four levels.

  1. Desktop keeps its colour

    It is the new thing, so it stays a solid lilac field, without tab or grid, with the app window rising out of the background.

  2. The other three on the page

    IDE, CLI and SDK sit on the site’s light background, one below the other, separated by space and a thin line.

  3. The colour moves to the label

    IDE’s vermilion and SDK’s green stay in the name and the sentence, so each product is recognisable even without its folder.

  4. Free icons, commands in the terminal

    The editor icons stand free with their name below, while the two commands stay in their dark terminal, the only box in the column.

Cline, today and redone by Aurora

Today
Cline’s products section today, on a computer: folders with tabs, grid frames inside, tiles inside those
Redone by Aurora
Cline redone by Aurora on a computer: Desktop in a lilac field with the buttons and the app window, on the right IDE, CLI and SDK on a light background separated by thin lines

Desktop reads at once as the new thing, because it is the only one with a solid background, and the commands to copy, the only dark things in the column, are found without searching. Texts, colours, typefaces (Stack Sans Headline, Inter, Geist Mono), logo and icons are the site’s own. On a phone the two photos show the same spot, where the frames are, and were taken on 29 November 2026.

Open the redone page

Boxes inside boxes in 111 seconds

English · 111 s · subtitles included

The questions everyone asks

Cards and boxes on a website, in short

What are nested cards?

Everest’s product panel with the four numbered borders, one inside the other
Everest today: four borders for one question and one button.

They are cards, that is boxes with their own border, shadow or background, placed inside other cards: a panel in a frame, and inside it more boxes with their own border. ServiceTitan’s Anvil and Equinor’s design system say not to do it (Anvil ↗, Equinor ↗).

When does a card make sense on a website?

Everest redone by Aurora: the question on the blue and a single box, the field with the controls
Everest redone by Aurora: the only border is the field to use.

When it holds something to use, like a field or a command to copy, or when one thing has to stand apart from the rest. NN/g defines it as a container for a few short, related pieces of information (NN/g, cards ↗), and OpenAI’s guide for GPT-5.4 wants it only when it contains an interaction (OpenAI ↗).

How do you separate page sections without borders?

Cline redone by Aurora: IDE and CLI separated by space and a thin line, the command in its dark terminal
Cline redone by Aurora: space and a thin line, a single box for the command.

With space, wider between groups and tighter inside a group, then with backgrounds and with type sizes (Refactoring UI ↗, NN/g, common region ↗).

Why are AI-made websites full of cards?

function Card({ className, ...props }) {
  return (
    <div
      data-slot="card"
      className={cn(
        "flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm",
The shadcn/ui Card comes with rounded corners, a border and a shadow (the Card’s code ↗).

Because the ready-made card in the most used tools already has a border and a shadow, and v0 states that it starts from shadcn/ui (v0 ↗). Anthropic lists the “SaaS-card kit” among the typical traits of generated design (Anthropic ↗).

Should you avoid the shadcn/ui Card?

Release redone by Aurora: the stops on a line and a single box, the environment with its six services
Release redone by Aurora: a single box, for the thing the company sells.

No, it is a well-made component. Use it where a box is needed, remove the border and shadow when they add nothing, and never put one inside another (shadcn/ui ↗).

To give to your AI agent

If you build the site with an AI agent, paste these lines before it starts laying out the page, or afterwards, asking it to review the page it has already made. We wrote them to work exactly as they are.

When you lay out this page, never put a box inside another box. By box I mean any element with a border, shadow, background of its own or rounded corners that encloses other elements (card, panel, box, frame).

Separate sections and groups like this, in this order:
1. with space: more space between sections, less between things that belong together;
2. with backgrounds: a section on a background slightly different from the one before;
3. with text sizes: large headline, small line underneath.

Use a box only when it contains something to use (a form, a field, a command to copy) or when something needs to stand apart from the rest of the section. In each section at most one level of box.

For every border, shadow or background you want to add, ask yourself: if I remove it, is it harder to understand or to use? If not, remove it.

At the end, list the boxes left on the page and, for each one, why it is needed.

Photos of the Everest, Release and Cline sites taken on a computer on 24 November 2026 and on a phone, in the side-by-side pairs, on 29 November 2026. On a computer at 1280 px, on a phone at 390 px. The redesigns are Aurora’s, made for this article with the texts, colours, typefaces and logos of their sites: the companies neither asked for them nor saw them. The sources were read on 24 November 2026, the sites’ code on 29 November 2026.

The rule

A single box only where it helps something stand apart. Never one inside another.