Files
2026-10-24 11:45:32 +07:00

22 lines
1.5 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 01 · Bento Grid
Modular blocks of varying sizes laid out as an irregular grid. Each block is a feature, a figure the user gave, an image or a supplied quote. Rhythm comes from size variation, not card uniformity.
- **Heading:** a display head over the grid's first row; the hero is one screen and the grid starts inside it or right under it (44c), never a tall empty band.
- **Body:** asymmetric grid, six to nine blocks of mixed spans (1×1, 2×1, 1×2, 2×2); image-bearing tracks `minmax(0, 1fr)` (50).
- **Divider:** one gap, `--gap-columns`; no rules; the grid is the rhythm.
- **Button:** an outlined chip in the hero; inside a tile, a typographic link carrying a verb.
- **Image:** tightly cropped inside individual blocks; never full-bleed.
- **Reveal:** none, or one one-shot fade as the grid enters.
Reach for it when the prompt is "many small things to show": a feature page, a SaaS landing, anywhere visitors have several equally valid entry points. A block holding a figure or a quote exists only when the user supplied it (46a).
Avoid when the message is one hero idea. Bento spreads attention; a one-idea page wants Marquee or Stat-Led.
Compositions: Bento and Grid (`layout.md` § 5).
**Sample opening lines** (imitate the specificity, not the wording):
> *"Distributed tracing that explains itself."* Names the category and the promise in five words (Tracejam).
> *"An API for sending mail from code."* Names the product class and the reader.
> *"Everything a small kitchen needs to sell online."* Names the scale and the job.