Skeleton
Masked Paragraph Skeleton
A paragraph placeholder for loading states: the lines match the height and leading of the text to come. Change the line count and the width of the last one.
What you can change
- the paragraph count and lines per paragraph through paragraphs
- the screen-reader caption through label
- the line height and leading step through the variables
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/skeleton-006?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
The component is self-contained: one file, no dependencies, its own palette in local variables --vibeui-skeleton-006-*. It is a server component: there are no hooks. A paragraph is a single element whose shimmer background is cut by a repeating-linear-gradient in the mask property: the number of lines is set by a variable rather than by a count of nodes, and the height is computed from the line and the step. The unfinished last line is drawn by a surface-coloured patch that sits as a sibling rather than a child: inside the masked element it would be cut away along with the lines. The tail widths are taken from a fixed array rather than at random — random ones would mismatch between server and client during hydration. The root is marked with role="status" and aria-busy.
Tags
- skeleton
- text
- mask
- display
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…