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

24 lines
595 B
Markdown

### list
List is a vertical layout to display information in rows
[list docs](https://daisyui.com/components/list/)
#### Class Names:
- Component: `list`, `list-row`
- Modifier: `list-col-wrap`, `list-col-grow`
#### Syntax
```html
<ul class="list">
<li class="list-row">{CONTENT}</li>
</ul>
```
#### Rules
- Use `list-row` for each item inside the list
- By default, the second child of the `list-row` will fill the remaining space. You can use `list-col-grow` on another child to make it fill the remaining space instead
- Use `list-col-wrap` to force an item to wrap to the next line