add AI agents files
This commit is contained in:
parent
5a903af22a
commit
9b9ae5c7f5
79 changed files with 2399 additions and 23 deletions
20
.opencode/skills/daisyui/components/range.md
Normal file
20
.opencode/skills/daisyui/components/range.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
### range
|
||||
Range slider is used to select a value by sliding a handle
|
||||
|
||||
[range docs](https://daisyui.com/components/range/)
|
||||
|
||||
#### Class names
|
||||
- component: `range`
|
||||
- color: `range-neutral`, `range-primary`, `range-secondary`, `range-accent`, `range-success`, `range-warning`, `range-info`, `range-error`
|
||||
- size: `range-xs`, `range-sm`, `range-md`, `range-lg`, `range-xl`
|
||||
- direction: `range-vertical` (vertical slider)
|
||||
|
||||
#### Syntax
|
||||
```html
|
||||
<input type="range" min="0" max="100" value="40" class="range {MODIFIER}" />
|
||||
```
|
||||
|
||||
#### Rules
|
||||
- {MODIFIER} is optional and can have one of each color/size class names
|
||||
- For a vertical slider use `range-vertical`
|
||||
- You must specify `min` and `max` attributes
|
||||
Loading…
Add table
Add a link
Reference in a new issue