26 lines
439 B
Markdown
26 lines
439 B
Markdown
### skeleton
|
|
|
|
Skeleton is a component that can be used to show a loading state
|
|
|
|
[skeleton docs](https://daisyui.com/components/skeleton/)
|
|
|
|
#### Class names
|
|
|
|
- component: `skeleton`
|
|
- modifier: `skeleton-text`
|
|
|
|
#### Syntax
|
|
|
|
```html
|
|
<div class="skeleton"></div>
|
|
```
|
|
|
|
Example with text skeleton:
|
|
|
|
```html
|
|
<div class="skeleton skeleton-text">Loading data...</div>
|
|
```
|
|
|
|
#### Rules
|
|
|
|
- Add `h-*` and `w-*` utility classes to set height and width
|