# TallStackUI: Kbd
> TallStackUI is a TALL Stack (Tailwind CSS, Alpine.js, Laravel, Livewire)
> component library providing 80+ Blade components for building modern web interfaces.
A keyboard key indicator component for displaying keyboard shortcuts or key references. Supports multiple sizes, borderless and shadowless modes, and optional tooltips.
## Basic Usage
```blade
```
```blade
+
```
```blade
```
```blade
```
## Attributes
| Attribute | Type | Default | Description |
|------------|--------------|---------------------------|----------------------------------------|
| text | string\|null | null | Key label text |
| xs | bool | null | Extra-small size |
| sm | bool | null | Small size (default) |
| md | bool | null | Medium size |
| lg | bool | null | Large size |
| borderless | bool\|null | null (from config: false) | Removes the border, keeping the shadow |
| shadowless | bool\|null | null (from config: false) | Removes the shadow, keeping the border |
| tooltip | string\|null | null | Tooltip text shown on hover |
Combine `borderless` and `shadowless` to strip both.
## Configuration
Global defaults can be configured in `config/tallstackui.php` — the inline prop
always wins:
```php
'kbd' => [
'borderless' => false,
'shadowless' => false,
],
```
The balloon accepts the same attributes as anywhere else — `data-position`,
`data-tooltip-delay`, `data-tooltip-color` and `data-tooltip-disabled`. See
[Tooltip](tooltip.md#the-x-tooltip-directive).
```blade
```
## Slots
| Slot | Description |
|-----------|--------------------------------------------------|
| (default) | Custom content, used when `text` is not provided |
## Soft Customization
Soft customization allows you to override default Tailwind CSS classes used by this component at runtime, either through a service provider or scoped per-instance.
### Customization
```php
TallStackUi::customize()
->kbd()
->block('wrapper.class', 'your-tailwind-classes');
```
### Available Blocks
| Block Name | Purpose |
|------------------|----------------------------------------------------------------|
| wrapper.class | Base key styles (inline-flex, rounded, border, shadow, colors) |
| wrapper.sizes.xs | Extra-small text and padding |
| wrapper.sizes.sm | Small text and padding |
| wrapper.sizes.md | Medium text and padding |
| wrapper.sizes.lg | Large text and padding |
| borderless | Applied when borderless is active (transparent border) |
| shadowless | Applied when shadowless is active (no shadow) |