mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 15:01:46 +01:00
feat(Badge): add support within button groups (#3224)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
committed by
GitHub
parent
deddc7cf97
commit
10fb843f8f
@@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<UButtonGroup>
|
||||
<UBadge color="neutral" variant="outline" size="lg" label="https://" />
|
||||
|
||||
<UInput color="neutral" variant="outline" placeholder="www.example.com" />
|
||||
</UButtonGroup>
|
||||
</template>
|
||||
@@ -84,16 +84,22 @@ slots:
|
||||
|
||||
### With tooltip
|
||||
|
||||
You can use a tooltip within a button group.
|
||||
You can use a [Tooltip](/components/tooltip) within a button group.
|
||||
|
||||
:component-example{name="button-group-tooltip-example"}
|
||||
|
||||
### With dropdown
|
||||
|
||||
You can use a dropdown menu within a button group.
|
||||
You can use a [DropdownMenu](/components/dropdown-menu) within a button group.
|
||||
|
||||
:component-example{name="button-group-dropdown-example"}
|
||||
|
||||
### With badge
|
||||
|
||||
You can use a [Badge](/components/badge) within a button group.
|
||||
|
||||
:component-example{name="button-group-badge-example"}
|
||||
|
||||
## API
|
||||
|
||||
### Props
|
||||
|
||||
Reference in New Issue
Block a user