ISkeletonProps

interface
Component Props

Props contract for <OrigamSkeleton> — a loading-state placeholder with configurable shape (variant, width, height, rounded), color, and animation (pulse).

TypeScript

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Héritage

Hérite de

Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

variant
TSkeletonVariant
Shape preset for the skeleton placeholder (e.g. text, avatar, card, button).
width
string | number
Explicit width of the skeleton block. Accepts px numbers or any CSS length string.
loading
boolean
When false the default slot is revealed instead of the skeleton. Drives a loading-gate pattern.
animation
TSkeletonAnimation
height
string | number
Explicit height of the skeleton block. Accepts px numbers or any CSS length string.
label
string
pulse
boolean
Enables the pulsing animation on the skeleton surface.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Avatar skeleton with pulse

vue