TSkeletonVariant
type
Feedback & Status
Shape primitive for OrigamSkeleton loading placeholders — the bricks a component composes (inside an OrigamSkeletonGroup) to mimic its own anatomy.
TypeScript
Définition
La définition TypeScript telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Acceptées
Valeurs
Valeurs littérales de chaîne acceptées pour ce type. Cliquez sur une valeur pour la copier.
- text
- Short horizontal bar — placeholder for a line of text, title, or label.
- circular
- Circle — placeholder for avatars, icon buttons, or badge shapes.
- rectangular
- Solid rectangle — placeholder for images, video thumbnails, or block content.
- pill
- Fully rounded capsule — placeholder for tags and chips.
- card
- Card-shaped composite placeholder with a rectangular media area and stacked text lines below.
- list-item
- List item composite — avatar circle on the left with two text lines on the right.
Écosystème
Utilisé par
Composants et props qui acceptent ce type comme valeur.
Usage
Exemples
Extraits de code prêts à coller utilisant ce type.
Skeleton variant showcase