Repeated Component Alignment

Any component rendered many times — cards, list rows, table cells, nav items, tiles, KPI widgets, feed entries — is a fixed slot model, not a free-form box. The same slots appear in the same place in every instance and stay aligned across siblings even when text and values vary in length. Reserve space for optional slots, pin anchor elements (CTA, price, value), clamp overflowing text, and give the full value back via title/tooltip. Use when building or reviewing any repeated component whose content length differs between instances.

majiayu000 8fcdd56 2 files · 11.0 KB Updated 567 repo stars

File contents

majiayu000/claude-skill-registry-data/tree/main/design/repeated-component-alignment commit 8fcdd56ebe

Frequently asked questions

npx skillmds add majiayu000/repeated-component-alignment