add AI agents files
This commit is contained in:
parent
5a903af22a
commit
9b9ae5c7f5
79 changed files with 2399 additions and 23 deletions
23
.opencode/skills/daisyui/components/avatar.md
Normal file
23
.opencode/skills/daisyui/components/avatar.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
### avatar
|
||||
Avatars are used to show a thumbnail
|
||||
|
||||
[avatar docs](https://daisyui.com/components/avatar/)
|
||||
|
||||
#### Class names
|
||||
- component: `avatar`, `avatar-group`
|
||||
- modifier: `avatar-online`, `avatar-offline`, `avatar-placeholder`
|
||||
|
||||
#### Syntax
|
||||
```html
|
||||
<div class="avatar {MODIFIER}">
|
||||
<div>
|
||||
<img src="{image-url}" />
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
#### Rules
|
||||
- {MODIFIER} is optional and can have one of the modifier class names
|
||||
- Use `avatar-group` for containing multiple avatars
|
||||
- You can set custom sizes using `w-*` and `h-*`
|
||||
- You can use mask classes such as `mask-squircle`, `mask-hexagon`, `mask-triangle`
|
||||
Loading…
Add table
Add a link
Reference in a new issue