Paper Clip

New

Wire paper clip over the top edge of a card, optionally holding a paper tab with a handwritten label. Press the tab and it slides up out of the clip.

Preview

Installation

npx @lumioui/cli add paper-clip

Usage

import { PaperClip } from "@/components/ui/paper-clip/paper-clip";
<PaperClip />

API reference

Prop Type Default
children* React.ReactNode

The surface being clipped — a card, a note, a photo.

—
className string —
tab React.ReactNode

Label on a paper tab held under the clip. A string is handwritten.

—
position "left" | "center" | "right"

Where along the top edge the clip sits. Default "left".

"left"
tilt number

Tab tilt in degrees. Default -3.

-3
tone "steel" | "primary"

Wire colour. Default "steel".

"steel"
tabTone "paper" | "kraft"

Tab paper. Default "paper".

"paper"
onPress PressableProps["onPress"]

Called when the tab (or the bare clip) is pressed.

—
haptic boolean

Selection haptic as the tab lifts. Default true.

true
disabled boolean —
accessibilityLabel string —