Shortcut

Component designed to trigger actions or events. It primarily contains text and is commonly utilized in forms, dialogs, and toolbars.

Import

import { Shortcut, useShortcuts } from '@vortex-kit/vortex';
import type { ShortcutProps } from '@vortex-kit/vortex';

Display

<Shortcut>⌘C</Shortcut>

Shortcut

Prop
Type
Default
active
boolean
children
React.ReactNode
className
union
attributes
object
Shortcut Component Props — Vortex Design System