On this page
@addTagHelper *, Webority.Ui.RazorList
Use a list placeholder where the page loads rows, with an optional avatar on each row.
A list of rows
One row per item, each with an optional avatar and two text lines.
Loading
Card
Use a card placeholder for a panel whose title and text arrive after the page.
A card placeholder
A title bar and a few text lines.
Loading
Detail page
Use a detail placeholder for a record page with a heading and label and value pairs.
A detail page placeholder
A heading, then label and value pairs.
Loading
Every option
Every value of every prop, one cell each.
rows (list): how many rows
rows="1"Loading
rows="5" (default)Loading
rows="12"Loading
avatar: round avatar per row
avatar="true"Loading
avatar omitted (default)Loading
lines (card): text lines under the title
lines="1"Loading
lines="3" (default)Loading
lines="12"Loading
rows (detail): label and value pairs
rows="1"Loading
rows="6" (default)Loading
rows="12"Loading
When to use
Use it when
- A region loads after the page, such as a lazy fragment, and its shape is known.
- The wait is long enough to see.
Reach for something else when
- One button waits on a request. → AppButton with loading
- The shape is not known. → AppSpinner
Reference
Try every prop, read the full list, and check keyboard and screen reader behaviour.
4 props.
Less common 4 props
| Prop | Type | Default | Description |
|---|---|---|---|
| rowsdefault 5 | int | 5 | app-skeleton-list: how many rows to draw, 1 to 12. A value outside the range keeps the default. |
| avatardefault false | bool | false | app-skeleton-list: draws a round avatar at the start of each row. |
| linesdefault 3 | int | 3 | app-skeleton-card: the text lines under the title, 1 to 12. A value outside the range keeps the default. |
| rowsdefault 6 | int | 6 | app-skeleton-detail: the label and value pairs, 1 to 12. A value outside the range keeps the default. |