defmodule PyrauiWeb.DocsLive.SkeletonDocs do use PyrauiWeb, :html def render(assigns) do ~H"""

Skeleton

Beautiful loading placeholders for content. Use to indicate progress while data fetches.

Essentials

Text variants

Circle & Rect

Profile Card Placeholder

List Placeholder

<%= for _i <- 1..5 do %>
<% end %>

Table Rows Placeholder

<%= for _ <- 1..4 do %>
<% end %>

Article Placeholder

Props

Prop Type Default Description
variant :text | :circle | :rect :text Skeleton shape variant
size :sm | :md | :lg :md Size for text and circle variants
lines integer 1 Number of lines for text variant
width string nil Custom width (e.g., "200px")
height string nil Custom height (e.g., "100px")
""" end end