TapeMarker
Folded vermilion paper checkpoint marker with an optional label above it.
parar aquí
Install
npx shadcn@latest add @jbm/tape-markerNeeds the @jbm entry in components.json; see Install once.
Also installs @jbm/tokens, @jbm/paper.
Usage
import { TapeMarker } from "@/jbm/ui/tape-marker"<TapeMarker label="parar aquí" />Props
- Stage px
- Declared at the documented defaults
- Landscape
20 by 72- Vertical
20 by 72- Basis
Fixed 20×72 box. The label is absolutely positioned above it (8px gap plus one line of inherited-size text) and does not add to the box; long labels extend sideways beyond 20px.
A 20×72 vermilion strip with the shared paper shadow and a darker 14px fold at the top. Usable alone or as PaperTape's checkpoint marker.
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | none | Optional bold vermilion text centered 8px above the marker. It does not wrap and sits outside the marker's box, so reserve headroom for it. |
style | CSSProperties | none | Inline styles merged last onto the marker strip, e.g. for positioning. |
QA checks
- Toggle Marker label: the marker box does not move or resize, and the label centers above it.
- Check the top fold reads as a darker band and the shadow matches other paper surfaces.
- Check long labels at narrow widths: they do not wrap, so make sure they are not clipped by a parent.