You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Thin the app shells: move repeated consumer widgets into eggshell #351
Later candidates, seen once each: an a11y pattern for breadcrumbs, a stepped-track slider (timeline). Insight's own inventory will be folded in when it arrives.
Placement decision (user, 2026-11-17): cover as much of shadcn's toolkit as possible, but not in the core crate.
Core: primitives and universal controls (button, checkbox, select, text field, slider…).
crates/eggshell-ui-extras: composites such as accordion, carousel/gallery, badge, chip, spinner, tabs, notifications and combobox/command. Each is feature-gated and built only on core's public API. Styles live in extras; shadcn values go behind the shadcn crate's extras feature, like Markdown.
Core gaps: a gap in core's API is fixed with a small public core primitive, not a #[doc(hidden)] back door.
Audit: which core controls could move to eggshell-ui-extras
Read-only audit of origin/main at cb0c520, against the placement rule above. Core keeps the primitives and the universal controls. Composites go to extras, feature-gated and built only on core's public API. Gaps are closed with small public core primitives. keyed_under and report stay the only #[doc(hidden)] exceptions.
Summary
module
lines
recommendation
primitives needed to move it
owned/table.rs
620
MOVE
NodeHandle::hover_by_rect made public (P6). Cells use the existing keyed_under exception.
owned/progress.rs
248
MOVE
Colors::classes (P4), the public version of painted. Optional: NodeHandle::live (#347).
owned/toggle_group.rs
138
MOVE
ToggleChain::role(Role) / ButtonChain::role (P9). Optional: roving nav + Nav::Row (#346).
owned/segmented.rs
368
MAYBE
P1 enablement(), P2 control_size(), P3 Look::classes + Enablement::fade, P5 Keyed::lookup, P7 tile_hits, P8 whole-control tooltip, plus #346's selected and nav
owned/toggle.rs
197
KEEP
(would need ButtonChain::marked; its looks are part of ButtonStyle)
Not needed by any move: Builder::text_style, FieldHooks, Autofocus, Edits, ValueRange::clamp/checked, nav::highlight_initially, room_for, sizes_pane, pane_rect, input_trace, transition::animate. Only KEEP modules use them.
What the planned items unblock
Look::classes / Paint::classes: segmented (segmented.rs:263). Among the KEEPs it also covers button (button.rs:556), select (select.rs:217), slider (slider.rs:309) and stepper (stepper.rs:250), so later extras composites (badge, chip, tabs) do not re-derive looks.
Builder::control_size() / enablement(): segmented (segmented.rs:218,239). Every extras composite needs them.
Combobox and Command palette (searchable pickers) #345 C1–C4: none of the moves. C1 gives core's select trigger its popup semantics. C3 is TextFieldChain::role. C4 is Command::is_enabled / run. All of these concern KEEP modules or the new combobox and command palette.
Net: with P4, P6 and P9, three XS additions, the three MOVE items move today. Segmented additionally needs P1–P3 (planned), P5, P7, P8 and #346's selected/nav.
Details per module
Line references are to origin/main. "Private" means pub(crate), pub(super) or module-private.
owned/table.rs: 620 lines. MOVE
What it is: a grid table (b.table(key)) with header, footer, striped bodies and single selection. Roles: Table / Row / ColumnHeader / Cell.
div_id(key, ..), and b.id_of(band) for handle.id().
Cells keyed under the row band → keyed_under (existing exception).
ui.node_id().
P6hover_by_rect.
TableStyle moves to extras (TableStyle::of(ctx), from_style, as MarkdownStyle does).
Core dependants: none in core. Extras' markdown uses owned::{Cells, Column, Align} (markdown/build.rs:8, parse.rs:6), so the markdown feature would enable table.
MOVE: shadcn's Table is a composite, and the only core gap is one interaction flag.
Break for apps:
eggshell-ui-extras with features = ["table"] and use eggshell_ui_extras::table::TableExt;. b.table(..) keeps its name.
The Progress newtype stays in core (transitions use it).
owned/toggle_group.rs: 138 lines. MOVE
What it is:ToggleGroup plus b.toggle_item(&group, value, face): toggles where one member is on, each Role::RadioButton, placed anywhere below the builder.
Private items it uses:
ToggleChain::new / member (pub(super), toggle.rs), which sets ButtonChain::role(RadioButton) (button.rs:294)
Member fields (pub(super))
key::child_id, which is already public as eggshell_ui::child_id
Core dependants: none in core. Tabs (Tabs: tab list + panels with roles, roving arrow keys, and the panel switch #346, extras) plans to share its look through SegmentedStyle::track / cell kept in core. The control is used across the core test suite: control_size, inert_look, tooltips, state_stable, duplicate_key, contract_gaps, snapshots and several examples.
MAYBE: feasible, and moving it next to Tabs puts the two "pick one of N" strips in one crate. But it needs six primitives, and Tabs: tab list + panels with roles, roving arrow keys, and the panel switch #346 already chose to keep it in core with public class methods. It is a radio-group skin, which is arguably universal.
Break for apps:
features = ["segmented"] and SegmentedExt.
Cell and SegmentedChain move path.
Style::segmented moves to extras, and the preset's segmented block (preset.rs:439–479) moves under shadcn's extras feature.
owned/toggle.rs: 197 lines. KEEP
What it is: a button that shows on or off (aria-pressed), over bool or two values.
Private items it uses:ButtonChain::new / marked / role (pub(super), button.rs:263,288,294), flip (owned/mod.rs:119), Unset.
Replacements: a public ButtonChain::marked(Mark) would let it move.
Core dependants: toggle_group. Its looks (toggle_on / toggle_off / toggle_sizes) are part of ButtonStyle (button.rs:534–552; preset.rs:378).
KEEP: a pressed state is a button state. Moving it either leaves its looks in core or splits ButtonStyle.
—
owned/stepper.rs: 409 lines. KEEP
What it is: a number input: a field plus up and down buttons, typed sessions, Edit began/ended.
Replacements: it would need P1–P3, P5 and P8, plus public FieldHooks, Autofocus::apply, select_on_focus, Edits and ValueRange::clamp / checked. These are about 7 new surfaces.
What it is: the shared control helpers (Enablement, Mark, OnResponse, FieldHooks, tooltip glue, describe, Look / Paint::classes, field classes) and the Builder methods.
Private items it uses: —
Replacements: P3 and P4 are exactly its helpers made public.
Icon (public) and the internal Prim enum that measure, draw, testing and debug use. A primitive.
Break summary for apps if the three MOVEs land
A dependency on eggshell-ui-extras with features = ["table", "progress", "toggle-group"], and one extension-trait import per widget (TableExt, ProgressExt, ToggleGroupExt). Call sites keep their names.
Type paths move from eggshell_ui::owned::… to eggshell_ui_extras::<widget>::….
Style::table and Style::progress leave core's Style. Their styles become TableStyle::of(ctx) / ProgressStyle::of(ctx) in extras, derived from Style like MarkdownStyle, and shadcn values sit behind eggshell-ui-shadcn/extras. An app that edits style.table or style.progress installs the extras style instead.
In flight before them: Notifications #347, Accordion #350, the screenshot flake #367 (with #360 and #357), Tabs #346 (blocky), and #315 stage 1 plus #353 (wordy-guy).
shadcn audit: eggshell's claims against the pinned snapshot (f50887a, 2026-11-19)
Read-only; no code changed. Sources are only apps/v4/registry/ and apps/v4/content/docs/components/ of the snapshot. S = apps/v4/registry/styles/style-vega.css, B = apps/v4/registry/bases/radix/ui/. Ours = the Vega style of crates/eggshell-ui-shadcn (preset.rs, tokens.rs, styles.rs) on main, and the PR branches for #401, #411 and #415. Rows are grouped structural, then visual; "none" rows are claims that match.
A select-like trigger (label plus chevron) that opens a popover holding a search field and the list (command/mod.rs combobox, placement below().gap(menu.offset))
ComboboxInput: an InputGroup whose input is the trigger (you type in place) and an InputGroupButton variant="ghost" size="icon-xs" ChevronDown at inline-end; optional clear (X); the popup holds only the list (+ empty), no search field. Popup sideOffset=6, min-w = anchor + 7 units, w = anchor width
B combobox.tsx:78-99 (input), :103-135 (content, sideOffset = 6); S:296-298, :324-326
Note says shadcn's × is "bare 16 px at top-4 right-4"; ours is ghost icon-sm at top-2 right-2 (L-D3 (a))
Button variant="ghost" size="icon-sm" (32 px) with cn-dialog-close absolute top-4 right-4. So option (c) "icon-sm at top-4" is shadcn's; the premise of (a) is wrong
B dialog.tsx:67-69; S:471-473
structural (a design claim in the note is wrong)
Select popup position
Opens below the trigger like a popper
Radix default is position="item-aligned": the list opens over the trigger with the selected item aligned on it; popper only when asked. Item check indicator absolute right-2, items pr-8 pl-2
Bar h-9 gap-1 rounded-md border p-1 shadow-xs; trigger rounded-sm px-2 py-1 text-sm font-medium hover:bg-muted aria-expanded:bg-muted; content min-w-36; checkbox and radio items have the indicator on the left (pl-8, left-2, rounded-md), unlike dropdown-menu (pr-8, indicator right-2); label text-sm font-medium with no muted colour
Sonner; the only shadcn class is cn-toast = rounded-2xl; colours --normal-bg=popover, --normal-text=popover-foreground, --normal-border=border, --border-radius=var(--radius); icons size-4
B sonner.tsx:70-85; S:1245-1247
none yet
Visual: classes (preset)
Component
Our value
shadcn's value
Source
Severity
Button padding / gap
px-4 py-2 (button_padding 16, 8), gap 8
px-2.5 (10), gap-1.5 (6), has-icon px-2; sm px-2.5 gap-1; xs h-6 px-2 text-xs gap-1; lg h-10 px-2.5
on = accent/accent-foreground; hover fill muted, text muted_foreground; px 8, gap 8
on = bg-muted (aria-pressed:bg-muted); hover only changes the text to foreground (no hover fill, except the outline variant's hover:bg-muted); px-2.5, gap-1; outline variant border-input hover:bg-muted shadow-xs; toggle-group item on bg-muted, px-2 in a spacing-0 group
S:1343-1376
visual
Input
padding px-3 py-1 (12, 4)
px-2.5 py-1 (10, 4), bg-transparent (light), dark:bg-input/30; no hover fill
Surface(background, foreground, border).rounded(radius), border 1 px; body p-6 gap-4; max width 448 in the example, note says max-w-lg; title "text-lg semibold"
bg-popover text-popover-foreground, ring-1 ring-foreground/10 (no border), rounded-xl, p-6 gap-6, sm:max-w-md (448), title leading-none font-medium (not text-lg, not semibold), header/footer gap-2, description text-sm muted, duration-100
S:468-489
visual (note values wrong: gap, max width, title)
Dialog scrim
black/80 (204), "shadcn's overlays are bg-black/50"
bg-black/10 with backdrop-blur-xs, duration-100 (dialog and alert dialog)
not in the audit scope; no counterpart claim found
n/a
What I could not verify from the snapshot
--radius (10) and --radius-* multipliers: the global CSS (apps/v4/app/) is not in the sparse checkout.
typeset.css (the Markdown Typeset defaults): not in the snapshot.
Accordion open/close keyframes and the animate-* utilities' exact curves.
Behaviour of Select, Tabs and Toggle Group from the docs mdx was only sampled (hover-card delays, tooltip), not audited line by line.
Pattern
Where the Vega preset disagrees, it is mostly because it was written from an older Vega: padding and hover opacities of the previous new-york, and a solid destructive button. Our Lyra style already uses several values that the snapshot's Vega has (muted hover, tinted destructive, color-mix secondary hover). Decisions are the user's.
Activity
samitbasu commentedon Nov 18, 2026
Placement decision (user, 2026-11-17): cover as much of shadcn's toolkit as possible, but not in the core crate.
extrasfeature, like Markdown.#[doc(hidden)]back door.samitbasu commentedon Nov 18, 2026
Audit: which core controls could move to
eggshell-ui-extrasRead-only audit of
origin/mainatcb0c520, against the placement rule above. Core keeps the primitives and the universal controls. Composites go to extras, feature-gated and built only on core's public API. Gaps are closed with small public core primitives.keyed_underandreportstay the only#[doc(hidden)]exceptions.Summary
owned/table.rsNodeHandle::hover_by_rectmade public (P6). Cells use the existingkeyed_underexception.owned/progress.rsColors::classes(P4), the public version ofpainted. Optional:NodeHandle::live(#347).owned/toggle_group.rsToggleChain::role(Role)/ButtonChain::role(P9). Optional: rovingnav+Nav::Row(#346).owned/segmented.rsenablement(), P2control_size(), P3Look::classes+Enablement::fade, P5Keyed::lookup, P7tile_hits, P8 whole-control tooltip, plus #346'sselectedandnavowned/toggle.rsButtonChain::marked; its looks are part ofButtonStyle)owned/stepper.rsFieldHooks,Autofocus,select_on_focus,Edits,ValueRange::clamp/checked,announces)owned/splitter.rssizes_pane,pane_rect,size_in_flight,Builder::flex)owned/select.rsroom_for,nav::highlight_initially,kept,menu::Tone)owned/menu.rsMenusinKept, commands)owned/slider.rsinput_trace,TextLeaf,Autofocus,Edits)owned/button.rsaction,command,announces)owned/checkbox.rsowned/radio.rsnav)owned/switch.rstransition::animate)owned/field_box.rsowned/custom.rsowned/choice.rsChoice/IntoChoice)owned/number.rsValueRange,Step,Edit,Edits)owned/mod.rsbuilder.rsanddraw.rscall into it)prim/text_field.rsprim/mod.rsIcon,Prim)Counts: 21 modules. 3 MOVE (1,006 lines), 1 MAYBE (368 lines), 17 KEEP.
Note: most of what the controls use privately already has a public equivalent.
Slot/slot/claim/scope_with/div_id_with→ the chain stores itsK: Key, thendiv_id/scope/id_of.leaf/leaf_with→Builder::custom(..).measure(..).tip/tipped→NodeHandle::tooltip/tooltip_with. The chain stores the text or anArcof the builder untiladd.described/describe→NodeHandle::role+named, plus egui'sResponse::widget_info/accesskit_node_builderin a draw closure.nav::take_activation→NodeHandle::on_click, which already takes keyboard activation.draw::node_id_or_report→NodeUi::node_id.check()/Chevron→Icon::new(icons::…).OnResponse→ a 10-lineOption<Rc<dyn Fn>>.The real gaps are the style-to-classes helpers and three interaction flags (
hover_by_rect,tile_hits, the whole-control tooltip).Public primitives needed across the MOVE and MAYBE items (deduplicated)
Builder::enablement(): the inheritedinertenablementBuilder::enablement_of(builder.rs:197)Builder::control_size(): the inherited sizeBuilder::size_of(builder.rs:204)Look::classes/Paint::classes, plusEnablement::fade/apply/colorsowned/mod.rs:394,410,159,168,185Enablementmethods are not yet listed)Colors::classes(Tw) -> Tw: fill, border and text,select_nonepainted(owned/mod.rs:384),slider::track_classes(slider.rs:122)Twcalls, at the cost of a drift copy.Keyed::lookupmade public:get, reportingMissingStyleEntrycontract.rs:108get+reportworks today)NodeHandle::hover_by_rect: hovered over its rect, also under a siblingbuilder.rs:1950NodeHandle::tile_hits: sensing children tile the padding boxbuilder.rs:1957tipped_whole,tip_describes(owned/mod.rs:344,352→tooltip.rs:384,404)ToggleChain::role(Role)(orButtonChain::role)ButtonChain::role(button.rs:294),ToggleChain::member(toggle.rs,pub(super))NodeHandle::selected(bool)+NodeHandle::nav(Nav)+Nav::Rowradio.rs:223–245,key::viewport_id)NodeHandle::live(Live)keyed_underslot_of(band.with(("cell", column)))(table.rs:589)Not needed by any move:
Builder::text_style,FieldHooks,Autofocus,Edits,ValueRange::clamp/checked,nav::highlight_initially,room_for,sizes_pane,pane_rect,input_trace,transition::animate. Only KEEP modules use them.What the planned items unblock
Look::classes/Paint::classes: segmented (segmented.rs:263). Among the KEEPs it also covers button (button.rs:556), select (select.rs:217), slider (slider.rs:309) and stepper (stepper.rs:250), so later extras composites (badge, chip, tabs) do not re-derive looks.Builder::control_size()/enablement(): segmented (segmented.rs:218,239). Every extras composite needs them.b.styled(..)(Scoped style override: b.styled(edit, children) #355): unblocks no move. Conflict: Scoped style override: b.styled(edit, children) #355's tests name a table insidestyled. If table moves with itsTableStyleinto extras,styledmust also reach extras' style types, or the test moves to a core control.NodeHandle::nav+Nav::Row(+selected, Tabs: tab list + panels with roles, roving arrow keys, and the panel switch #346): segmented's arrow keys and a11y, toggle_group's arrow keys, and radio's private roving copy (KEEP, but it gets deleted).NodeHandle::live(Notifications: transient toasts and a persistent notice stack #347): progress announcements (optional).TextFieldChain::role. C4 isCommand::is_enabled/run. All of these concern KEEP modules or the new combobox and command palette.Net: with P4, P6 and P9, three XS additions, the three MOVE items move today. Segmented additionally needs P1–P3 (planned), P5, P7, P8 and #346's
selected/nav.Details per module
Line references are to
origin/main. "Private" meanspub(crate),pub(super)or module-private.owned/table.rs: 620 lines. MOVEb.table(key)) with header, footer, striped bodies and single selection. Roles:Table/Row/ColumnHeader/Cell.Slot(11,123),b.slot(134),b.slot_of(589),div_id_with(315,592),b.reborrow(430)NodeHandle::hover_by_rect(413),NodeHandle::id(414)draw::node_id_or_report(608)TableStylefromcontractdiv_id(key, ..), andb.id_of(band)forhandle.id().keyed_under(existing exception).ui.node_id().hover_by_rect.TableStylemoves to extras (TableStyle::of(ctx),from_style, asMarkdownStyledoes).owned::{Cells, Column, Align}(markdown/build.rs:8,parse.rs:6), so themarkdownfeature would enabletable.eggshell-ui-extraswithfeatures = ["table"]anduse eggshell_ui_extras::table::TableExt;.b.table(..)keeps its name.owned::{Align, Cells, Column, Selectable, Selected, TableChain, Unselectable}move path.Style::table/TableStyleleave core'sStyle.owned/progress.rs: 248 lines. MOVERole::ProgressIndicator, 0–100), drawn like the slider's track.Slot(8,86),b.slot(96),div_id_with(154)tip(147),tipped(160),TipContent/Content(7,89,121,133)slider::track_classes(6,150), which ispainteddiv_id.NodeHandle::tooltip/tooltip_with.Colors::classesfor the track and fill.widget_info,accesskit_node_builder).ProgressStylemoves to extras.track_classes.features = ["progress"]andProgressExt.ProgressChainmoves path.Style::progress/ProgressStyleleave core.Progressnewtype stays in core (transitions use it).owned/toggle_group.rs: 138 lines. MOVEToggleGroupplusb.toggle_item(&group, value, face): toggles where one member is on, eachRole::RadioButton, placed anywhere below the builder.ToggleChain::new/member(pub(super), toggle.rs), which setsButtonChain::role(RadioButton)(button.rs:294)Memberfields (pub(super))key::child_id, which is already public aseggshell_ui::child_idb.toggle(MemberKey, face, current == value)+ P9.role(Role::RadioButton)+on_change(public). Optional: Tabs: tab list + panels with roles, roving arrow keys, and the panel switch #346'snav(Nav::Row)for arrow keys, which it lacks today.features = ["toggle-group"]andToggleGroupExtforb.toggle_item(..).ToggleGroup,MemberandToggleItemChainmove path.ButtonStyle's toggle looks.owned/segmented.rs: 368 lines. MAYBECell).Slot(14,69,298),b.slot(98),div_id_with(311)enablement_of(218),size_of(239),Keyed::lookup(239),tile_hits(362)tip(217),tipped_whole(365),tip_describes(338),Tooltip::text(330)described(336),OnResponse(11,79,109,303)centered(263),Paint::classes(263),Enablement::fade(253) /and(330)NodeHandle::tooltip.described→role+named+ eguiWidgetInfo::selected, or Tabs: tab list + panels with roles, roving arrow keys, and the panel switch #346'sNodeHandle::selected.SegmentedStyle::track/cellkept in core. The control is used across the core test suite:control_size,inert_look,tooltips,state_stable,duplicate_key,contract_gaps,snapshotsand several examples.features = ["segmented"]andSegmentedExt.CellandSegmentedChainmove path.Style::segmentedmoves to extras, and the preset's segmented block (preset.rs:439–479) moves under shadcn'sextrasfeature.owned/toggle.rs: 197 lines. KEEParia-pressed), overboolor two values.ButtonChain::new/marked/role(pub(super),button.rs:263,288,294),flip(owned/mod.rs:119),Unset.ButtonChain::marked(Mark)would let it move.toggle_on/toggle_off/toggle_sizes) are part ofButtonStyle(button.rs:534–552;preset.rs:378).ButtonStyle.owned/stepper.rs: 409 lines. KEEPEditbegan/ended.Slot,slot(74),claim(267),scope_with(268),leaf(274),announces(297)enablement_of(201),size_of(204),lookup(204)tip(200),tipped_whole(310),tip_describes(300,376),described(299)FieldHooks(11,60,84,322),Autofocus(16,…,324)field_box_classes(216),text_sized(238),centered(238,250),Paint::classes(250),Enablement::colors(229),Chevron(288)number::pressed(363),Edits,ValueRange::checked(199) /clamp(388)text_field::select_on_focus(prim/text_field.rs:36)FieldHooks,Autofocus::apply,select_on_focus,EditsandValueRange::clamp/checked. These are about 7 new surfaces.Editslogic with the slider readout (Slider readout: open signal, typed range, readout-only control, tone #328). Moving it would fork that logic.<input type=number>), and the move cost is high.owned/splitter.rs: 522 lines. KEEPSlot/slot(212),div_id_with(361)Builder::flex(322),size_in_flight(358),sizes_pane(363)draw::pane_rect(13,386),plane::Axis(14,…)transition::animate(495),node_id_or_report(494)number::hold_arrows/pressed(465,480)Sideis used bydraw.rs:32,pipeline.rs:28andbuilder.rs:1977.owned/select.rs: 407 lines. KEEPComboBoxtrigger plus a listbox overlay).room_for(341) /pipeline::Roomnav::highlight_initially(366),b.kept()(366)menu::Toneandrow_classes/box_classes(12,331,…)number::hold_arrows/pressed(13,246,250)enablement_of,size_of,lookup,Paint::classes(217),fade(227),tip,tipped,describe,check,Chevronowned/menu.rs: 1069 lines. KEEPMenusinKept(kept.rs:17),open_focus(528),OverlayChaininternalscommands::Bound(303),b.command(281),nav::take_activation(546)number::hold_arrows/pressed(541,556)painted,describe,check,Chevron,enablement_of,slot,reborrowNodeHandle::context_menu(builder.rs:1987–2002),Placed::menu_open, select (Tone). It depends on button.owned/slider.rs: 641 lines. KEEPinput_trace(19,553,609),measure::TextLeaf(469),draw::node_text(468)Autofocus(18,593),finite::clamp(97,284,527)Edits,number::*(104–112),announces(534),leaf(585),claim/scope_with(354)FieldBoxChain::new(574),text_fieldinternals,Paint::classes(309),painted,tipped_whole,tip_describestrack_classes). Readout features in Slider readout: open signal, typed range, readout-only control, tone #328.owned/button.rs: 594 lines. KEEPNodeHandle::action(583),announces(581),b.command(453)enablement_of/size_of(518–519),lookup(538–551),Look::classes(556),fade(568)tip(517),described(587),nav::take_activation(588)DropdownChain, triggers), toggle, toggle_group,Commands.owned/checkbox.rs: 239 lines. KEEPclaim/scope_with(207–208),enablement_of(187),size_of/lookup(192),Paint::indicator(197),choice_row(210),choice_label(232),check(221),flip(188),tip(186),described(225).choice_row/choice_label/indicatorwith radio and switch.owned/radio.rs: 260 lines. KEEPnumber::hold_arrows/pressed, 223–226;key::viewport_id, 245)claim/scope_with(118–119),enablement_of,size_of/lookup(105),indicator(137),choice_row,choice_label,describedNodeHandle::nav+Nav::Rowreplaces the roving copy.owned/switch.rs: 270 lines. KEEPtransition::animate(205,238),claim/scope_with(202–203),enablement_of,size_of/lookup(191),Enablement::colors(213),choice_row,choice_label,flip,tip,described.owned/field_box.rs: 88 lines. KEEPb.field_box(key), the input frame that holds a field and what sits beside it.Slot/slot/reborrow(24–25),div_id_with(86),enablement_of/size_of(69–70),lookup(72),field_box_classes(73),text_sized(84).prim/text_field.rs:278), the slider readout (slider.rs:574).owned/custom.rs: 136 lines. KEEPb.custom(key, classes), a measured leaf hosting egui content.slot(45),leaf_with(120),tip/tipped(118,128).leaf. Extras replacesleaf/leaf_withwith it. CustomChain::tooltip doesn't add hover sensing, so the tooltip never shows unless the classes sense hover #244 is open against it.owned/choice.rs: 116 lines. KEEPChoice/IntoChoice.Enablement.owned/number.rs: 307 lines. KEEPValueRange,Step,Edit(public), plusEdits,hold_arrows,pressed,steps_pressedandValueRange::clamp/checked(pub(super)).draw::node_id_or_report(282),finite::clamp.owned/mod.rs: 830 lines. KEEPEnablement,Mark,OnResponse,FieldHooks, tooltip glue,describe,Look/Paint::classes, field classes) and theBuildermethods.builder.rs:1934(tipped),draw.rs:617,621,721(describe),commands.rs:26/builder.rs:23(Enablement,Mark).prim/text_field.rs: 322 lines. KEEPmeasure/showpublic, plusTextFieldChain).Slot/slot/reborrow(75–76),leaf(286),leaf_with(311),size_of(258),lookup(305),FieldHooks(16,80,105),Autofocus/Token(14,…,193),FieldBoxChain::new(278),text_sized/text_field_classes(305,309).TextFieldChain::role.prim/mod.rs: 75 lines. KEEPIcon(public) and the internalPrimenum that measure, draw, testing and debug use. A primitive.Break summary for apps if the three MOVEs land
eggshell-ui-extraswithfeatures = ["table", "progress", "toggle-group"], and one extension-trait import per widget (TableExt,ProgressExt,ToggleGroupExt). Call sites keep their names.eggshell_ui::owned::…toeggshell_ui_extras::<widget>::….Style::tableandStyle::progressleave core'sStyle. Their styles becomeTableStyle::of(ctx)/ProgressStyle::of(ctx)in extras, derived fromStylelikeMarkdownStyle, and shadcn values sit behindeggshell-ui-shadcn/extras. An app that editsstyle.tableorstyle.progressinstalls the extras style instead.markdownfeature enablestable.samitbasu commentedon Nov 18, 2026
Added from a consumer's widget review (2026-11-18):
The review's own recommendations (adopt table, icons and icon buttons now; pane host, pole–zero, traces, stats stay in the app) are consumer-side.
samitbasu commentedon Nov 18, 2026
Queue (user, 2026-11-18): design notes, then builds, started as workers free up (at most 3 subagents, plus the two peers), in this order:
widest_of/ absent (Badge and Chip: owned labels, with an optional remove (×) and click #349 follow-up) + stable-width text (Stable-width text: reserve the widest of a set of strings #129)testing::Driver(testing::Driver: an interactive test driver (click, drag, type, press, settle) #373), then migrate eggshell's own tests onto itIn flight before them: Notifications #347, Accordion #350, the screenshot flake #367 (with #360 and #357), Tabs #346 (blocky), and #315 stage 1 plus #353 (wordy-guy).
samitbasu commentedon Nov 18, 2026
Queue additions (user, 2026-11-18), after item 5: hover card #376, menubar #377, skeleton #378, carousel #379, navigation menu #380.
samitbasu commentedon Nov 18, 2026
Build queue (all notes decided, user 2026-11-18), at most 3 subagents at a time:
samitbasu commentedon Nov 19, 2026
shadcn audit: eggshell's claims against the pinned snapshot (f50887a, 2026-11-19)
Read-only; no code changed. Sources are only
apps/v4/registry/andapps/v4/content/docs/components/of the snapshot. S =apps/v4/registry/styles/style-vega.css, B =apps/v4/registry/bases/radix/ui/. Ours = the Vega style ofcrates/eggshell-ui-shadcn(preset.rs,tokens.rs,styles.rs) onmain, and the PR branches for #401, #411 and #415. Rows are grouped structural, then visual; "none" rows are claims that match.Structural
command/mod.rscombobox,placement below().gap(menu.offset))ComboboxInput: anInputGroupwhose input is the trigger (you type in place) and anInputGroupButton variant="ghost" size="icon-xs"ChevronDown atinline-end; optional clear (X); the popup holds only the list (+ empty), no search field. PopupsideOffset=6,min-w = anchor + 7 units,w = anchor widthsideOffset = 6); S:296-298, :324-326h_px(36); rows hover/selected in the menu item's accent fillmax-h-72(288); input grouph-8(32)bg-input/30 border-input/30 rounded-lg shadow-nonein ap-1 pb-0wrapper, search iconsize-4 opacity-50; rootbg-popover rounded-xl p-1; item selected =bg-muted text-foreground(not accent),rounded-sm px-2 py-1.5 gap-2, group headingpx-2 py-1.5 text-xs font-medium text-muted-foreground, emptypy-6 text-center text-sm; shortcuttext-xs tracking-widesttop-4 right-4"; ours is ghosticon-smattop-2 right-2(L-D3 (a))Button variant="ghost" size="icon-sm"(32 px) withcn-dialog-close absolute top-4 right-4. So option (c) "icon-sm at top-4" is shadcn's; the premise of (a) is wrongposition="item-aligned": the list opens over the trigger with the selected item aligned on it;popperonly when asked. Item check indicatorabsolute right-2, itemspr-8 pl-2segmented.track_fill = t.input; unselected textmuted_foregroundbg-muted; trigger texttext-foreground/60, hovertext-foreground; activebg-background(darkdark:bg-input/30+border-input)h-9 gap-1 rounded-md border p-1 shadow-xs; triggerrounded-sm px-2 py-1 text-sm font-medium hover:bg-muted aria-expanded:bg-muted; contentmin-w-36; checkbox and radio items have the indicator on the left (pl-8,left-2,rounded-md), unlike dropdown-menu (pr-8, indicatorright-2); labeltext-sm font-mediumwith no muted colourrounded-md px-4 py-2 text-sm font-medium hover:bg-muted, openbg-muted/50; linkrounded-md p-2 gap-1.5; viewport/popuprounded-lg shadow ring-1; chevronsize-3rotates 180; position transition 300 mscubic-bezier(0.22,1,0.36,1), enter/exit scale-90cn-toast = rounded-2xl; colours--normal-bg=popover,--normal-text=popover-foreground,--normal-border=border,--border-radius=var(--radius); iconssize-4Visual: classes (preset)
px-4 py-2(button_padding16, 8), gap 8px-2.5(10),gap-1.5(6), has-iconpx-2; smpx-2.5 gap-1; xsh-6 px-2 text-xs gap-1; lgh-10 px-2.5primary/90(0.9)hover:bg-primary/80secondary/80color-mix(secondary, foreground 5%)(what our Lyra does)accent/ accent-foreground (dark input/50)hover:bg-muted hover:text-foreground(darkinput/50); light borderborder-border, darkborder-input;aria-expanded:bg-mutedaccent(darkaccent/50)hover:bg-muted(darkmuted/50)bg-destructive text-white, darkdestructive/60bg-destructive/10 text-destructive hover:bg-destructive/20, dark/20and/30(what our Lyra does)radius_md(8) all sizesrounded-md; xs/sm/icon-xs/icon-smrounded-[min(var(--radius-md),8px/10px)]accent/accent-foreground; hover fillmuted, textmuted_foreground;px 8,gap 8bg-muted(aria-pressed:bg-muted); hover only changes the text toforeground(no hover fill, except the outline variant'shover:bg-muted);px-2.5,gap-1; outline variantborder-input hover:bg-muted shadow-xs; toggle-group item onbg-muted,px-2in a spacing-0 grouppx-3 py-1(12, 4)px-2.5 py-1(10, 4),bg-transparent(light),dark:bg-input/30; no hover fillpl-2/pr-2,gap-2,text-sm font-medium text-muted-foreground; grouph-9; xs buttonh-6 rounded-[radius-5px] px-1.5control(px-4); chevron 16 at 50 % opacitypl-2.5 pr-2 py-2 gap-1.5; chevronsize-4 text-muted-foreground(full); smh-8menu.min_width)min-w-36(144); dropdown menu ismin-w-32(128), menubarmin-w-36primary, shadow-xsbg-primary border-primary, dotbg-primary-foreground size-2, no shadowshadow-xs; smh-[14px] w-[24px]thumbsize-3; default18.4 x 32, thumbsize-4input, 6 pxbg-muted,h-1.5backgroundbg-whitein both themes,border-primary,shadow-sm,hover:ring-4 ring-ring/50,size-4primary/20h-1.5(6), trackbg-muted, indicatorbg-primaryborder; padding 4; itempx-2 py-1.5gap 8,rounded-sm; offset 4; min-w 128; shadow-mdring-1 ring-foreground/10(no border),p-1, same item metrics,sideOffset=4,min-w-32,shadow-md; sub-contentmin-w-[96px] shadow-lgpopover_foreground, weight Mediumtext-muted-foreground px-2 py-1.5 text-xs font-mediumtext-xs tracking-widest(0.1 em = 1.2)foreground/background,rounded-md,12 x 6, 12/16, max 320, arrow 10, offset 0, delay 700/300delayDuration = 0(deliberately not matched, per the code comment); enter 100 ms fade+zoom-95+slide-2rounded-sm,px 4, 12/16 medium, tooltip variants/20/10w-72 p-4(#411)w-72 p-4 gap-4 rounded-md text-sm shadow-md ring-1 ring-foreground/10 duration-100,sideOffset=4,align=centerrounded-md,w-64 p-4, 4 pt, no arrow, 150 msrounded-lg,w-64 p-4,shadow-md ring-1,sideOffset=4,align=center, 100 msSurface(background, foreground, border).rounded(radius), border 1 px; bodyp-6 gap-4; max width 448 in the example, note saysmax-w-lg; title "text-lg semibold"bg-popover text-popover-foreground,ring-1 ring-foreground/10(no border),rounded-xl,p-6 gap-6,sm:max-w-md(448), titleleading-none font-medium(nottext-lg, not semibold), header/footergap-2, descriptiontext-smmuted,duration-100black/80(204), "shadcn's overlays arebg-black/50"bg-black/10withbackdrop-blur-xs,duration-100(dialog and alert dialog)ease-in-outtransition duration-200 ease-in-out;shadow-lg;borderon the inner edge;w-3/4 sm:max-w-sm; headergap-1.5 p-4, footergap-2 p-4; overlaybg-black/10+ blurduration-100(fade-in-0 + zoom-in-95 +slide-in-from-*-2)Easing::Outrounded-md py-4 text-sm font-medium hover:underline, contenttext-sm, innerpb-4; keyframes are in the app's CSS (not in the snapshot)border, radius full, min thumb 18w-2.5withp-pxand a 1 px transparent edge, so the thumb is about 7 px; radius full; min length is Radix'sprimary/15andprimarylinew-px bg-borderwith a 4 px hit area (after:w-1); grip when asked:bg-border h-6 w-1 rounded-lg; focusring-1 ring-ring; no hover colourh-10 px-2 medium, cellsp-2, rule, hovermuted/50, selectedmuted, footermuted/50medium, 150 msbg-muted rounded-md animate-pulse(rounded-md=radius_md)radiusroundedradius_sm (6),px 4.8 py 3.2, 0.875 emrounded(4),px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold,bg-mutedapps/v4/registry/new-york-v4/examples/typography-inline-code.tsx:3What I could not verify from the snapshot
--radius(10) and--radius-*multipliers: the global CSS (apps/v4/app/) is not in the sparse checkout.typeset.css(the MarkdownTypesetdefaults): not in the snapshot.animate-*utilities' exact curves.Pattern
Where the Vega preset disagrees, it is mostly because it was written from an older Vega: padding and hover opacities of the previous
new-york, and a solid destructive button. Our Lyra style already uses several values that the snapshot's Vega has (muted hover, tinted destructive,color-mixsecondary hover). Decisions are the user's.