| Prop | Type | Default | Attributes |
|---|---|---|---|
size | union | md | |
className | union | No default value— | |
children | React.ReactNode | No default value— | |
variant | union | outline | |
active | boolean | false | |
onClick | callback | No default value— | |
attributes | object | No default value— | |
ariaLabel | string | No default value— | |
ref | ref | No default value— |
Shortcut
Shortcut is a keyboard hint that shows the keys for an action, such as pressing Cmd+K to open search.
Import
import { Shortcut } from '@vortexlabs/vortex';
import type { ShortcutProps } from '@vortexlabs/vortex';Allied components
Other links