benjaminpalko/.opencode/skills/daisyui/components/stack.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

489 B

stack

Stack visually puts elements on top of each other

stack docs

Class Names:

  • Component: stack
  • Modifier: stack-top, stack-bottom, stack-start, stack-end

Syntax

<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