Lanseringsuke50 % rabatt på ett år AuteurSe planer
SpacesSkaff Pro
Alle komponenter

Context menu Pro

Press and hold, or right-click. What you pressed lifts out, the rest dims, and the menu springs up.

Are we still on for Saturday?

Yes! Booked a table for 8 at Padella

Perfect, see you there

Press and hold a message, or right-click it.

Karakter
Leken

Legg den til i appen din

$npx velvo add context-menu

For Claude Code, Cursor eller et hvilket som helst prosjekt med terminal.

Bruk til

  • Extra actions on messages, photos and files.

Ikke til

  • The only way to reach an action. Hidden menus get missed.

Props

Lest rett fra komponentens egen TypeScript, så de er alltid oppdatert.

PropTypeStandard
childrenPåkrevdReactNode
actionsPåkrevdMenuAction[]
onActionPåkrevd(id: string) => void
labelPåkrevdstring

Bedre med en skill

Gi agenten din en, så bruker den Context menu slik den er tenkt.

Page structureGratis

Decides where it goes on the page and what sits around it.

$npx velvo skill page-structure
Les skillen
Less is moreGratis

One of these per screen is plenty. This skill keeps it that way.

$npx velvo skill less-is-more
Les skillen

Specs

Category
Surfaces
Tier
Pro
Built with
React and TypeScript
Files
17
Size
363 KB
Needs
framer-motion
Install
npx velvo add context-menu
Works with
Next.js, Vite, Remix, Expo web

Licence

Velvo Pro licence
  • Personal and commercial use
  • Change it however you like
  • No credit needed

Not for resale as a component or a UI kit.

Tags

surfacesspringtypographynavigationproreact
NesteAlert