docs: update badges

This commit is contained in:
Benjamin Canac
2023-09-07 15:09:06 +02:00
parent ab5153ac19
commit 6ad1afd308
6 changed files with 15 additions and 3 deletions

View File

@@ -4,6 +4,8 @@ links:
- label: GitHub
icon: i-simple-icons-github
to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/elements/Avatar.vue
navigation:
badge: 'New'
---
## Usage

View File

@@ -4,6 +4,8 @@ links:
- label: GitHub
icon: i-simple-icons-github
to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/elements/Button.vue
navigation:
badge: 'New'
---
## Usage
@@ -276,7 +278,7 @@ excludedProps:
To stack buttons as a group, use the `ButtonGroup` component.
- To size all the buttons equally, pass the `size` prop
- To change the orientation of the buttons, set the `orientation` prop to `vertical`
- To change the orientation of the buttons, set the `orientation` prop to `vertical` :u-badge{label="New" class="!rounded-full" variant="subtle"}
- To adjust the rounded or the shadow around buttons, customize with `ui.buttonGroup.rounded` or `ui.buttonGroup.shadow`
::component-card{slug="ButtonGroup"}