Kbd
CoreDisplay keyboard shortcuts as inline key badges.
Reserve space while loading with text, circular, rectangular, and preset skeleton components.
bun add @reopt-ai/opt-uiimport { Skeleton, SkeletonText, SkeletonAvatar, SkeletonCard, SkeletonTable } from "@reopt-ai/opt-ui";Change the width and theme, then interact with the components.
1 line
3 lines
Display keyboard shortcuts as inline key badges.
Show a metric with its value, change, and supporting description. Omit the change row when no comparison is available.
Navigate child elements in two dimensions with arrow keys using a Composite container.
Group actions in a toolbar with buttons, separators, and tooltips.
Display inline status badges with five color variants and an optional status dot.
Indicate loading in three sizes, with an aria-hidden mode for decorative use.