Component packs › Fastener › Unzip Card

Unzip Card

Pull the zip and the fabric parts behind the slider in a widening mouth, shadow falling on the card, until the flaps fold right back.

Unzip Card is a reveal from Fastener, a component pack with 6 fastener controls: Controls that fasten like clothing: zips that mesh, studs that snap, hook-and-loop that tears, buckles that click. Price: $2 for the whole pack.

Built with: fabric flaps follow the zip, drag or press the pull, zip() closes it.

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.

Unzip Card props

PropTypeDefaultDescription
titlestringContent under the fabric.
textstring
codestringA short code shown large (optional).
pullLabelstring"Unzip to reveal"Accessible name of the pull. Default "Unzip to reveal".
onOpen() => void

Methods on the ref

Use it in React

import UnzipCard from './UnzipCard';

<UnzipCard />

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

More in Fastener

Good for: Buttons.