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.



The sign
A frame, then a panel, then a card



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.
The same place
Aurora redid each section in the same spot on its page.
The same brand
The same texts, the same logo, the same colours and typefaces.
A single box
A border stays only where it is really needed.
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.
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.
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 ↗
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 ↗
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” ↗
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
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 ↗
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 ↗
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 ↗
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.
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 ↗).
Space
Little space inside a group, a lot between groups: the groups show without any border.
Backgrounds
A section on a slightly different background stands apart from the one before, with no frame.
Sizes
A large headline with small lines below says what matters, before any frame.
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.


- The glass frame, with “Live Dashboard”
- The dark product screen
- The “What do you want to know?” card
- 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.
The glass frame goes
The product sits straight on the site’s blue, which is already a beautiful background and needs no extra window.
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.
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.
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


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 pageSecond redo
Release: the path on a line
Release
release.com ↗Before: a column of cards, and six more inside one of them.


- The pull request card
- The environment card
- Every icon in its own square
- Six small boxes, each with its border
- 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.
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.
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.
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.
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


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 pageThird redo
Cline: a field of colour and three rows
Cline
cline.bot ↗Before: folders with tabs, a grid frame inside, and tiles inside that.


- The folder with its tab
- The grid frame
- The app window, with its own boxes
- 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.
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.
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.
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.
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


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 pageBoxes inside boxes in 111 seconds
The questions everyone asks
Cards and boxes on a website, in short
What are nested cards?

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?

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?

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",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?

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.