add AI agents files
This commit is contained in:
parent
5a903af22a
commit
9b9ae5c7f5
79 changed files with 2399 additions and 23 deletions
19
.opencode/skills/daisyui/components/radio.md
Normal file
19
.opencode/skills/daisyui/components/radio.md
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
### radio
|
||||
Radio buttons allow the user to select one option
|
||||
|
||||
[radio docs](https://daisyui.com/components/radio/)
|
||||
|
||||
#### Class names
|
||||
- component: `radio`
|
||||
- color: `radio-neutral`, `radio-primary`, `radio-secondary`, `radio-accent`, `radio-success`, `radio-warning`, `radio-info`, `radio-error`
|
||||
- size: `radio-xs`, `radio-sm`, `radio-md`, `radio-lg`, `radio-xl`
|
||||
|
||||
#### Syntax
|
||||
```html
|
||||
<input type="radio" name="{name}" class="radio {MODIFIER}" />
|
||||
```
|
||||
|
||||
#### Rules
|
||||
- {MODIFIER} is optional and can have one of the size/color class names
|
||||
- Replace {name} with a unique name for the radio group
|
||||
- Each set of radio inputs should have unique `name` attributes to avoid conflicts with other sets of radio inputs on the same page
|
||||
Loading…
Add table
Add a link
Reference in a new issue