> ## Documentation Index
> Fetch the complete documentation index at: https://help.21st.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Keyboard Shortcuts

> Quick reference for Community navigation

## Global

| Shortcut       | Action                                                                       |
| -------------- | ---------------------------------------------------------------------------- |
| `⌘/Ctrl` + `K` | Open the search palette                                                      |
| `/`            | Focus the sidebar search                                                     |
| `⌘/Ctrl` + `\` | Toggle sidebar (not available on Pricing; the publishing sidebar stays open) |
| `⌘/Ctrl` + `,` | Open settings                                                                |
| `Escape`       | Close dialog / exit search / exit fullscreen                                 |

## Search Palette

| Shortcut | Action                   |
| -------- | ------------------------ |
| `↓` `↑`  | Navigate results         |
| `Enter`  | Open the selected result |
| `Escape` | Close the palette        |

## Component Page

| Shortcut                 | Action                                                    |
| ------------------------ | --------------------------------------------------------- |
| `⌘/Ctrl` + `C`           | Copy component code                                       |
| `⌘/Ctrl` + `X`           | Copy AI prompt                                            |
| `⌘/Ctrl` + `Shift` + `C` | Copy share link                                           |
| `F`                      | Toggle fullscreen                                         |
| `C`                      | Toggle code view                                          |
| `B`                      | Bookmark                                                  |
| `R`                      | Reload preview                                            |
| `E`                      | Edit (the author, and anyone who manages the owning team) |
| `Escape`                 | Exit fullscreen                                           |

## Preview Dialog (Components)

The quick-look modal that opens over the grid.

| Shortcut | Action                    |
| -------- | ------------------------- |
| `←` `→`  | Previous / next component |
| `Enter`  | Copy code or prompt       |
| `O`      | Open the component page   |
| `B`      | Bookmark                  |
| `R`      | Refresh preview           |
| `T`      | Toggle theme              |
| `S`      | Copy share link           |
| `F`      | Open in new tab           |
| `Escape` | Close dialog              |

## Tips

<Tip>
  **Copy shortcuts** — `⌘C` copies component code only when no text is selected. If you've selected text, it copies your selection instead.
</Tip>

<Tip>
  **Shortcuts disabled in inputs** — Keyboard shortcuts don't trigger when you're typing in a search field or text input.
</Tip>

<CardGroup cols={2}>
  <Card title="Components" icon="https://mintcdn.com/21st/uLCB5kikM-FHl_zp/icons/nav/grid.svg?fit=max&auto=format&n=uLCB5kikM-FHl_zp&q=85&s=0d9b34d772968170c2388d8f2ce115be" href="/community/components" width="24" height="24" data-path="icons/nav/grid.svg">
    Browse and copy components
  </Card>

  <Card title="Themes" icon="https://mintcdn.com/21st/uLCB5kikM-FHl_zp/icons/nav/themes.svg?fit=max&auto=format&n=uLCB5kikM-FHl_zp&q=85&s=db61dc137b0a8e8afe97e340fcc8f736" href="/community/themes" width="24" height="24" data-path="icons/nav/themes.svg">
    Discover color schemes
  </Card>
</CardGroup>
