benjaminpalko/.opencode/skills/daisyui/components/stack.md
2026-08-11 16:25:07 -04:00

21 lines
489 B
Markdown

### stack
Stack visually puts elements on top of each other
[stack docs](https://daisyui.com/components/stack/)
#### Class Names:
- Component: `stack`
- Modifier: `stack-top`, `stack-bottom`, `stack-start`, `stack-end`
#### Syntax
```html
<div class="stack {MODIFIER}">{CONTENT}</div>
```
#### Rules
- {MODIFIER} is optional and can have one of the modifier class names
- You can use `w-*` and `h-*` classes to set the width and height of the stack, making all items the same size