Knit UI
GitHub

Playground

Loading playground…

true
false
true
Playground
<Skeleton
  visible
  circle={false}
  animate
  width={200}
  height="$xs"
/>

Examples

Text Block

A block of stacked skeletons mimicking a text-heavy content card.

Loading example…

Text BlockSourceStorybook

Circle

Circle variant — useful for avatar placeholders; height is mirrored onto width.

Loading example…

CircleSourceStorybook

Radii

All supported radius values applied to the same block.

Loading example…

RadiiSourceStorybook

Shadows

Elevation shadow ladder applied via the inherited shadow prop.

Loading example…

ShadowsSourceStorybook

No Animation

Animate disabled — static placeholder with no pulse. Useful for reduced-motion contexts.

Loading example…

No AnimationSourceStorybook

Content Loaded

When visible is false the real children are rendered and the placeholder is gone.

Loading example…

Content LoadedSourceStorybook

Controlled

Controlled toggle — press the button to flip between loading and loaded states.

Loading example…

ControlledSourceStorybook

Card Layout

Card skeleton — a realistic layout with a circle avatar and stacked text lines.

Loading example…

Card LayoutSourceStorybook

Props

PropTypeDefaultDescription
animateboolean | undefinedtrueSoft opacity pulse while the placeholder is visible.
circleboolean | undefinedfalseForce an equal-sided round block. Mirrors `height` onto `width`.
disabled systemboolean | undefined
radius systemstring | number | undefined
xs · sm · md · lg · xl · none · full
Corner radius — maps to the shared radius variant.
shadow system"xs" | "sm" | "md" | "lg" | "xl" | "xxs" | "xxl" | undefined
theme systemThemeName | null | undefinedApplies a theme to this element
visibleboolean | undefinedtrueWhen false, renders children normally with no placeholder.
Accessibility & DOM props (2)
PropType
keyKey | null | undefined
refRef<TamaguiElement> | undefined

Plus 498 inherited style props from Box — the full Tamagui/React Native style surface, including token shorthands like p, mx, bg and c. See Tokens for the scales they accept, or the full list.