Contents sheet of product tiles

A full width sheet dropping from a fixed bar with four product tiles, each a small flat drawing over a name and one line, plus a link to the other audience.

MenusFreeFrom Daftar, Bilingual fintechRight to leftAbout 6k 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.

778 words
Download .zip
# Contents sheet of product tiles

One menus 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
A full width contents sheet dropping from a fixed bar on a money product: four product tiles, a link to the other audience.

## Structure
1. Panel fixed under the bar, hidden until opened
2. Inner card, bordered, two bottom corners rounded
3. Head row: kicker for the current audience, link to the other
4. Grid of four tiles
5. Tile: 16 by 10 thumbnail, name, one line, small label when unfinished
6. Foot row, phones only: audience switch as two pills, language link

## Type
Onest (Google 400 to 700) Latin and figures, IBM Plex Sans Arabic (Google 400 to 700) behind it and for the second script. Body 17px/1.5. Kicker 13px. Audience link 600 15px. Tile name 600 17px, -0.01em. Tile line 14px/1.4. Unfinished label 12px uppercase, 0.04em. Audience pills 14px/1.2.

## Colour
Panel #FFFFFF, text #0B0C0F, second text and kicker #5F646D, borders #E5E7EB, tile hover and current tile #F3F4F6, thumbnails on it, audience link and drawings #2B3FF0. Chosen pill #0B0C0F with white. Do not fade an unfinished tile's text: keep #5F646D and dim only its thumbnail. Dark variant: #000000 panel, #F5F5F4 text, #6574FF accent.

## Spacing and lines
Panel starts at the 76px bar height, sits inside the page gutter clamp(16px,4vw,56px) and scrolls within itself to the viewport bottom. Inner card 28px padding at sides and top, 32px at the bottom, 28px radius on the two bottom corners. Head row 20px above the grid. Four columns, 10px gap; tile 10px padding, 20px radius; thumbnail 14px radius with 6px under it, 6px between name and line. Foot row 24px clear, pushed to the bottom.

## Behaviour
The bar button carries aria-expanded and aria-controls; a click toggles the panel's hidden attribute, moves focus to the first tile and stops the page behind from scrolling. Escape closes and refocuses the button; a click outside the panel or button closes it. Arrow down and up walk tiles, audience link and foot links; sideways arrows do the same, swapped for the reading direction. Unfinished tiles are spans, not links, and are skipped. The panel itself does not animate: only the move between pages eases over 450ms cubic-bezier(.2,.7,.1,1).

## Responsive
Under 1100px the grid becomes two columns. Under 760px: bar 60px, body 16px, panel loses gutter, border and radius and covers the viewport, grid one column with a 4px gap, tiles an 88px thumbnail beside text with a 14px gap, foot row appears.

## Accessibility
The panel is a region toggled by hidden, not a dialog, so focus is not trapped. Unfinished tiles carry aria-disabled, out of the tab order. Thumbnails aria-hidden. Audience pills in a nav labelled for the choice, aria-current on the one in use. Tiles 44px tall, focus ring 2px #2B3FF0, 3px offset.

## Built values (from code.html)
- Fonts: IBM Plex Sans Arabic 400, 500, 600, 700 (Google Fonts); Onest 400 to 700 (Google Fonts).
- Colour variables: --bg #fff, --ink #111, --muted #6b6b6b, --line #e4e4e4, --surface #f6f6f6, --accent #2b3ff0, --accent-ink #fff, --panel #F3F4F6, --pos #1F7A4D.
- Font variables: --font-d system-ui, sans-serif; --font-u system-ui, sans-serif; --font-n ui-monospace, monospace.
- Size variables: --r 14px, --bar-h 72px, --gutter clamp(16px, 4vw, 56px), --max 1320px.
- Media queries: max-width 760px, max-width 1100px, prefers-reduced-motion.
- No media files.
- Script: none, CSS only.

## Script
Lay the block out right to left: dir="rtl" on the root element, mirrored padding, mirrored icons that point somewhere, mirrored order in every row. Numbers and Latin words keep reading left to right inside the line.

## Content to replace
- [Kicker]: the current audience in two words
- [Audience link]: the other audience, with an arrow
- [Tiles]: four names with a line each, two coming
- [Thumbnails]: four small flat drawings, 16:10
- [Unfinished label]: one word for tiles not ready
- [Language link]: the other language, own script

## 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

Menus

Every menus block

Same page

More from Daftar

See the page