Context Menu

stable llms.txt

Right-click activated menu that appears at cursor position. Ideal for contextual actions and shortcuts.

Installation

bash
ts

Preset Configuration

Customize the appearance using presets

Examples

Explore different variations and use cases

Basic Zone

Right-click the zone to open the menu

On Button

Use Button as the trigger base

On DataGrid Row

Row-level context actions

Related Components

API Reference

Accessibility

  • Right-click or Shift+F10 opens the menu on the trigger element
  • Arrow keys navigate menu items
  • Enter or Space activates a focused item
  • Escape closes the menu
  • Tab exits the menu and returns focus to normal flow

© 2026 Svelte Atoms. Open source under the MIT license.

Built with Svelte 5 · Runes · TailwindCSS