BlogPlaygroundOne

VKbd API


Props
name
type
default
string | number | boolean
false

Applies utility border classes to the component. To use it, you need to omit the border- prefix, (for example use border-sm as border="sm"). Find a list of the built-in border classes on the borders page.

string
undefined

Applies specified color to the control - supports utility colors with or without text- prefix (for example success, purple or text-purple) or CSS color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page.

string | number
undefined

Designates an elevation applied to the component between 0 and 5. You can find more information on the elevation page.

string | number | boolean
undefined

Designates the border-radius applied to the component. This can be 0, xs, sm, true, lg, xl, pill, circle, and shaped. Find more information on available border radius classes on the Border Radius page.

string | (new () => any) | FunctionalComponent
'kbd'

Specify a custom tag used on the root element.

string
undefined

Specify a theme for this component and all of its children.

boolean
false

Removes any applied border-radius from the component.

Slots
never

The default Vue slot.

SASS Variables
name
default
(
  $kbd-border-color,
  $kbd-border-style,
  $kbd-border-width,
  $kbd-border-thin-width
)
rgba(var(--v-border-color), var(--v-border-opacity))
4px
solid
thin
thin
inline-flex
1
settings.$body-font-family
0.875em
normal
1
1px
1em
20px
3px 6px