AppSkeleton
Placeholder loading blocks with text, circle, and rect variants. Respects reduced-motion preferences.
Install: pnpm add-component AppSkeleton
Text lines
Multi-line text placeholder for paragraphs or list items. The lines fill their container, so give it a width when its parent does not.
Avatar & card
Circle and rect variants for profile and card layouts.
API
variant('text' | 'circle' | 'rect'): Shape of the skeleton block.lines(number): Number of text lines (text variant only).width(string | number): CSS width. A number is read as rem.height(string | number): CSS height. A number is read as rem.containerClass(string): Extra classes on the wrapper element.