mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
feat(Kbd): add color prop & soft variant (#4549)
This commit is contained in:
@@ -62,6 +62,19 @@ items:
|
||||
---
|
||||
::
|
||||
|
||||
### Color :badge{label="Soon" class="align-text-top"}
|
||||
|
||||
Use the `color` prop to change the color of the Kbd.
|
||||
|
||||
::component-code
|
||||
---
|
||||
props:
|
||||
color: neutral
|
||||
slots:
|
||||
default: K
|
||||
---
|
||||
::
|
||||
|
||||
### Variant
|
||||
|
||||
Use the `variant` prop to change the variant of the Kbd.
|
||||
@@ -69,6 +82,7 @@ Use the `variant` prop to change the variant of the Kbd.
|
||||
::component-code
|
||||
---
|
||||
props:
|
||||
color: neutral
|
||||
variant: solid
|
||||
slots:
|
||||
default: K
|
||||
|
||||
Reference in New Issue
Block a user