Avatar
Action Hotkey Tile
An action tile with a hotkey badge in the corner: the combo shows as a pill and is duplicated through the button's aria-keyshortcuts attribute.
React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.
What you can change
- label and description — the tile's texts
- hotkey — the character array for the visual pill
- hotkeyAriaLabel — the same combo in aria-keyshortcuts format (e.g. "Meta+K")
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.club/c/icontile-016?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
How to use
<Icontile016 label="Quick search" hotkey={["Ctrl", "K"]} hotkeyAriaLabel="Meta+K" icon="search" />A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Title
label· default: Quick search- Description
description· default: Find a command or a file- Icon
icon· default: search- Tone
tone· default: accent- Background
background· default: theme colour
More in Avatar
FAQ
- How do I add Action Hotkey Tile with Cursor or Claude Code?
- Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
- What does Action Hotkey Tile depend on?
- No npm packages beyond React and Tailwind CSS.
- What can I change in Action Hotkey Tile?
- Adapt: label and description — the tile's texts; hotkey — the character array for the visual pill; hotkeyAriaLabel — the same combo in aria-keyshortcuts format (e.g. "Meta+K"). Keep as installed: the local --vibeui-icontile-016-* palette — do not swap it for your theme tokens; aria-keyshortcuts on the button next to the visual pill: a screen reader must not spell out characters like "Ctrl"; aria-hidden on the whole shortcut pill: it duplicates aria-keyshortcuts rather than carrying its own meaning.
- Is Action Hotkey Tile free?
- Yes. The preview is open without an account; with a free account you can copy up to 20 components a month.
For developers
npx shadcn@latest add https://vibeui.club/r/pro/icontile-016.jsonThis command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options
Technical notes
Server component, no hooks: the tile is an ordinary semantic <button type="button">, so focus and keyboard activation work without a single line of JS. The keyboard shortcut is duplicated twice — as a visual pill of separate <kbd> elements in the corner and as the aria-keyshortcuts attribute on the button itself; the pill as a whole is marked aria-hidden, because a screen reader already announces the combination from the attribute, and reading characters such as "Ctrl" out letter by letter again would be noise on top of the action name. The icon is switched through icon (search, add, command), and the icon tile's colour through tone by the category-wide "background and glyph from one hue" formula. The description is hidden on a narrow container through @container, while the title always remains. The palette has been moved to light-dark(): in the dark branch the border and the keys are lighter than the background rather than darker. The button has no surface by default — it is set by the background prop, and then the theme branch is computed from the lightness of the given colour.
Tags
- icontile
- action
- hotkey
- shortcut
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…