Semana de lanzamiento50 % de descuento en un año de AuteurVer planes
EspaciosHazte Pro
Todos los componentes

Momentum sheet Gratis

A bottom sheet that carries your flick and settles where you were heading.

Abrir en el editor
Se muestra en
Carácter
Juguetón
Regístrate gratis para descargar

Úsalo para

  • Something that belongs on top of the screen without replacing it: a map’s results, a bag, filters.
  • Content people move between a glance and a full read.

No para

  • A decision people must make before going on. Use a dialog.
  • Long forms. A full screen gives the keyboard room.

Props

Leídas del propio TypeScript del componente, así que siempre están al día.

PropTipoPor defecto
openObligatoriaboolean
onCloseObligatoria() => void
detentsnumber[]Heights it rests at, as a share of the space it's in, lowest first.[0.42, 0.9]
initialnumberWhich height it opens at.0
dismissiblebooleanWhether a flick down can close it.true
labelObligatoriastring
childrenObligatoriaReactNode

Mejóralo con una skill

Añade una a tu agente y usará Momentum sheet tal como se diseñó.

Page structureGratis

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

$npx velvo skill page-structure
Leer la skill
Less is moreGratis

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

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

Specs

Category
Surfaces
Tier
Free
Built with
React and TypeScript
Files
16
Size
306 KB
Needs
framer-motion
Install
npx velvo add sheet
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

surfacesgesturefreereact
SiguienteContext menu