docs: update badges

This commit is contained in:
Benjamin Canac
2024-06-13 11:29:39 +02:00
parent b6736d1efd
commit 1e7470f531
11 changed files with 13 additions and 14 deletions

View File

@@ -163,13 +163,13 @@ This can be handy when you want to display HTML content. To achieve this, you ca
:component-example{component="alert-example-html"}
### `icon` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}
### `icon`
Use the `#icon` slot to customize the displayed icon.
:component-example{component="alert-example-icon"}
### `avatar` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}
### `avatar`
Use the `#avatar` slot to customize the displayable avatar.