--- title: "Skeleton Reveal" description: "A skeleton loader transition that pulses, then cross-fades into content" --- import { InstallCommand } from "/snippets/install-command.jsx"; import { VariablesExplorer } from "/snippets/variables-explorer.jsx"; ```html skeleton-reveal.html
Jane Cooperjane@example.com
```
## Install That writes one file: `compositions/components/skeleton-reveal.html`. ## Variables Every one of these has a default, so the piece works untouched. Set the ones you want to change on the element: | Variable | Default | Accepts | What it does | | --- | --- | --- | --- | | `name` | `Jane Cooper` | string | Primary line revealed once the skeleton fades out. | | `detail` | `jane@example.com` | string | Secondary line under the name, such as an email or a role. | | `tone` | `light` | `light`, `dark` | Card palette. Light is the paper card, dark is a near-black card with the matching skeleton bars and text. | Set them with `data-variable-values` on the element that mounts it. These are the defaults, so this behaves exactly like the preview above until you change one: ```html wrap
``` ## Source ```html
Jane Cooperjane@example.com
```
## Usage Open `compositions/components/skeleton-reveal.html` and paste its contents into your composition. See the comment header in the file for detailed instructions. {/* hf:generated-footer */} Tagged `video-primitive` `transition-primitive` `transitions-dev-port` `skeleton` `reveal`. ## Related topics - [Browse the complete Catalog](/catalog) - [Add assets and Catalog items in Studio](/studio/assets-and-blocks) - [Build a richer composition](/go-further)