Skip to content
SevenUI
Sign inGet Pro

Kbd components

13 free, copy-and-go React Kbd examples built on the SevenUI Kbd primitive. Install any of them with the shadcn CLI.

On this page

Kbd Size Scale

Compact, default, large and display keycap sizes for the same ⌘K shortcut, each with a note on where it fits.

… add @sevenui/component/kbd-01… add @sevenui/ui-sdk/component/kbd-01
Compact
Dense tables and menu rows
Command K
Default
Tooltips, buttons and inline copy
Command K
Large
Onboarding tips and empty states
Command K
Display
Shortcut cheat sheets and hero callouts
Command K

Kbd Visual Styles

A tile grid comparing five looks for the same ⇧⌘P shortcut: subtle, outline, raised keycap, solid primary and ghost.

… add @sevenui/component/kbd-02… add @sevenui/ui-sdk/component/kbd-02
  • Shift Command P
    SubtleThe default muted fill.
  • Shift Command P
    OutlineA hairline border on a transparent face.
  • Shift Command P
    KeycapA raised face with a thicker bottom edge.
  • Shift Command P
    SolidHigh emphasis for the primary action.
  • Shift Command P
    GhostText only, for the quietest hint.

Kbd With Icons

Modifier and navigation keys drawn as lucide icons, first icon-only with screen-reader names, then with text labels.

… add @sevenui/component/kbd-03… add @sevenui/ui-sdk/component/kbd-03

Icon only

CommandShiftOptionControlReturnDeleteArrow upArrow down

Icon with label

CommandShiftOptionControlReturnDelete

Chords and Sequences

A legend and shortcut list that tells keys pressed together (A + B) apart from keys pressed in order (A then B).

… add @sevenui/component/kbd-04… add @sevenui/ui-sdk/component/kbd-04
A+BtogetherAthenBin order
  • Open command menuChord
    ⌘K
  • Go to inboxSequence
    GthenI
  • Reopen closed tabChord
    ⌘⇧T
  • Clear formattingSequence
    ⌘Kthen⌘\

Platform-Aware Shortcuts

A macOS/Windows toggle that swaps ⌘/Ctrl, ⌥/Alt and ⇧/Shift in a shortcut list, with a short fade when the keys change.

… add @sevenui/component/kbd-05… add @sevenui/ui-sdk/component/kbd-05
Show shortcuts for
  • Duplicate layerCommand D
  • Group selectionCommand G
  • Export as PNGShift Command E
  • Copy propertiesOption Command C

Pressable Arrow Keycaps

A focusable arrow-key cluster whose keycaps press down while held and move a dot around a 5x5 grid, with reduced-motion support.

… add @sevenui/component/kbd-06… add @sevenui/ui-sdk/component/kbd-06

Column 3 of 5, row 3 of 5

Focus the panel, then hold the arrow keys to see each keycap press down.

Kbd on Surfaces

Kbd restyled for background, muted and primary surfaces, and placed inside outline and primary buttons.

… add @sevenui/component/kbd-07… add @sevenui/ui-sdk/component/kbd-07
On background

Press ⌘Enter to send the reply.

On muted

Press ⌘Enter to send the reply.

On primary

Press ⌘Enter to send the reply.

Support Chat Composer

A support reply box where Enter sends and Shift+Enter adds a line, and the hint row highlights Shift while it is held.

… add @sevenui/component/kbd-08… add @sevenui/ui-sdk/component/kbd-08
LF

Lena Fischer

Billing · Ticket 4821

  1. Lena: Hi! My March invoice shows two charges for the Team plan.
  2. You: Thanks, Lena. I can see both charges. Let me check what happened.

Enterto sendShiftEnterfor a new line

Onboarding Shortcut Practice

An onboarding step with a practice area that detects Cmd/Ctrl+K, C and the G-then-I sequence, checks each lesson off and enables Continue.

… add @sevenui/component/kbd-09… add @sevenui/ui-sdk/component/kbd-09

Learn three shortcuts

Step 2 of 4

Most of the team never touches the mouse. Try each shortcut in the practice area below.

x
  • Open search (not yet)

    Jump to any project, issue, or teammate.

    CtrlK
  • Create an issue (not yet)

    Works from anywhere, no mouse needed.

    C
  • Go to your inbox (not yet)

    Press G, let go, then press I.

    GthenI
Click here, then press a shortcut

0 of 3 shortcuts practiced

Shortcut Rebinding Settings

A mail settings panel that records a new key combination per action, warns inline on conflicts, supports Esc and resets to defaults.

… add @sevenui/component/kbd-10… add @sevenui/ui-sdk/component/kbd-10

Keyboard shortcuts

Select a shortcut and press the keys you want to use instead.

  • New message
  • Reply
  • Archive conversation
  • Snooze until tomorrow
  • Search mail

File Manager Actions

A file grid you move through with the arrow keys, with Rename (F2), Duplicate (Cmd/Ctrl+D), Delete (Del) and an Undo status bar.

… add @sevenui/component/kbd-11… add @sevenui/ui-sdk/component/kbd-11

Shared drive / Marketing

6 items
Brand assets24 items
Q3 roadmap.pdf1.2 MB
Payroll Sept.xlsx88 KB
Hero photo.jpg3.4 MB
Contracts9 items
Launch kit.zip56 MB

Notification Triage Inbox

A notification list triaged from the keyboard with J/K, E, S and U, inline hints on the active row and an all-caught-up empty state.

… add @sevenui/component/kbd-12… add @sevenui/ui-sdk/component/kbd-12

Notifications3 unread

0 done · 0 snoozed

PR

Priya Raman requested your review on Checkout redesign

4m
Unread
DK

Daniel Kim mentioned you in Q4 pricing experiment

22m
Unread
SO

Sara Okafor assigned you Fix VAT rounding on invoices

1h
Unread
ML

Marco Lenz resolved your comment on Onboarding checklist

3h
AB

Ava Brooks invited you to Growth team workspace

Yesterday

JKMoveEDoneSSnoozeURead / unread

Shortcut Cheat Sheet

An editor that opens a searchable, grouped shortcut reference dialog on ? with sequence rendering and a Mac/Win key toggle.

… add @sevenui/component/kbd-13… add @sevenui/ui-sdk/component/kbd-13

Launch checklist

Final QA pass on the pricing page, then hand off the release notes to support before Thursday.

Saved · 2 min ago

Components are the parts. Blocks are the page.

Pro blocks are whole sections and pages — heroes, pricing, dashboards, auth — composed from the same primitives and themed by the same tokens you already use. Install one and it is yours.

One purchase, yours forever. $99 at launch instead of $249.