Tape

New

Strip of tape with torn ends for holding photos, notes and stickers to the page, plain or striped, with room for a handwritten word. Press it and the near end lifts off.

Preview

Installation

npx @lumioui/cli add tape

Usage

import { Tape } from "@/components/ui/tape/tape";
<Tape />

API reference

Prop Type Default
className string —
children React.ReactNode

Text written on the tape (set in the handwriting face) or any content.

—
width number

Strip length in points. Default 104.

104
height number

Strip width in points. Default 28.

28
tilt number

Resting tilt in degrees. Default -6.

-6
tone "paper" | "kraft" | "primary"

Material. Default "paper".

"paper"
pattern "plain" | "stripes"

Washi pattern printed on the strip. Default "plain".

"plain"
haptic boolean

Selection haptic as it lifts. Default true.

true
disabled boolean —
accessibilityLabel string —