Semaine de lancement50 % sur un an d’AuteurVoir les offres
EspacesPasser à Pro
Tous les composants

Morph dialog Pro

The button grows into its dialog, corners and all, and shrinks back into the button when you’re done. Nothing pops.

Caractère
Joueur

Ajoutez-le à votre app

$npx velvo add morph-dialog

Pour Claude Code, Cursor ou tout projet avec un terminal.

À utiliser pour

  • Short tasks that start from a button: invite, share, quick add.

Pas pour

  • Long forms. Use a page or a sheet.

Props

Lues dans le TypeScript du composant lui-même, donc toujours à jour.

PropTypePar défaut
triggerObligatoireReactNode
titleObligatoirestring
childrenObligatoireReactNode

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Morph dialog comme prévu.

Page structureGratuit

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

$npx velvo skill page-structure
Lire la skill
Less is moreGratuit

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

$npx velvo skill less-is-more
Lire la skill

Specs

Category
Surfaces
Tier
Pro
Built with
React and TypeScript
Files
17
Size
365 KB
Needs
framer-motion
Install
npx velvo add morph-dialog
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

surfacesmorphproreact
SuivantCode block