# Shortcut Key Chip

https://fieldbook.lizardi.mx/components/keycap-combo-group

Category: Data display
![Still of the Shortcut Key Chip component, a Fieldbook UI component in Data display.](https://fieldbook.lizardi.mx/thumbs/keycap-combo-group.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/keycap-combo-group-3001d09e81.mp4 (5 s, silent)

Shortcut Key Chip: Small pill tokens for individual keys that group together inline to spell out a keyboard shortcut.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| comboText | text | Ctrl+Shift+P | Up to 24 characters |
| accentColor | color | #F5C542 | No additional limit in the metadata. |
| size | select | medium | Options: small, medium, large |
| grouped | boolean | true | No additional limit in the metadata. |

## Usage notes

Shortcut Key Chip uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Shortcut Key Chip?

Shortcut Key Chip is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Shortcut Key Chip depend on?

The React metadata lists these npm dependencies beyond React: motion.

### What accessibility details are visible in Shortcut Key Chip?

The React source for Shortcut Key Chip includes: attributes and handlers (aria-hidden, aria-label); explicit roles (group). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Shortcut Key Chip handle reduced motion?

Shortcut Key Chip reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: enter: reduce ? \{ transition: \{ duration: 0 \} \} : \{ transition: \{ type: "spring" as const, stiffness: 460, damping: 28 \} \}. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "keycap-combo-group",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Animated metric counter](https://fieldbook.lizardi.mx/components/animated-metric-counter)
- [Before/After Code Diff](https://fieldbook.lizardi.mx/components/before-after-code-diff)
- [Billing Ledger Table](https://fieldbook.lizardi.mx/components/billing-ledger-table)
- [Concentric goal rings](https://fieldbook.lizardi.mx/components/concentric-goal-rings)
- [Counting number readout](https://fieldbook.lizardi.mx/components/counting-number-readout)
- [Credit balance ledger](https://fieldbook.lizardi.mx/components/credit-balance-ledger)
