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

Split view Gratuit

Drag the divider. It catches at halves and thirds, resists past the edges, and a double-click puts it back.

NotesTrip ideasGroceriesGift listReading
Trip ideas

Lisbon in spring, the coast road from Porto, a night in Sintra. Book the tram tour early.

Caractère
Joueur
Inscrivez-vous gratuitement pour télécharger

À utiliser pour

  • List and detail side by side on desktop.

Pas pour

  • Phones. Stack them instead.

Props

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

PropTypePar défaut
leftObligatoireReactNode
rightObligatoireReactNode
snapsnumber[][1 / 3, 0.5, 2 / 3]
minnumber0.2

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Split view comme prévu.

Motion with weightGratuit

Keeps its springs and press feel intact when your agent wires it into your app.

$npx velvo skill velvo-motion
Lire la skill
Empty, loading and error statesPro

Designs its empty, loading and error moments, the ones that usually get forgotten.

Incluse dans ProLire la skill

Specs

Category
Drag and drop
Tier
Free
Built with
React and TypeScript
Files
16
Size
304 KB
Needs
framer-motion
Install
npx velvo add split-view
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

drag and dropgesturefreereact
SuivantCompare