benjaminpalko/.opencode/skills/daisyui/components/skeleton.md
Benjamin Palko f526f5c0aa
Some checks failed
Deploy / deploy (push) Failing after 39s
set up new workflow and migrate to .forgejo dir (#5)
Co-authored-by: Benjamin Palko <benjaminpalko@hotmail.com>
Reviewed-on: #5
2026-08-11 20:55:29 -04:00

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