App UI kits › Twofold › Discover

Discover

The card follows your finger and tilts; flick it and it flies off at your speed while the next card rises.

Discover is a screen from Twofold, an app ui kit with 9 screens: A dating app where cards fly off with the speed you give them, matches show what you really share, and safety is one tap away. Price: $5 for the whole pack.

Built with: fling physics, lean stamps, free undo.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Discover props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosTvPhotos
onLike(id: string) => void
onPass(id: string) => void

Methods on the ref

Use it in React

import TwofoldDiscover from './TwofoldDiscover';

<TwofoldDiscover />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Twofold

Good for: Dating app UI.