Skip to main content

Cravel · 2026 · Design system

Where search, filters, and View go in every Cravel table

I had agents draw eight directions on real data and chose one for every table. On a phone the toolbar takes 116 px, down from 244.

cravel.com.ar

The result

The table toolbar in Cravel’s design system fell apart under many filters. On a phone, four rules took 244 px before the first row of data. I ran two rounds of exploration with AI agents, eight directions in total, on the real Venues table. The synthesis takes 116 px on a phone with any number of rules. On desktop it measures the same as the patch I started from, 64 px with four rules, but the controls no longer move when a rule is added. The synthesis was promoted to the design system.

I passed on the patch, changed the brief between rounds, and chose what the synthesis kept and rejected from what the agents researched, drew, and scored. It took less than an afternoon.

The problem was in the system

Cravel is a platform for restaurants and food venues. I co-founded Cravel and share its design work with one of my co-founders. I’m redesigning the support team’s internal tool in Figma, and for Venues I asked for a full table, 458 venues, with the focus on search and filters. Every table in the design system has a toolbar with four things: search, filter rules as chips, the Filter and Clear buttons, and View, which shows or hides columns. The product UI is in Spanish: Filtrar is Filter, Limpiar is Clear, and Vista is View.

I asked to see the hard case: many filters, wrapping to two rows. Claude, acting as the orchestrator in this work, set up four real rules that leave 6 venues and solved it with a patch.

Venues table toolbar with the patch: search and View on the first row, four chips across two lines between them, Filter and Clear at the end of the second line.
The patch on desktop, 64 px. Filter and Clear sit after the last chip. The operator “es cualquiera de” (is any of) takes about a third of each chip.
Phone screen with the patch: search on top, four stacked chips, and Clear and View each on their own row.
The same case at 390 px. One chip per row, a 244 px toolbar.

I had the orchestrator review its own patch, and the review put the defect outside that screen. In the kit, Data Table / Toolbar is a single row with no wrap, and Filter / Bar holds four chips at most. With four, the bar grows and pushes View out. In the code, both wrap freely, so with many chips search ends up alone on top and View alone on a third row.

It didn’t sit right with me either. A patch would fix Venues, but the toolbar is in every table of the design system, and whatever we chose here would repeat in all of them. So instead of polishing the patch, I asked for an exploration of how search, filters, and View should share the space, run with arena-design.

A rubric before anything was drawn

The hypothesis was that the toolbar’s structure was failing, not the patch. The orchestrator turned that into six criteria and showed them to me before launching anything.

  1. Stable controls. Search, Filter, and View stay in the same place from 0 to 8 rules.
  2. Rules readable and one click away.
  3. Reach to the table, measured as the toolbar’s height with four rules.
  4. Hierarchy and rhythm. Search is the main input, View is tertiary, and no control sits alone on a row.
  5. System. Built from kit parts, with the change to the kit and the code stated.
  6. Scale. Works on a search-only table, with faceted filters, and with 8 rules.

The first three are the hypothesis. The fifth and sixth exist because the change touches every table: a solution that needs a new component can win on one screen and lose in the system.

arena-design is a skill of mine that runs several agents on one design problem in parallel. It suits this one because the solution space is small and known, four or five patterns already in production, and the difference between them shows up at the edges: the eighth rule, 390 px, the table with no filters. Without the agents, I would have drawn one direction and defended it.

  • Divergence is forced. Each candidate gets a different, named direction and doesn’t see the others.
  • The judge scores what renders. It looks at screenshots, not the candidate’s notes, because notes always sound convincing.
  • One whole base, with grafts. Never average. The midpoint between two good layouts is usually a bad one.
arena-design on GitHub

Round 1: stable controls beat a shorter toolbar

Research came from Mobbin and returned four named patterns. Each became a direction, drawn by its own agent on the same four Venues screens.

  • A · Single flow. Filter and the chips follow search on the same line and wrap. The first line of chips starts after Filter and the second at the left edge, so the rules read from two edges.
Round 1 direction A: search, Filter, and two chips on the first line, then two more chips and Clear on the second.
  • B · Two tiers. A fixed row of controls on top, and the chips below, shown only when there are rules. Every chip starts at the search’s edge and Clear stays fixed under View. With four rules the fourth chip drops alone to another row, and the toolbar reaches 100 px.
Round 1 direction B: search, Filter, and View on top. Below, three chips on one row and a fourth alone on another, with Clear under View.
  • C · Summary and panel. One line with two chips and a “+2”. The shortest, 28 px, and with four rules only two are readable.
  • D · Search as query. Rules are tokens inside the search box. Where you type moves with each rule.

The judge, a separate agent, scored the screenshots against the rubric. Out of 30: B 26, A 23, C 22, D 19.

Scores by criterion
CriterionCriterionAA · Single flowBB · Two tiersCC · Summary and panelDD · Search as query
1. Stable controls4552
2. Rules readable, one click4524
3. Reach to the table4345
4. Hierarchy and rhythm3443
5. System4532
6. Scale in the design system4443
Total (out of 30)23262219

A measured 64 px with four rules against B’s 100, and it looked like the winner. B won on stable controls, readable rules, and system fit, and I agreed: in A, Clear shifts with every rule and the chips start at two edges. A more compact chip, the judge noted, could bring B down to 64.

The judge also listed what nobody solved, most of it on the phone. A and B had come out the same there, one chip per row and 172 px.

The four round 1 phone screens side by side on a gray background, each showing the Venues table with four filters applied.
Round 1 on the phone, four filters each. The first two are A and B, nearly the same layout. The third, C, shows no rules at all.

Round 2: I changed the brief for the phone

Round 1 gave the phone one screen per candidate, and that’s where most of the open problems were. So in round 2 the phone weighed as much as desktop, the chip’s anatomy could change if the change was stated, the result (“6 of 458 venues”) sat next to the rules, and 1280 had to be tested. The rubric gained a seventh criterion, complete phone.

The research went past Mobbin to public design systems like Helios, PatternFly, and Linear, and to phone patterns like the scrolling chip row in Wise and the chip without an operator in GitHub iOS.

  • A · Compact two tiers. Round 1’s winner with a chip that hides the operator “is any of”. All four rules fit on one row. Clear is still on top, next to Filter, and “Scheduled cancellation” still says “is true”.
Round 2 direction A: search, Filter with a count, and Clear on top. Below, four compact chips on one row with “6 de 458 locales” on the right.
  • B · Rules live in a panel. Four chips, and the rest summarized as a “+4” line of text that opens a panel.
  • C · Always one line. A chip row cut off by a fade and a “See all 8”.
  • D · Fixed frequent fields. The most-filtered fields always live as dashed chips. The toolbar takes 64 px with no rule applied.

On the phone, A, C, and D reached the same solution without seeing each other: controls on top, a horizontally scrolling chip row, and a band with the result and Clear. 116 px, all three. B broke away with a one-line summary that names the fields and opens a sheet, in 76 px.

The four round 2 phone screens side by side on a gray background. Three show a row of filter chips cut off at the right edge, and one shows a single summary line with a chevron.

Out of 35: A 31, B 28, D 26, C 25. A won on readable rules, system, and scale. It’s the only one that shows all 8 rules in full on desktop, each with an X, needs no new components, and drew the scale cases: a search-only table and a table with faceted filters.

Scores by criterion
CriterionCriterionAA · Compact two tiersBB · Rules in a panelCC · Always one lineDD · Fixed frequent fields
1. Stable controls5554
2. Rules readable, one click4334
3. Reach to the table4544
4. Complete phone4533
5. Hierarchy and rhythm4433
6. System5344
7. Scale in the design system5334
Total (out of 35)31282526

The synthesis: one base, four grafts

The base is A. The judge scored B higher on the phone, but a different base for 390 px wasn’t needed. A already had a filter sheet, so changing its contents was enough. The grafts, with their source:

  • From B, the phone sheet. One rule per row with its X, “Add filter” at the end, and Clear and “See 6 venues” in the footer.
  • From C, Clear fixed under View, shown from the second rule on. With a single rule, the chip’s X is enough.
  • From D, “Remove filter” in the editor, so there aren’t two “Clear” buttons with different scopes.
  • From D, Filter stays enabled on the phone when all eight fields already have a rule. It opens the sheet, which explains: “There’s already a rule for every field.”
A phone filter sheet over the dimmed Venues table: eight rows with field, operator, value, and an X, a disabled Add filter with a line of explanation, and Clear and a primary button in the footer.
B’s sheet, source of the first graft. It was the only round 2 sheet with an X on every row.

The rejections are the part of the record I’ll use most, because someone will propose them again.

  • The fade cut and “See all 8” from C. It hides rules where there’s room to spare and requires measuring how many chips fit.
  • The “+4: fields” from B on desktop. It’s text that doesn’t look like a control, and it costs one more click per rule.
  • The fixed frequent fields from D. They cost 64 px even with no filters, and chips shift when an earlier one is filled in.
  • Tokens inside the search box from round 1. The cursor moves with each rule.
Synthesis toolbar with four rules: search, Filter with a count of 4, and View on top. Below, four compact chips on one row, with “6 de 458 locales” and Clear on the right, under View.
The synthesis with four rules. Clear moved down to tier 2, aligned with View.
Synthesis toolbar with eight rules on two rows of chips, the Filter button disabled, and a tooltip over it.
Eight rules. “is false”, “before”, and “between” stay visible. Only “is any of” and “is true” are hidden.

One change reaches past the toolbar: the chip stops showing the default operator, so “Subscription · is any of · Active” becomes “Subscription · Active” and “Scheduled cancellation” drops “is true”. Both stay in the aria-label. That change is what fits four rules on one row at 1440 and at 1280.

Synthesis toolbar at 1280 wide with four chips on one row, and “6 de 458 locales” and Clear on the right.
At 1280 the four rules stay on one row and the toolbar takes 64 px.
WidthRulesPatchRound 1 winnerSynthesis
1440464 px100 px64 px
14408not drawn136 px100 px
12804not drawnnot drawn64 px
3904244 px172 px116 px
3908not drawnnot drawn, over 300 px per the judge116 px
Six synthesis phone screens side by side on a gray background: the table with no filters, with one chip, with a scrolling chip row for four and for eight rules, a rule editor open from the bottom, and a sheet listing all eight rules.
The synthesis on the phone: no filters, one, four, eight, a rule’s editor, and the sheet. The third and fourth screens take the same height above the table.

Where the process could fool me

Eight agents produce a lot of material that looks like evidence, so I distrusted the agreements. When all four round 2 candidates hid the same operator, they were following the brief. I accepted the phone convergence as robust, knowing robust doesn’t prove best.

Two things kept it honest: real content and a judge that scored screenshots. The real Venues data surfaced a 278 px chip that lorem ipsum would have hidden, and a candidate’s notes got its own toolbar height wrong.

What it was worth

The first option I saw was the patch, and it would have become the toolbar of every table. The skill put eight directions side by side on real data before I committed to one, and that’s where I understood the problem: why controls that move are worse than a taller toolbar, and why the phone needed its own answer.

Overview of a Figma page on a dark canvas: a summary card top left, four stacked sections of screens in one column, four more in a second column, and a smaller section on the right.

For a component that every table repeats, an afternoon is a small price for not settling on the first idea.

Next

If the interface is how your product works, write me.

© 2026 Renzo Bianchi

Last updated