Lanseringsvecka50 % rabatt på ett år AuteurSe planer
SpacesSkaffa Pro
Alla komponenter

Split view Gratis

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.

Karaktär
Lekfull
Registrera dig gratis för att ladda ner

Använd till

  • List and detail side by side on desktop.

Inte till

  • Phones. Stack them instead.

Props

Lästa direkt ur komponentens egen TypeScript, så de är alltid aktuella.

PropTypStandard
leftKrävsReactNode
rightKrävsReactNode
snapsnumber[][1 / 3, 0.5, 2 / 3]
minnumber0.2

Bättre med en skill

Ge din agent en, så använder den Split view som det är tänkt.

Motion with weightGratis

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

$npx velvo skill velvo-motion
Läs skillen
Empty, loading and error statesPro

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

Ingår i ProLäs skillen

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
NästaCompare