Skeleton

Represent loading structure with accessible text, reduced-motion support, and predictable text placeholders.

Incident list

Usage Example
@skeleton.Skeleton(skeleton.Config{
    Label: "Loading incidents",
})

Content shapes

Use rectangle for panels and circle for avatar or identity placeholders.

Chart

Owners

Content shapes
@skeleton.Skeleton(skeleton.Config{
    Shape: skeleton.ShapeRectangle,
    Label: "Loading chart",
})
@skeleton.Skeleton(skeleton.Config{
    Shape: skeleton.ShapeCircle,
    Count: 3,
    Label: "Loading owners",
})

Static

Set Static when a placeholder should preserve loading semantics without pulse animation.

Static
@skeleton.Skeleton(skeleton.Config{
    Count:  2,
    Label:  "Loading summary",
    Static: true,
})

Go API

v0.0.12

The examples above cover behavior and composition. pkg.go.dev is the canonical reference for exported types, functions, methods, and Go documentation.

github.com/araihu/goshtoso/components/skeleton
Open v0.0.12 API