17,417 layers in the date pickers: how I rebuilt a design system
Product design, 04.12.2026
I rebuilt a product's Figma design system, from Splash to Omni 2.0. The date pickers went from 17,417 layers to 360, the 38 comparable components lost 93% of their layers, and six got bigger. All the numbers, and how I measured them.

The date pickers in our old design system had 17,417 Figma layers. Two pickers and their two building-block sets, 40 variants in all, 435 layers per variant, nested up to 20 levels deep. In the system I rebuilt, the date picker came out at 360 layers in 11 variants, 33 per variant, at most 6 levels deep.
This autumn I replaced the product's old Figma library, Splash, with a new one, Omni 2.0. Measured the day after its first full build, on 30 October 2026, across the 38 components both systems have, 55,922 layers had become 4,105, 93% fewer. That figure hides as much as it shows, so below are the full numbers, how I measured them, and the six components that got bigger.
01
What was wrong with the old system?
Nothing you could see on the canvas. The components looked fine. The trouble was underneath, and it is the kind most libraries grow into one reasonable request at a time:
- Every combination was its own variant. The input field alone had 432 variants, one for each mix of kind, state, type, compact and label, and 12,394 layers. Text fields as a group had 505 variants.
- Components were built from private master blocks: 50 of them, hidden behind names starting with a dot, so changing one look meant finding which master it lived in.
- Deep nesting. The simple date picker was 20 levels deep at its deepest point, 563 layers per variant.
- About 90% of the colours were bound to variables. The other tenth weren't, so a change to a variable would never reach them.
Layers matter because a component is never used once. Every instance carries its whole tree into every screen file that uses it, hidden layers included, and every designer who wants to change a label digs through that tree to find it.
02
What did I change?
I took the look from the product's new screen designs and the structure from the shadcn/ui Figma kit, used only as a benchmark of how simple a component can be. Then I set the rules every component had to meet:
- At most three variant properties, from variant, size and state. Any other option is a boolean, a text property or an icon swap. That's how text fields went from 505 variants to 10: the combinations became switches.
- Auto layout everywhere, no wrapper frames that do nothing, no hidden layers unless a property shows them.
- Every colour, spacing, radius and size bound to a token: 100% of the solid fills and strokes, against about 90% before. Every text layer uses one of 16 text styles, in one typeface. No shadows.
- No private master blocks. Splash had 50; Omni 2.0 has none.
- An audit script that fails any component with an unbound colour, an unstyled text layer, a hard-coded spacing value or an effect. Every component set passed it.
- No token for a one-off. When a new screen used a radius, a colour or a spacing value once or twice, the screen moved to the nearest token, not the system to the screen.
- One measuring script for both files, written before the build started.
A one-off value on a screen is a question for that screen, not a new token.
Most of the building in Figma was done by AI agents working in parallel from that spec. I set the rules and the audit and reviewed the result; nothing went in that failed the audit.
03
Before and after, in numbers
| Measure | Splash | Omni 2.0 | Change |
|---|---|---|---|
| Component sets | 89 | 62 | −30% |
| Variants | 1,351 | 459 | −66% |
| Layers | 55,922 | 4,105 | −93% |
| Layers per variant | 41.4 | 8.9 | −78% |
| Nested instances | 17,579 | 1,048 | −94% |
| Deepest layer tree | 20 levels | 6 levels | −14 levels |
| Component properties | 218 | 260 | +19% |
| Colours bound to tokens | about 90% | 100% | about +10 points |
How I measured: one script, run on every public component set in both files. It counts every layer in every variant, starting from the variant itself, including hidden layers and everything inside nested instances, because those are layers a screen pays for. Nested instances are instances anywhere in that tree. Private building blocks count only inside the components that use them; legacy and hidden sets are left out. I mapped Splash's 89 sets onto the 38 new components, which Omni 2.0 builds from 62 sets. Charts are left out: the data visualisation was redesigned separately and isn't a like-for-like comparison.
Read the 93% with care. The date pickers and the text fields held 61% of those 55,922 layers, so two families drive the headline. The median component lost 54% of its layers. Layers per variant is the fairer measure, since the number of variants changed too: 41.4 before, 8.9 after, 78% fewer.

| Component | Variants | Layers | Layers per variant | Nested instances | Deepest tree |
|---|---|---|---|---|---|
| Date picker | 40 → 11 | 17,417 → 360 | 435 → 33 | 7,281 → 145 | 20 → 6 |
| Text field | 505 → 10 | 16,603 → 92 | 33 → 9 | 4,209 → 20 | 11 → 3 |
| Side nav | 28 → 20 | 6,208 → 309 | 222 → 15 | 1,576 → 96 | 12 → 6 |
| Select | 180 → 12 | 4,098 → 157 | 23 → 13 | 1,008 → 34 | 7 → 6 |
| Menu & list | 61 → 7 | 3,610 → 195 | 59 → 28 | 1,144 → 56 | 13 → 3 |
| Button | 134 → 118 | 1,314 → 616 | 9.8 → 5.2 | 435 → 174 | 6 → 2 |
| Top bar | 41 → 1 | 1,207 → 25 | 29 → 25 | 391 → 10 | 14 → 4 |
| Filters | 13 → 12 | 1,201 → 168 | 92 → 14 | 369 → 46 | 12 → 6 |
04
What got bigger, and why?
Six of the 38 components have more layers than before. Not one of them is an accident; in each case the new component does more than the old one did.
| Component | Layers | Change | Why |
|---|---|---|---|
| Badge | 8 → 25 | +212% | It took over Splash's separate label tag (label, count, dot) and gained neutral, success and warning: 4 → 15 variants. Layers per variant fell from 2.0 to 1.7. |
| Link | 54 → 126 | +133% | Sizes, neutral styles and a focus state: 9 → 24 variants. Layers per variant fell from 6.0 to 5.2. |
| Value indicator | 90 → 147 | +63% | A new KPI strip that holds two to four indicators, which the new screens needed. |
| Banner | 26 → 36 | +38% | Success and warning, plus an optional description, action and close. Layers per variant fell from 13 to 9. |
| Notifications | 85 → 88 | +4% | The avatar and badge inside each item are now real components. |
| Table | 5 → 144 | n/a | Splash had no table components of its own, only two small helpers; tables came from a separate library. Omni 2.0 has a header cell, a cell, a tree cell and a row. |
The table's baseline isn't a real one, so its percentage means nothing. Leaving it out moves the total by 0.2 points. Layers per variant also went up on pagination (its arrows are full buttons now), the stepper (each variant is a whole three- to five-step flow) and the tile (it now holds slots). And there are 19% more component properties, on purpose: options that used to be separate variants became switches on one.
05
Did it hold up on real screens?
A week after the first build, agents rebuilt nine representative screens from the new designs using library components only. 95.1% of their layers (5,777 of 6,075) sit inside library instances; the rest are layout frames. A separate reviewer agent checked each rebuild against the original, and the gaps they found went back into the library.
Then the first existing product screen moved over. An AI agent rebuilt it from the new library in about 19 minutes, including the fixes after a first review. It went from 2,704 layers to 1,417, and from 780 instances of the old libraries to 517, every one from Omni 2.0, none detached. It isn't like-for-like: the new frame is a different size, a few original elements weren't carried over, some cards were assembled by hand, and the agent logged ten gaps in the library. And it's one screen, so read it as an anecdote, not a benchmark.
The review of that screen by the person who runs that part of the product was the useful part. Most of the seven remarks were about copy the agent had made up without knowing the domain, not about components. The lesson: before a migration, collect a short screen brief. What the screen is for, how its objects nest, the words its users use, the one action that matters, and the screen widths people really have.
06
Why structure matters when AI builds the screens
Omni 2.0 doesn't stop at Figma. By 1 December every component also existed in code as a web component, with React and Angular wrappers generated from the same source, and a JSON Schema per component for an AI agent to read when it assembles screens. A validator checks what such an agent writes against the tokens and the rules. Wiring it into the product is still in progress, so this part is a bet, not a result.
This is where I expect the simplification to pay twice. A component with three variant properties and options named in plain words is something an agent can read from a schema and use correctly. Four hundred and thirty-two combinations of an input field aren't. I saw the same in code when I vibe-coded a large app: foundations set early are what the agent could build on.
07
What other teams can take from it
- 01
- Measure before you build, with one script for the old file and the new. Without a baseline, "simpler" is an opinion.
- 02
- Count layers per variant, not only totals. Totals reward deleting variants; per variant shows whether each component got simpler.
- 03
- Cap variant properties at three. Everything else becomes a boolean, a text property or a swap.
- 04
- Bind everything to tokens, then let a script check it, not a reviewer.
- 05
- Let some numbers grow, and say why. Coverage the product needs is worth layers.
- 06
- Say no to one-off values. Ask the screen to change before you add a token for it.
08
What these numbers don't say
- They are a snapshot. Omni 2.0 was measured the day after its first full build, on 30 October 2026. It has grown since, with variants added for real screens, and I haven't measured it again.
- Layers measure structure, not usability or speed. I haven't timed designers or developers, so I don't claim either got faster.
- Some of the drop is scope that moved, not only simpler structure. The top bar's product bar and client pickers moved to tabs and the side nav, and the empty state's seven drawn illustrations became one swappable icon.
- Charts are left out of every figure above.
If your design system has grown its own 17,000-layer date picker, this is work I do: an audit of what's there, the numbers, and a system your designers, developers and agents can actually use.
