docs: add version select (#532)

This commit is contained in:
Benjamin Canac
2023-08-14 22:11:04 +02:00
parent ee663157b7
commit 7e7e9d0f85
25 changed files with 198 additions and 45 deletions

View File

@@ -31,7 +31,7 @@ props:
Use the `color` and `variant` props to change the visual style of the Badge.
- `variant` can be `solid` (default), `outline`, `soft` or `subtle`. :u-badge{label="New" class="!rounded-full" variant="subtle"}
- `variant` can be `solid` (default), `outline`, `soft` or `subtle`.
::component-card
---
@@ -45,7 +45,7 @@ Badge
Besides all the colors from the `ui.colors` object, you can also use the `white` and `black` colors with their pre-defined variants.
#### White :u-badge{label="New" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
#### White
::component-card
---
@@ -62,7 +62,7 @@ excludedProps:
Badge
::
#### Gray :u-badge{label="New" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
#### Gray
::component-card
---
@@ -79,7 +79,7 @@ excludedProps:
Badge
::
#### Black :u-badge{label="New" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
#### Black
::component-card
---