Components Skeleton

Skeleton

Skeleton components are placeholders that provide a visual indication of where content will appear while it is loading. They help improve user experience by reducing perceived loading time and creating a smoother transition when the actual content is loaded.
Default skeleton
Loading...
            <.skeleton />

        
Image skeleton
Loading...
            <.skeleton kind={:image} />

        
Video skeleton
Loading...
            <.skeleton kind={:video} />

        
Text skeleton
Loading...
            <.skeleton kind={:text} />

        
Card skeleton
Loading...
            <.skeleton kind={:card} />

        
Widget skeleton
Loading...
            <.skeleton kind={:widget} />

        
List skeleton
Loading...
            <.skeleton kind={:list} />

        
Testimonial skeleton
Loading...
            <.skeleton kind={:testimonial} />

        
Properties
          attr(:kind, :atom,
  default: :default,
  doc: "skeleton",
  values: [:default, :image, :video, :text, :card, :widget, :list, :testimonial]
)