Lanceringsuge50 % rabat på et år AuteurSe planer
SpacesFå 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
Legesyg

Føj den til din app

$npx velvo add context-menu

Til Claude Code, Cursor eller et hvilket som helst projekt med en terminal.

Brug den til

  • Extra actions on messages, photos and files.

Ikke til

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

Props

Læst direkte fra komponentens egen TypeScript, så de altid er opdaterede.

PropTypeStandard
childrenPåkrævetReactNode
actionsPåkrævetMenuAction[]
onActionPåkrævet(id: string) => void
labelPåkrævetstring

Bedre med en skill

Giv din agent en, så bruger den Context menu, som den er 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
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
NæsteAlert