Kinds
Crepe masking tape, four printed washi patterns, gummed kraft and nearly invisible cellophane. Every strip has slit lines along its edges and crinkles where it was pressed down.
A strip of masking, washi, kraft or cellophane tape, drawn: translucent, with slit lines along its edges, crinkles and torn or pinked ends. Stick it across a corner, use it as a label, or let Paper place it for you.
npx shadcn@latest add @wobko/tapeFirst time here? Add the registry to components.json first. How to install
Crepe masking tape, four printed washi patterns, gummed kraft and nearly invisible cellophane. Every strip has slit lines along its edges and crinkles where it was pressed down.
Tape is placed with className, like any element: absolute, a little outside the sheet, turned. The strip's own angle is seeded and never more than a few degrees.
Tear it, pink it, cut it straight. Any length and width; the middle stretches, the ends keep their teeth.
Write on it: put the tape behind a line of text. The strip is decoration, so the label is real text a screen reader reads.
An intrinsic svg: its size is its `length` and `height`, so it is complete in server markup and needs no measuring. Position it with className (`absolute -top-3 left-6`).
| Prop | Type | Default | Description |
|---|---|---|---|
| kind | "masking" | "washi-dots" | "washi-stripes" | "washi-zigzag" | "washi-gingham" | "kraft" | "clear" | "masking" | Crepe masking tape; four printed washi patterns (dots, diagonal stripes, zigzag, gingham); gummed kraft with fiber streaks; nearly invisible cellophane. |
| length | number | 72 | Along the strip, px. |
| height | number | 22 | Across the strip, px. |
| angle | number | - | Degrees it lies at. Default: seeded within +-4. Clamped like a sheet's tilt (calm density lays every strip flat). |
| ends | "saw" | "torn" | "straight" | "scissor" | - | How the strip ends. Default follows the kind: masking and kraft are torn with a sawtooth, washi is pinked, clear is straight. |
| color | Accent | - | Print color of a washi tape: tomato, tangerine, lemon, grass, teal, sky, grape or bubblegum. |
| seed | string | number | - | Pins the drawing: the same seed always draws the same strip. |
The files the CLI copies into your project.
Loading the source