Complete-the-look bar with inline sizes and bag

A sticky bar at the foot of an outfit builder: thumbnails, a running total, Shuffle, Bag and Choose sizes. Sizes and the bag open inline above it, never as a drawer.

OverlaysFreeFrom Overscan, SignatureAbout 5k tokens saved
The whole page

Links in the preview stay on the block.

Open on its own

The prompt

One prompt, written to stand on its own: goal, structure, type, colour, spacing, behaviour and the words in square brackets to replace. Paste it into any tool that writes HTML. The Code tab has this block as one file.

702 words
Download .zip
# Complete-the-look bar with inline sizes and bag

One overlays component, not a whole page: build it to drop into a page that already exists. Works in Claude, v0, Lovable, Bolt, Cursor or any tool that writes HTML.

## Goal
One place to finish buying a whole outfit: pick a size for every piece, add the look, and review the bag without leaving the builder.

## Structure
1. sticky bar with a top rule, pinned to the bottom of its section
2. main row: four square thumbnails of the chosen pieces, a caps label with the total, three buttons (Shuffle, Bag with a count, Choose sizes)
3. sizes panel above the row: a heading, one fieldset of size pills per piece in four columns, an error line, Add the look
4. bag tray above the row: empty state, or a list of lines with thumbnail, name, size, quantity stepper and Remove, then subtotal, Checkout

## Type
Spline Sans 500 13px capitals at 0.1em for labels and buttons. VT323 20 to 24px for counts, totals and the panel heading. Libre Bodoni 600 28px capitals for the empty-state line.

## Colour
Bar #0B0B0D with a #EDEBE6 top rule; panels separated by #2A2A30. Text #EDEBE6, secondary #CFCCC6, VT323 counts #5FD3E6. Primary buttons #D7192A, #E8303F on hover; a disabled Add the look is #5A1A20 with #E6C9CC text. Errors #FF8A93. Thumbnails on #131317 with a #2A2A30 border.

## Spacing and lines
Main row grid auto, 1fr, auto with 24px gaps, padding 12px 32px, at most 1440px. Thumbnails 52px square with 6px gaps. Panels padded 24px 32px and capped at 46svh with their own scroll. Size grid four columns with 24px gaps. Tray lines 64px thumbnail, 1fr, auto. Buttons 48px tall.

## Behaviour
Panels unfold with a 340ms clip and only one is open at a time; the button that opened it shows aria-expanded. Add the look stays visibly disabled until every piece has a size and names the missing ones in red when pressed. Adding a look fills the tray, bumps the Bag count and opens the tray. Stepper below 1 removes the line. Checkout shows a loading bar, then a thank-you message. Totals roll up in VT323.

## Responsive
Under 900px the thumbnails hide, the row stacks to label and total over the buttons, sizes go to two columns (one under 480px) and panels may use 58svh.

## Accessibility
Buttons use aria-expanded and aria-controls; the disabled state is aria-disabled so the button stays focusable and can explain itself; sizes are radio fieldsets with legends; the error line has role alert and the tray message role status. Reduced motion: panels open without the clip and totals do not roll.

## Built values (from code.html)
- Fonts: Libre Bodoni 500 to 600 (self-hosted: fonts/bodoni.woff2); Spline Sans 400 to 500 (self-hosted: fonts/spline.woff2); VT323 400 (self-hosted: fonts/vt323.woff2). Self-hosted files sit in fonts/ in the block download.
- Colour variables: --tape #0B0B0D, --stage #131317, --line #2A2A30, --phos #EDEBE6, --static #8F8C86, --red #D7192A, --red-hi #E8303F, --blue #2E46FF, --cyan #5FD3E6, --white #FFFFFF.
- Font variables: --didone "Libre Bodoni", "Bodoni 72", "Didot", Georgia, serif; --sans "Spline Sans", "Helvetica Neue", Arial, sans-serif; --osd "VT323", "Courier New", monospace.
- Size variables: --s1 4px, --s2 8px, --s3 16px, --s4 24px, --s5 40px, --s6 64px, --s7 104px, --s8 168px.
- Media queries: max-width 720px, max-width 899px, max-width 480px, prefers-reduced-motion.
- No media files.
- Script: none, CSS only.

## Content to replace
- [Label]: Complete the look
- [Sizes]: one size system per piece
- [Bag]: lines, subtotal and the checkout message
- [Empty state]: one line and one hint

## Rules
Plain, specific copy that reads as a live product; never the word sample. No shadows, glow, glass, blur, gradient text, emoji or italics. Motion moves transform and opacity, with colour, border, height and stroke transitions on state changes, and holds its end state under prefers-reduced-motion. Text passes WCAG AA.

## Output
Return the block in one piece: the markup, one style block with the web fonts imported on its first line, and a small script only if the behaviour needs one. No page wrapper, no framework, no build step. Prefix every class with `blk-` and put the colours and sizes in CSS variables at the top.

More like this

Overlays

Every overlays block

Same page

More from Overscan

See the page