#099
Text lines
A card skeleton with a 60% wide heading line above a block of three text lines.
Hand this to your AI. It names the exact library parts, timings and accessibility promises of this demo.
Build the "Text lines" pattern (@codeatlasdev/ui demo #099, feedback/skeleton) in my app.
Call get_demo({ ids: ["#099"] }) first and keep its structure. It needs @codeatlasdev/[email protected].
Use: Loading placeholder for an article or description block.
Keep these library parts, with the props and tokens the demo uses:
- Skeleton, Card, Stack from "@codeatlasdev/ui"
Behaviour to keep:
- `<Card p="5" full>` with `<Stack gap="3">`
- Heading line `<Skeleton height="20px" width="60%" />`
- Body lines `<Skeleton rows={3} height="14px" />` render three rows from one element
Reduced motion: the demo handles it; keep that branch.
Keyboard: not an interactive control.
Change only the copy and the data. Use the theme tokens (--ca-*), never raw colours. Loading source.