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

23 lines
638 B
Markdown

### divider
Divider will be used to separate content vertically or horizontally
[divider docs](https://daisyui.com/components/divider/)
#### Class names
- component: `divider`
- color: `divider-neutral`, `divider-primary`, `divider-secondary`, `divider-accent`, `divider-success`, `divider-warning`, `divider-info`, `divider-error`
- direction: `divider-vertical`, `divider-horizontal`
- placement: `divider-start`, `divider-end`
#### Syntax
```html
<div class="divider {MODIFIER}">{text}</div>
```
#### Rules
- {MODIFIER} is optional and can have one of each direction/color/placement class names
- Omit text for a blank divider