Skip to content
SevenUI
Sign inGet Pro

Context Menu components

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

On this page

Icons and shortcuts

A canvas layer menu with leading icons, trailing keyboard shortcuts, and a destructive delete.

… add @sevenui/component/context-menu-01… add @sevenui/ui-sdk/component/context-menu-01
Hero bannerRight-click the layer or press Shift+F10

Toggle view options

Controlled checkbox items that stay open while toggling grid, rulers, and guides on a live artboard.

… add @sevenui/component/context-menu-02… add @sevenui/ui-sdk/component/context-menu-02
Sign-up card

Showing pixel grid, rulers, snap to grid

Swatch radio groups

Single-select label and priority groups with color swatches, reflected on the task card.

… add @sevenui/component/context-menu-03… add @sevenui/ui-sdk/component/context-menu-03
DesignMedium

Audit onboarding emails for the Q4 pricing change

Right-click to relabel · Due Oct 14

Read-only state

A document menu that disables and locks edit actions when a view-only switch is on.

… add @sevenui/component/context-menu-04… add @sevenui/ui-sdk/component/context-menu-04

2025 hiring plan

Shared by Priya Nair · Can view

Playlist track menu

A playlist whose song rows open a menu with an album-art header, play and queue actions, a Liked songs checkbox, an Add to playlist checkbox submenu, and remove.

… add @sevenui/component/context-menu-05… add @sevenui/ui-sdk/component/context-menu-05

Late night coding

3 songs · 0 queued

  1. Glass HarborLune Avenue3:42
  2. 2Paper SatellitesThe Quiet Arcade4:05
  3. 3NorthboundMara Solis2:58

Right-click a song, or focus it and press Shift+F10.

Editor block menu

Document editor blocks with a menu to turn a block into another type, insert text or media blocks below through nested submenus, duplicate, reorder, or delete.

… add @sevenui/component/context-menu-06… add @sevenui/ui-sdk/component/context-menu-06

Launch retro · Oct 2

Right-click a block, or focus it and press Shift+F10, to transform, insert, or reorder.

What went well
Checkout conversion held at 3.8% through the launch-day traffic spike.
The status page update went out before the first support ticket.
Write the incident timeline for the billing outage

4 blocks

Async action states

A controlled menu whose items stay open to show loading, success, and error-with-retry states inline.

… add @sevenui/component/context-menu-07… add @sevenui/ui-sdk/component/context-menu-07

acme-web

main · last deploy 3 hours ago

Right-click

Actions keep the menu open and report progress inline.

Team member actions

A team members list whose context menu changes a member's role, copies their email, resends a pending invite, or removes them, with owners protected.

… add @sevenui/component/context-menu-08… add @sevenui/ui-sdk/component/context-menu-08

Team members

Right-click a member to change their role or access.

  • MC

    Maya Chen

    maya@northwind.io

    Owner
  • JW

    Jonas Weber

    jonas@northwind.io

    Admin
  • PR

    Priya Raman

    priya@northwind.io

    Member
  • LM

    Leo Martins

    leo@contractor.dev

    Viewer
Owners can't be demoted or removed.

Notification triage

A notifications inbox where right-clicking an item marks it read or unread, snoozes it, mutes its thread, or archives it.

… add @sevenui/component/context-menu-09… add @sevenui/ui-sdk/component/context-menu-09

Notifications2 unread

  • Amara mentioned you in Pricing page copy

    “Can you confirm the annual discount is still 20%?”

    4m
  • Review requested on PR 482

    fix(billing): prorate seat changes mid-cycle

    32m
  • Theo replied in Onboarding checklist

    “Shipped the empty state, screenshots in thread.”

    2h

Calendar event menu

A day schedule where each event's context menu sets your RSVP, recolors its calendar, copies the meeting link, duplicates, reschedules, or deletes it.

… add @sevenui/component/context-menu-10… add @sevenui/ui-sdk/component/context-menu-10

Thursday, Oct 8

Right-click an event
  • Design standup
  • Acme onboarding call10:00 AM – 11:00 AM · Maybe
  • Write Q4 roadmap11:30 AM – 1:00 PM

3 events today

Support chat message actions

A support conversation where message context menus reply with a quote, add reactions, pin, mark a solution, or delete your own message.

… add @sevenui/component/context-menu-11… add @sevenui/ui-sdk/component/context-menu-11

Billing question · Daniel Ortiz

Right-click a message to reply, react, or pin it.

  1. Our invoice for September shows 14 seats but we removed two people on the 12th.
    Daniel Ortiz · 10:42
  2. Thanks Daniel. Seat removals are prorated on the next invoice, so you'll see a $38.00 credit in October.
    You · 10:44
  3. Got it. Can the credit be applied to this invoice instead?
    Daniel Ortiz · 10:46

Dashboard widget options

An analytics signups widget whose context menu switches the date range, toggles comparison and data labels, exports, or removes the widget.

… add @sevenui/component/context-menu-12… add @sevenui/ui-sdk/component/context-menu-12

New signups

3,482

Last 7 days

+12.4% vs previous

CurrentPreviousRight-click for options

Order row actions

An e-commerce orders table where each row's context menu updates fulfillment, prints a packing slip, issues a full or shipping refund, or cancels the order.

… add @sevenui/component/context-menu-13… add @sevenui/ui-sdk/component/context-menu-13
Right-click an order for fulfillment and refund actions.
OrderTotal
SO-10482Hannah Okafor$128.50Unfulfilled
SO-10481Kenji Sato$64.00Packed
SO-10479Lucía Fernández$242.90Shipped

Code explorer menu

An IDE file explorer whose context menu creates files and folders, renames inline, copies paths, stages or discards git changes, and deletes.

… add @sevenui/component/context-menu-14… add @sevenui/ui-sdk/component/context-menu-14

Explorer · acme-web

3 changes

src/components/button.tsx

Right-click a file or folder

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.