mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-29 03:10:42 +01:00
@@ -310,6 +310,23 @@ code: |
|
|||||||
:u-button{icon="i-heroicons-chevron-down-20-solid" color="gray"}
|
:u-button{icon="i-heroicons-chevron-down-20-solid" color="gray"}
|
||||||
::
|
::
|
||||||
|
|
||||||
|
This can also work with an [Input](/forms/input) component for example:
|
||||||
|
|
||||||
|
::component-card{slug="ButtonGroup"}
|
||||||
|
---
|
||||||
|
props:
|
||||||
|
size: 'sm'
|
||||||
|
orientation: 'horizontal'
|
||||||
|
code: |
|
||||||
|
<UInput />
|
||||||
|
<UButton icon="i-heroicons-clipboard-document" color="gray" />
|
||||||
|
---
|
||||||
|
|
||||||
|
#default
|
||||||
|
:u-input
|
||||||
|
:u-button{icon="i-heroicons-clipboard-document" color="gray"}
|
||||||
|
::
|
||||||
|
|
||||||
## Slots
|
## Slots
|
||||||
|
|
||||||
### `leading`
|
### `leading`
|
||||||
|
|||||||
Reference in New Issue
Block a user