Lanseringsvecka50 % rabatt på ett år AuteurSe planer
SpacesSkaffa Pro
Alla 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.

Karaktär
Lekfull

Lägg till i din app

$npx velvo add context-menu

För Claude Code, Cursor eller vilket projekt som helst med terminal.

Använd till

  • Extra actions on messages, photos and files.

Inte till

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

Props

Lästa direkt ur komponentens egen TypeScript, så de är alltid aktuella.

PropTypStandard
childrenKrävsReactNode
actionsKrävsMenuAction[]
onActionKrävs(id: string) => void
labelKrävsstring

Bättre med en skill

Ge din agent en, så använder den Context menu som det är tänkt.

Page structureGratis

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

$npx velvo skill page-structure
Läs skillen
Less is moreGratis

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

$npx velvo skill less-is-more
Läs skillen

Specs

Category
Surfaces
Tier
Pro
Built with
React and TypeScript
Files
17
Size
365 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
NästaAlert