Skip to content
Frauthy Brand
Frauthy index

Go anywhere.

    No exact contract found. Try a component family, product name, prop, or keyboard key.

    ↑↓ move↵ openesc close

    Skeleton

    feedback

    Visual loading placeholder for text, rectangular content, and circular media. Pair with SkeletonContainer to mark the surrounding content busy.

    Preview

    Loading row
    Content block

    Usage

    import { Skeleton, SkeletonContainer } from 'PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED';
    
    <SkeletonContainer busy>
      <Skeleton variant="circle" width="40px" />
      <Skeleton lines={3} />
    </SkeletonContainer>
    
    <Skeleton variant="rect" height="120px" animated={false} />

    Props

    ComponentPropTypeDefaultDescription
    Skeletonvariant'text' | 'rect' | 'circle''text'Placeholder shape.
    Skeletonlinesnumber1Number of text rows. Values below 1 render one row.
    SkeletonanimatedbooleantrueEnables shimmer animation.
    Skeletonwidthstring--Sets --skeleton-width.
    Skeletonheightstring--Sets --skeleton-height.
    Skeletonclassstring--Additional CSS classes.
    SkeletonContainerbusybooleanfalseSets aria-busy while content is loading.
    SkeletonContainerchildrenJSX.Element--Skeleton placeholders or pending content.
    SkeletonContainerclassstring--Additional CSS classes.

    Accessibility

    Do / Don't

    Do

    Match skeleton shape and approximate size to the content that will replace it.

    Don't

    Don't use skeletons for errors or empty results. Use EmptyState when loading has finished and no content exists.