add AI agents files
This commit is contained in:
parent
5a903af22a
commit
9b9ae5c7f5
79 changed files with 2399 additions and 23 deletions
17
.opencode/skills/daisyui/components/validator.md
Normal file
17
.opencode/skills/daisyui/components/validator.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
### validator
|
||||
Validator class changes the color of form elements to error or success based on input's validation rules
|
||||
|
||||
[validator docs](https://daisyui.com/components/validator/)
|
||||
|
||||
#### Class names
|
||||
- component: `validator`
|
||||
- part: `validator-hint`
|
||||
|
||||
#### Syntax
|
||||
```html
|
||||
<input type="{type}" class="input validator" required />
|
||||
<p class="validator-hint">Error message</p>
|
||||
```
|
||||
|
||||
#### Rules
|
||||
- Use with `input`, `select`, `textarea`
|
||||
Loading…
Add table
Add a link
Reference in a new issue