Momentum sheet Grátis
A bottom sheet that carries your flick and settles where you were heading.
Mostrado em
Caráter
Brincalhão
Cadastre-se grátis para baixar
Use 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.
Não use para
- A decision people must make before going on. Use a dialog.
- Long forms. A full screen gives the keyboard room.
Props
Lidas do próprio TypeScript do componente, então estão sempre atualizadas.
PropTipoPadrão
openObrigatóriabooleanonCloseObrigatória() => voiddetentsnumber[]Heights it rests at, as a share of the space it's in, lowest first.[0.42, 0.9]initialnumberWhich height it opens at.0dismissiblebooleanWhether a flick down can close it.truelabelObrigatóriastringchildrenObrigatóriaReactNodeMelhore com uma skill
Adicione uma ao seu agente e ele usa Momentum sheet do jeito que foi pensado.
Page structureGrátis
Decides where it goes on the page and what sits around it.
$
Ler a skillnpx velvo skill page-structureLess is moreGrátis
One of these per screen is plenty. This skill keeps it that way.
$
Ler a skillnpx velvo skill less-is-moreSpecs
- 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.