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

Popover Gratis

Grows out of the button you pressed, from the point it hangs from. Click outside or press Escape.

Click outside or press Escape to close.

Karakter
Leken
Registrer deg gratis for å laste ned

Bruk til

  • A few options tied to one button.

Ikke til

  • Anything long. Use a sheet.

Props

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

PropTypeStandard
triggerPåkrevdReactNode
childrenPåkrevdReactNode
labelPåkrevdstring
side'bottom' | 'top''bottom'

Bedre med en skill

Gi agenten din en, så bruker den Popover 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
Free
Built with
React and TypeScript
Files
16
Size
305 KB
Needs
framer-motion
Install
npx velvo add popover
Works with
Next.js, Vite, Remix, Expo web

Licence

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

Not for resale as a component or a UI kit.

Tags

surfacesfreereact
NesteMarquee