Uppercase, tracked, muted kicker that names a scene or page section.
npx shadcn@latest add @jbm/labelUsage
Also installs @jbm/tokens.
import { Label } from "@/jbm/ui/label"<Label>Una idea a la vez</Label>Cut-paper primitives and motion blocks for tacosdedatos explainers.
75 registry items
Add the @jbm entry inside registries in your project’s components.json, keeping any entries already there. After that, every card’s npx shadcn@latest add command works.
Files install to src/jbm/. Import them as @/jbm/…, which needs the @/* → ./src/* path alias in tsconfig.json.
{ "registries": { "@jbm": "https://jbm-ui.bns.studio/r/{name}.json" }}Pure React pieces for pages and stages (type, cards, chips, charts, and text effects), set entirely by props.
Uppercase, tracked, muted kicker that names a scene or page section.
npx shadcn@latest add @jbm/labelAlso installs @jbm/tokens.
import { Label } from "@/jbm/ui/label"<Label>Una idea a la vez</Label>Display heading in Geist at weight 800 with tight tracking.
npx shadcn@latest add @jbm/bigAlso installs @jbm/tokens.
import { Big } from "@/jbm/ui/big"import { color } from "@/jbm/lib/tokens"<Big size={76}> Ideas que<br /> <span style={{ color: color.accent }}>se entienden.</span></Big>Raised surface with a fine border, layered depth, and inset edge light.
npx shadcn@latest add @jbm/cardAlso installs @jbm/tokens.
import { Card } from "@/jbm/ui/card"import { color } from "@/jbm/lib/tokens"import { Big } from "@/jbm/ui/big" // install @jbm/big separately<Card dark><Big color={color.bg}>Surface</Big></Card>Inline pill in outline, vermilion accent, or solid ink, with sans or mono type.
npx shadcn@latest add @jbm/chipAlso installs @jbm/tokens.
import { Chip } from "@/jbm/ui/chip"<Chip>Default</Chip><Chip accent>Accent</Chip><Chip solid>Solid</Chip><Chip mono>Mono</Chip>One number with its context on a raised Card: mono label, large value, and a short sub line, stacked or in a row.
npx shadcn@latest add @jbm/stat-cardAlso installs @jbm/tokens, @jbm/card.
import { StatCard } from "@/jbm/ui/stat-card"<StatCard label="Contexto" value="1M" sub="tokens" w={620} h={245} /><StatCard row label="Latencia" value="0.8s" sub="p50" w={620} h={140} />Short sentence in a vermilion, ink, or outlined note pill.
npx shadcn@latest add @jbm/calloutAlso installs @jbm/tokens.
import { Callout } from "@/jbm/ui/callout"<Callout>Primero, el problema.</Callout><Callout variant="ink">Luego, la idea.</Callout><Callout variant="note">Al final, cómo se usa.</Callout>Vertical list of short strings with a vermilion arrow or dot marker.
npx shadcn@latest add @jbm/bullet-listAlso installs @jbm/tokens.
import { BulletList } from "@/jbm/ui/bullet-list"<BulletList size={28} items={["El contexto", "La pregunta", "La respuesta"]} /><BulletList size={28} marker="dot" items={["Simple", "Reusable", "Consistente"]} />Centered tacosdedatos wordmark in Geist Mono with an optional tagline.
npx shadcn@latest add @jbm/brandAlso installs @jbm/tokens.
import { Brand } from "@/jbm/ui/brand"<Brand tagline="Ideas, datos y código." size={64} />A controlled character sweep from muted text through vermilion into ink. Drive progress with a slider, scroll, or a video timeline.
npx shadcn@latest add @jbm/text-fillAlso installs @jbm/tokens.
import { TextFill } from "@/jbm/ui/text-fill"<TextFill text="Una idea toma forma." progress={0.5} style={{ fontSize: 40 }} />// progress: 0–1, controlled; no internal timer.A labelled divider with ink or vermilion emphasis and two line weights.
npx shadcn@latest add @jbm/ruleAlso installs @jbm/tokens.
import { Rule } from "@/jbm/ui/rule"<Rule label="Una idea a la vez" accent strong /><Rule /><Rule label="El siguiente capítulo" strong />A text anchor with an optional arrow and visible hover and keyboard focus.
npx shadcn@latest add @jbm/action-linkAlso installs @jbm/tokens.
import { ActionLink } from "@/jbm/ui/action-link"<ActionLink href="/ideas">Explora las ideas</ActionLink><ActionLink href="/historia" arrow={false}>Lee la historia completa</ActionLink>A numbered record with optional evidence, linked title, and active state.
npx shadcn@latest add @jbm/index-rowAlso installs @jbm/tokens, @jbm/action-link.
import { IndexRow } from "@/jbm/ui/index-row"<IndexRow index="01" title="El contexto" evidence="Empieza con una pregunta." href="/contexto" active /><IndexRow index="02" title="La evidencia" href="/evidencia" /><IndexRow index="03" title="Una idea útil" />An editorial figure label, caption, and provenance that wraps on narrow screens.
npx shadcn@latest add @jbm/figure-captionAlso installs @jbm/tokens.
import { FigureCaption } from "@/jbm/ui/figure-caption"<figure> <img src="/chart.png" alt="Descripción del gráfico" /> <FigureCaption index="01" provenance="Fuente: nuestro estudio"> Menos ruido. Más señal. </FigureCaption></figure>Admission-style surface with a colored header, flexible body, and perforated footer stub.
npx shadcn@latest add @jbm/ticketAlso installs @jbm/tokens.
import { Ticket } from "@/jbm/ui/ticket"<Ticket header="ADMIT ONE · OCT 2026" stub="Tu nombre · Tu comunidad" tone="accent"> <h3>Un lugar para crear.</h3> <p>Trae tu curiosidad.</p></Ticket>Messages with optional speakers and tails, incoming/outgoing alignment, and three palette tones.
npx shadcn@latest add @jbm/chat-bubbleAlso installs @jbm/tokens.
import { ChatBubble } from "@/jbm/ui/chat-bubble"<ChatBubble speaker="Tú" tone="ink">¿Y si lo hacemos más sencillo?</ChatBubble><ChatBubble speaker="La idea" side="end" tone="accent"> Una pieza a la vez.</ChatBubble>A read-only score meter with endpoint labels and a controlled marker.
npx shadcn@latest add @jbm/score-scaleAlso installs @jbm/tokens.
import { ScoreScale } from "@/jbm/ui/score-scale"<ScoreScale label="Claridad" value={6} min={0} max={10} labels={["Por explorar", "Lista para compartir"]} formatValue={(v) => `${v} / 10`} />// Read-only meter; clamps values to the range.Datos ilustrativos · escala 0–100
Readable comparison rows on a shared zero-based scale, with optional emphasis.
npx shadcn@latest add @jbm/comparison-barsAlso installs @jbm/tokens.
import { ComparisonBars } from "@/jbm/ui/comparison-bars"<ComparisonBars max={100} formatValue={(v) => `${v} lecturas`} items={[ { label: "Contexto", value: 42 }, { label: "Una buena pregunta", value: 68 }, { label: "Una idea clara", value: 90, highlight: true },]} />// Values must be nonnegative; max must cover all values.A deterministic analog clock and time label. Supply time explicitly for web or video.
npx shadcn@latest add @jbm/clockAlso installs @jbm/tokens.
import { Clock } from "@/jbm/ui/clock"<Clock hours={8} minutes={30} size={64} />// Explicit time keeps rendering deterministic. No autoplay.Two ink axes that split an area into four named quadrants, with quiet labels and a focus quadrant.
npx shadcn@latest add @jbm/ejesAlso installs @jbm/tokens, @jbm/scene-geometry.
import { Ejes } from "@/jbm/ui/ejes"<svg viewBox="0 0 1920 1080"> <Ejes box={{ x: 120, y: 90, w: 1680, h: 830 }} h={1} v={1} quiet labels={{ top: "hacer", bottom: "entender", left: "aprender", right: "trabajar" }} focus="tl" /></svg>Chat bubble whose selected words sweep to vermilion with a controlled 0–1 highlight.
npx shadcn@latest add @jbm/burbujaAlso installs @jbm/tokens, @jbm/chat-bubble, @jbm/text-fill.
import { Burbuja } from "@/jbm/motion/burbuja"<Burbuja words={["Podemos", "reutilizar", "componentes."]} highlight={[1]} progress={1} speaker="Tú" />Line of text with controlled grapheme reveal, ink lift, strike-through, and dotted underline.
npx shadcn@latest add @jbm/paper-lineAlso installs @jbm/tokens, @jbm/scene-geometry.
import { PaperLine } from "@/jbm/ui/paper-line"<PaperLine text="Una idea clara." reveal={0.7} lift={0} strike={0} />Key/value metadata between literal YAML delimiters, with per-row emphasis, dimming, and a stacked layout.
npx shadcn@latest add @jbm/frontmatterAlso installs @jbm/tokens, @jbm/scene-geometry.
import { Frontmatter } from "@/jbm/ui/frontmatter"<Frontmatter stacked rows={[ { key: "name", value: "pdf-processing", highlight: true }, { key: "description", value: "Extrae tablas de archivos PDF." }, { key: "license", value: "Apache-2.0", dim: 0.6 }, ]}/>Twelve original geometric SVG icons with outline and paper treatments, inherited color, and optional accessible labels.
npx shadcn@latest add @jbm/iconsAlso installs @jbm/tokens.
import { JbmIcon } from "@/jbm/ui/icons"<button><JbmIcon name="play" size={20} /> Start lesson</button>Paper illustrations of interface elements and desk objects, posed by props. Each component has its own preview and installation.
Illustrated pill button with a label bar, in ink, accent, or outlined paper tones.
npx shadcn@latest add @jbm/ui-buttonAlso installs @jbm/tokens, @jbm/paper.
import { UiButton } from "@/jbm/ui/ui-button"<UiButton w={220} h={70} tone="accent" />Illustrated outlined text field with a placeholder bar and a cursor you switch on or off.
npx shadcn@latest add @jbm/ui-inputAlso installs @jbm/tokens, @jbm/paper.
import { UiInput } from "@/jbm/ui/ui-input"<UiInput w={220} h={70} cursorOn />Illustrated content card with a line-art picture (hills and a vermilion sun) over two text bars.
npx shadcn@latest add @jbm/ui-cardAlso installs @jbm/tokens, @jbm/paper.
import { UiCard } from "@/jbm/ui/ui-card"<UiCard w={220} h={170} />Picks the button, input, or card illustration by kind and sizes it from one width.
npx shadcn@latest add @jbm/pieceAlso installs @jbm/paper, @jbm/ui-button, @jbm/ui-input, @jbm/ui-card.
import { Piece } from "@/jbm/ui/piece"<Piece kind="button" w={220} />Phone silhouette with a thick ink edge and speaker slot that stacks your content at the bottom of its screen.
npx shadcn@latest add @jbm/phone-frameAlso installs @jbm/tokens, @jbm/paper.
import { PhoneFrame } from "@/jbm/ui/phone-frame"import { UiCard } from "@/jbm/ui/ui-card" // install @jbm/ui-card separatelyimport { UiButton } from "@/jbm/ui/ui-button" // install @jbm/ui-button separately<PhoneFrame w={200} h={360} gap={14} rotate={-2}> <UiCard w={130} h={100} /> <UiButton w={130} h={40} /></PhoneFrame>Round check or cross badge in accent, ink, or paper tones for fixed and broken states.
npx shadcn@latest add @jbm/badgeAlso installs @jbm/tokens, @jbm/paper.
import { Badge } from "@/jbm/ui/badge"<div style={{ display: "flex", gap: 40 }}> <Badge kind="check" size={100} /> <Badge kind="x" size={100} tone="ink" /></div>Square glyphs for design tokens: overlapping colour swatches, an Aa type sample, or a spacing dimension line.
npx shadcn@latest add @jbm/token-glyphAlso installs @jbm/tokens, @jbm/paper.
import { TokenGlyph, type TokenKind } from "@/jbm/ui/token-glyph"const kinds: TokenKind[] = ["color", "type", "space"]<div style={{ display: "flex", gap: 30 }}> {kinds.map((kind) => <TokenGlyph key={kind} kind={kind} size={150} />)}</div>Controlled folder illustration that pulls its sheet upright from 0 to 1.
npx shadcn@latest add @jbm/folderAlso installs @jbm/tokens.
import { Folder } from "@/jbm/ui/folder"<Folder label="Ideas" open={0.5} />// open: 0 (closed) to 1 (open); no internal timer.A fixed-size filing drawer whose complete folders fan front to back, darker with depth.
npx shadcn@latest add @jbm/cajonAlso installs @jbm/tokens, @jbm/scene-geometry, @jbm/folder.
import { Cajon } from "@/jbm/motion/cajon"<svg viewBox="0 -300 500 740"> <Cajon x={40} y={10} open={1} folders={[ { name: "Grove 1983", sublabel: "High Output Management" }, { name: "Mintzberg 1979", sublabel: "Structuring of Organizations" }, { name: "Simon 1947", sublabel: "Administrative Behavior" }, { name: "Training Within Industry 1940s", sublabel: "Job Instruction", reveal: 0.5 }, { name: "Taylor 1911", sublabel: "Principles of Scientific Management" }, ]} /></svg>SVG cabinet enclosure around a controlled filing drawer whose folders slide out and lift.
npx shadcn@latest add @jbm/file-cabinetAlso installs @jbm/tokens, @jbm/cajon, @jbm/scene-geometry.
import { FileCabinet } from "@/jbm/ui/file-cabinet"<svg viewBox="0 -260 500 650"> <FileCabinet x={80} folders={[{ name: "datos" }]} open={1} /></svg>Folder that opens to reveal a sheet and a fan of nested folders whose documents extract independently.
npx shadcn@latest add @jbm/folder-contentsAlso installs @jbm/tokens, @jbm/scene-geometry, @jbm/folder.
import { FolderContents } from "@/jbm/ui/folder-contents"<FolderContents label="proyecto" open={1} sheet="README.md" entries={[ { id: "scripts", label: "scripts/" }, { id: "assets", label: "assets/", document: "notas.md", documentReveal: 1 }, ]} width={320} style={{ overflow: "visible" }}/>Folder carried along a path by its tab, interpolating size and label between two resting places.
npx shadcn@latest add @jbm/folder-carryAlso installs @jbm/tokens, @jbm/scene-geometry, @jbm/folder.
import { FolderCarry, folderGrip, tableFolderGeometry } from "@/jbm/ui/folder-carry"// Both resting places stand on the floor at y 248: a folder frame is 205/260 of its width tall.const onFloor = (x: number, width: number) => tableFolderGeometry({ x, y: 248 - (205 * width) / 260 }, width)const from = onFloor(50, 100)const to = onFloor(230, 190)const path = [folderGrip(from), { x: 175, y: 80 }, folderGrip(to)]<svg viewBox="0 0 450 270" width="100%"> <FolderCarry from={from} to={to} path={path} progress={0.5} label="proyecto" /></svg>A shallow paper tray with optional sheets.
npx shadcn@latest add @jbm/bandejaAlso installs @jbm/tokens, @jbm/scene-geometry.
import { Bandeja } from "@/jbm/motion/bandeja"<svg viewBox="0 0 400 250"> <Bandeja x={60} y={120} layers={3} /></svg>An empty divided desktop organizer.
npx shadcn@latest add @jbm/tool-caddyAlso installs @jbm/tokens.
import { ToolCaddy } from "@/jbm/motion/tool-caddy"<svg viewBox="0 0 400 250"> <ToolCaddy x={80} y={40} /></svg>An empty desk with separate finish and optional file cabinet.
npx shadcn@latest add @jbm/escritorioAlso installs @jbm/tokens, @jbm/scene-geometry, @jbm/cajon, @jbm/file-cabinet.
import { Escritorio } from "@/jbm/motion/escritorio"<svg viewBox="0 0 820 530"> <Escritorio box={{ x: 30, y: 65, w: 760, h: 420 }} cabinet spec={{ finish: "wood", drawerSide: "end" }} folders={[{ name: "datos", accent: true }, { name: "notas" }]} open={1} /></svg>A cream desk seen from above, with light, a tilt-revealed front edge, and an optional pulled-out drawer.
npx shadcn@latest add @jbm/desk-topAlso installs @jbm/tokens, @jbm/scene-geometry.
import { DeskTop } from "@/jbm/ui/desk-top"<svg viewBox="0 0 1920 1080"> <DeskTop box={{ x: 120, y: 90, w: 1680, h: 830 }} drawer="end" drawerSize={520} /></svg>A free-standing keycap, keyboard, or mug (from above or standing, from the side) to place on a desk.
npx shadcn@latest add @jbm/desk-propAlso installs @jbm/tokens, @jbm/scene-geometry.
import { DeskProp } from "@/jbm/ui/desk-prop"<svg viewBox="0 0 700 240"> <DeskProp kind="keycap" x={70} y={120} /> <DeskProp kind="keyboard" x={290} y={120} rotate={-4} /> <DeskProp kind="mug" x={520} y={120} /> <DeskProp kind="mug-side" x={630} y={120} /></svg>Static line-art hand in open-palm, pointing, pinching, gripping, typing, holding, or writing pose, independent of placement and props.
npx shadcn@latest add @jbm/handAlso installs @jbm/tokens.
import { Hand } from "@/jbm/ui/hand"<Hand pose="pinch" width={160} />Position and rotate the independent Hand illustration with controlled coordinates.
npx shadcn@latest add @jbm/manoAlso installs @jbm/tokens, @jbm/hand, @jbm/scene-geometry.
import { Mano } from "@/jbm/motion/mano"<svg viewBox="0 0 500 340"> <Mano at={{ x: 160, y: 30 }} pose="point" size={155} angle={12} /></svg>A pen held in the Hand's pinch or tripod writing grip, with helpers that report the nib and grip points.
npx shadcn@latest add @jbm/plumaAlso installs @jbm/tokens, @jbm/scene-geometry, @jbm/mano.
import { Pluma, plumaNib } from "@/jbm/motion/pluma"// The nib ends the written word; solve the grip point from it.const nib = { x: 260, y: 200 }const o = plumaNib({ x: 0, y: 0 }, 30, undefined, 180, "write")<svg viewBox="0 0 600 340"> <Pluma at={{ x: nib.x - o.x, y: nib.y - o.y }} angle={30} size={180} pose="write" /></svg>Paper cut-out primitives: a card-stock sheet that can crease, start to tear, and carry a real tab, a slanted Sticker with display type, and a centered Caption.
npx shadcn@latest add @jbm/paperAlso installs @jbm/tokens.
import { Paper } from "@/jbm/ui/paper"// Drive tension and reveal from your timeline, e.g. interpolate(frame, [0, 60], [0, 1]).<Paper w={520} h={760} radius={10} tension={0.9} seam={380} tab={{ label: "Tutorial", reveal: 1 }}/>Folded paper illustration with optional label and accent heading.
npx shadcn@latest add @jbm/documentAlso installs @jbm/tokens.
import { Document } from "@/jbm/ui/document"<Document label="idea.md" accent style={{ width: 180 }} />A printed video still on a Paper sheet: a pale 16:9 line sketch, an ink scrub rule with anchor ticks, title and date, and an optional punched link tag.
npx shadcn@latest add @jbm/video-printAlso installs @jbm/tokens, @jbm/scene-geometry, @jbm/paper, @jbm/punched-tag.
import { VideoPrint } from "@/jbm/ui/video-print"<VideoPrint scrub={1} title="Sample talk" date="Video · 4 nov 2025" link="example.com/watch?v=sample-talk"/>An ink thread tied between two points that lays out, sags, and snaps into frayed ends with an optional vermilion notch.
npx shadcn@latest add @jbm/hiloAlso installs @jbm/tokens, @jbm/scene-geometry.
import { Hilo } from "@/jbm/ui/hilo"declare const progress: number// Draw it over the stage, in the same units as your sheet and drawer.<svg viewBox="0 0 1920 1080" style={{ position: "absolute", inset: 0 }}> <Hilo from={{ x: 520, y: 402 }} to={{ x: 1340, y: 236 }} curve="s" bend={0.5} draw={progress} /></svg>A sheet torn into strips along seams: controlled progress moves each strip to its own destination, with frayed, seeded edges at every seam.
npx shadcn@latest add @jbm/tearAlso installs @jbm/tokens, @jbm/paper, @jbm/register.
import { Tear } from "@/jbm/ui/tear"// progress comes from your timeline, e.g. interpolate(frame, [0, 45], [0, 1]).<Tear w={520} h={760} seams={[190, 380, 570]} progress={0.6} stagger={0.1} pieces={[ { to: { x: -40, y: -70, rotate: -5 } }, { to: { x: 36, y: -24, rotate: 3 } }, { to: { x: -30, y: 24, rotate: -2 } }, { to: { x: 34, y: 72, rotate: 3 } }, ]}> {({ index, top }) => ( <div style={{ position: "absolute", left: 40, top: top + 32 }}>strip {index + 1}</div> )}</Tear>Paper sheet of drawn writing whose shape says who reads it: steps, lists, tables, sourced prose, or a mixed page.
npx shadcn@latest add @jbm/registerAlso installs @jbm/tokens, @jbm/scene-geometry, @jbm/paper.
import { Register } from "@/jbm/ui/register"<div style={{ display: "flex", gap: 24 }}> <Register kind="mono" n={7} w={300} h={380} /> <Register kind="plain" n={10} w={300} h={380} /> <Register kind="grid" n={7} w={300} h={380} /> <Register kind="prose" sources={8} w={300} h={380} /></div>Taped paper slip of out-of-register writing that peels, lifts, and travels while registers reflow around it.
npx shadcn@latest add @jbm/slipAlso installs @jbm/tokens, @jbm/scene-geometry, @jbm/paper, @jbm/register.
import { Slip } from "@/jbm/ui/slip"<Slip kind="prose" w={240} h={72} flag />Independent ink wire clip to lay across a paper edge.
npx shadcn@latest add @jbm/paper-clipAlso installs @jbm/tokens.
import { PaperClip } from "@/jbm/ui/paper-clip"<div style={{ position: "relative", width: 220, height: 120, background: "white" }}> <PaperClip style={{ position: "absolute", left: 18, top: -24 }} /></div>Paper note with an optional paper clip, rotation, and paper, accent, or ink stock.
npx shadcn@latest add @jbm/clipped-noteAlso installs @jbm/tokens, @jbm/paper, @jbm/paper-clip.
import { ClippedNote } from "@/jbm/ui/clipped-note"<ClippedNote clip rotate={-3}>Revisar el resultado.</ClippedNote>Card-stock luggage-style label with a punched hole and bold content, in paper, accent, or ink stock.
npx shadcn@latest add @jbm/punched-tagAlso installs @jbm/tokens, @jbm/paper.
import { PunchedTag } from "@/jbm/ui/punched-tag"<PunchedTag tone="ink">Modelo</PunchedTag>Vermilion rubber-stamp impression that drops, makes contact, and inks in as a 0–1 press progresses.
npx shadcn@latest add @jbm/stampAlso installs @jbm/tokens, @jbm/scene-geometry.
import { Stamp } from "@/jbm/ui/stamp"<Stamp text="REVISADO" press={0.9} angle={-7} />Folded vermilion paper checkpoint marker with an optional label above it.
npx shadcn@latest add @jbm/tape-markerAlso installs @jbm/tokens, @jbm/paper.
import { TapeMarker } from "@/jbm/ui/tape-marker"<TapeMarker label="parar aquí" />Strip of paper fed out by length, with printed marks, checkpoint markers, and attachments on one coordinate system.
npx shadcn@latest add @jbm/paper-tapeAlso installs @jbm/tokens, @jbm/paper, @jbm/tape-marker.
import { PaperTape, paperAt } from "@/jbm/ui/paper-tape"<PaperTape length={700} window={320} markers={[{ id: "review", at: 520, label: "revisar" }]} />// paperAt(700, 520) === 180: marks and attachments share this origin.Stages and scenes that place a subject inside a 16:9 or 9:16 frame.
Loading preview…
Full-bleed cream canvas that fills its composition and clips overflow; one per scene.
npx shadcn@latest add @jbm/sceneAlso installs @jbm/tokens.
import { Scene } from "@/jbm/motion/scene"import { Big } from "@/jbm/ui/big" // install @jbm/big separately<Scene><Big>Una idea a la vez.</Big></Scene>Loading preview…
Compiles a YAML-shaped scene spec into a Remotion scene for either orientation, with timed blocks, explicit layouts, orientation overrides, and configurable safe areas.
npx shadcn@latest add @jbm/scene-specAlso installs @jbm/tokens, @jbm/label, @jbm/big, @jbm/chip, @jbm/stat-card, @jbm/callout, @jbm/bullet-list, @jbm/scene, @jbm/pop, @jbm/code-card, @jbm/brand, @jbm/rebuild-screens, @jbm/catalog, @jbm/propagate, @jbm/shelf.
Needs Remotion: render inside a Remotion <Composition> or <Player>, not a plain React tree. Timing values are in seconds.
import { SceneFromSpec } from "@/jbm/motion/compile"import type { ScenesFile } from "@/jbm/motion/spec"// Placeholders: a parsed, schema-validated scenes file, and seconds from scene start per phrase.declare const scenes: ScenesFiledeclare const timings: Record<string, number>export const FirstScene = () => ( <SceneFromSpec spec={scenes.scenes[0]} orientation="landscape" host={{ resolve: (phrase) => timings[phrase] }} />)// Every block and field: https://jbm-ui.bns.studio/docs/scene-spec.mdPlays a Remotion timeline: previews in a Player with frames and replay.
Loading preview…
Spring entrances for Remotion: Pop slides or scales one block in, Stagger cascades a list, and Leave fades a block out.
npx shadcn@latest add @jbm/popAlso installs @jbm/motion-hooks.
Needs Remotion: render inside a Remotion <Composition> or <Player>, not a plain React tree. Timing values are in seconds.
import { Stagger } from "@/jbm/motion/pop"import { Chip } from "@/jbm/ui/chip" // install @jbm/chip separately<Stagger at={0.2} step={0.35}> {["Idea", "Datos"].map(text => <Chip key={text}>{text}</Chip>)}</Stagger>Loading preview…
Number that counts up to a target.
npx shadcn@latest add @jbm/counterAlso installs @jbm/big, @jbm/motion-hooks.
Needs Remotion: render inside a Remotion <Composition> or <Player>, not a plain React tree. Timing values are in seconds.
import { Counter } from "@/jbm/motion/counter"<Counter n={1024} at={0.2} dur={1.5} />Loading preview…
Labelled probability bar that slides in and fills to its value while the number counts up.
npx shadcn@latest add @jbm/prob-barAlso installs @jbm/tokens, @jbm/motion-hooks, @jbm/pop.
Needs Remotion: render inside a Remotion <Composition> or <Player>, not a plain React tree. Timing values are in seconds.
import { ProbBar } from "@/jbm/motion/prob-bar"<ProbBar label="Confianza" p={0.86} at={0.2} />Loading preview…
Dark code card that types each line in place at a steady character rate, one line after another.
npx shadcn@latest add @jbm/code-cardAlso installs @jbm/card, @jbm/tokens.
Needs Remotion: render inside a Remotion <Composition> or <Player>, not a plain React tree. Timing values are in seconds.
import { CodeCard } from "@/jbm/motion/code-card"<CodeCard title="hello.ts" charsPerSecond={32} lines={[ { t: "const idea = \"simple\"", at: 0.2 }, { t: "render(idea)", at: 0.7, color: "#FF8A6A" },]} />Loading preview…
Kinetic subtitle pill that groups aligned words into phrases and lights each word as it is spoken.
npx shadcn@latest add @jbm/captionsAlso installs @jbm/tokens, @jbm/motion-hooks.
Needs Remotion: render inside a Remotion <Composition> or <Player>, not a plain React tree. Timing values are in seconds.
import { Captions } from "@/jbm/motion/captions"<Captions words={[ { w: "Una", s: 0, e: 0.7 }, { w: "idea.", s: 0.7, e: 1.5, emph: true },]} />Loading preview…
A phone screen assembled piece by piece, then rebuilt on each new screen that springs onto the pile; Stamp slams a loud word on top.
npx shadcn@latest add @jbm/rebuild-screensAlso installs @jbm/motion-hooks, @jbm/pop, @jbm/ui-bits, @jbm/paper.
Needs Remotion: render inside a Remotion <Composition> or <Player>, not a plain React tree. Timing values are in seconds.
import { RebuildScreens } from "@/jbm/motion/rebuild-screens"<RebuildScreens w={936} h={1000} pieces={[{ kind: "button", at: 1 }, { kind: "input", at: 2.8 }, { kind: "card", at: 5.3 }]} again={[12.9, 14.5]} sticker={{ text: "¿otra vez?", at: 13 }} />Loading preview…
Catalogue sheet whose interface pieces arrive and get checked off, then unfolds a second row of design-token glyphs.
npx shadcn@latest add @jbm/catalogAlso installs @jbm/tokens, @jbm/motion-hooks, @jbm/pop, @jbm/paper, @jbm/ui-bits, @jbm/rebuild-screens.
Needs Remotion: render inside a Remotion <Composition> or <Player>, not a plain React tree. Timing values are in seconds.
import { Catalog } from "@/jbm/motion/catalog"<Catalog w={936} at={3.2} title="catálogo" items={[{ kind: "button", label: "botón", at: 7.4 }]} tokens={[{ kind: "color", label: "color", at: 18.2 }]} />Loading preview…
One source card fans ink lines out to a row of phone screens; bug, fix, and recolour cues travel down the lines to every screen.
npx shadcn@latest add @jbm/propagateAlso installs @jbm/tokens, @jbm/motion-hooks, @jbm/pop, @jbm/paper, @jbm/ui-bits.
Needs Remotion: render inside a Remotion <Composition> or <Player>, not a plain React tree. Timing values are in seconds.
import { Propagate } from "@/jbm/motion/propagate"<Propagate w={936} h={1040} at={0.9} targets={6} label={{ text: "una sola fuente de verdad", at: 4 }} bug={5.8} fix={6.6} fixed={7.7} recolor={10.5} recolored={11.7} />// Render inside a Remotion <Composition> or <Player>.Loading preview…
A pile of tilted library cards that slide in on their own cues, plus Twice: a button, the same button again, and a vermilion cross drawn over the second.
npx shadcn@latest add @jbm/shelfAlso installs @jbm/tokens, @jbm/motion-hooks, @jbm/pop, @jbm/paper, @jbm/ui-bits.
Needs Remotion: render inside a Remotion <Composition> or <Player>, not a plain React tree. Timing values are in seconds.
import { Shelf, Twice } from "@/jbm/motion/shelf"<Shelf w={936} items={[ { text: "shadcn/ui", at: 0.2 }, { text: "Material UI", at: 0.6 }, { text: "jbm-ui", at: 1.0, tone: "accent" },]} /><Twice w={936} at={2} second={2.8} strike={3.6} />// Render inside a Remotion <Composition> or <Player>.Responds to the reader at runtime: scroll, pointer, click, or hover.
Click to replay · 100%
Controlled replay icon whose arrow charges from tail to arrowhead as the host animation progresses, then unlocks.
npx shadcn@latest add @jbm/replay-buttonAlso installs @jbm/tokens.
import { ReplayButton } from "@/jbm/ui/replay-button"<ReplayButton progress={progress} // 0–1 from your animation charging={isPlaying} onReplay={restartAnimation} label="Replay animation"/>Scroll here ↓ · Focus and use ↓ / ↑ to rewind
Scroll to bring text into focus, one character at a time. Keyboard scrolling, reversible progress, and reduced-motion support.
npx shadcn@latest add @jbm/scroll-text-fillAlso installs @jbm/text-fill, @jbm/tokens.
import { ScrollTextFill } from "@/jbm/ui/scroll-text-fill"<ScrollTextFill text="Una idea toma forma. Letra por letra." height={320} distance={640} style={{ fontSize: 40 }}/>// Self-contained scroll region; respects prefers-reduced-motion.Hover a letter · Click, tap, or press Enter to flip all
Letters tumble on hover with a vermilion accent. Click, tap, or use the keyboard to flip the whole phrase. Respects reduced motion.
npx shadcn@latest add @jbm/flip-textAlso installs @jbm/tokens.
import { FlipText } from "@/jbm/ui/flip-text"<FlipText duration={450} style={{ fontSize: 48 }}>Una idea viva.</FlipText>// Hover individual letters. Click, tap, Enter, or Space flips all.// A button: do not nest inside another button or link.Our Card, with its own border, spacing, and layered shadow.
A custom layout, a chart, an image, or a group of components.
Stack any React content as you scroll. Successive items scale into place while earlier ones fade. Page or contained scrolling, keyboard access, and a plain-list fallback.
npx shadcn@latest add @jbm/scroll-stackAlso installs @jbm/tokens.
import { ScrollStack } from "@/jbm/ui/scroll-stack"import { Card } from "@/jbm/ui/card" // install @jbm/card separately<ScrollStack height={480} distance={120}> <Card>First idea</Card> <Card dark>Another idea</Card> <div style={{ background: "#fff", padding: 24 }}>Any content</div></ScrollStack>// Omit height for page scrolling; avoid overflow ancestors in page mode.Tokens, geometry, and hooks the other items are built from.
#FFF6E8#FFFCF5#20241F#65675F#D5D1C6#C63D24#A04D31#FF8A6Argba(255, 246, 232, 0.62)#20241F#9BE59BCream, ink, and vermilion palette, Geist font stacks and tab-name metrics, radii, the shared ink outline weight, surface shadows and borders, stage safe areas, and a CSS variables string.
npx shadcn@latest add @jbm/tokensimport { color, font } from "@/jbm/lib/tokens"<div style={{ color: color.ink, background: color.bg, fontFamily: font.sans }} />The current recipe: border, inset highlight, contact and soft outer shadows.
Fine borders, inset edge lighting, and layered shadows. Compare the original surface and inspect each layer.
npx shadcn@latest add @jbm/tokensDocumentation entry, not a registry item. Its shadow and border tokens install with @jbm/tokens.
import { shadow, surfaceBorder } from "@/jbm/lib/tokens"// Light surface (use cardDark for dark surfaces)<div style={{ boxShadow: shadow.card, border: surfaceBorder.card,}} />Loading preview…
Remotion timing hooks in seconds: elapsed time, a spring entrance, a cubic-out fade, and an eased progress value.
npx shadcn@latest add @jbm/motion-hooksNeeds Remotion: render inside a Remotion <Composition> or <Player>, not a plain React tree. Timing values are in seconds.
import { useSec, useIn, useFade, useProgress } from "@/jbm/motion/hooks"// Render inside a Remotion <Composition> or <Player>: hooks run in the component body.export function TimelineReadout() { const seconds = useSec() const entrance = useIn(0.2) const opacity = useFade(0.2) const progress = useProgress(0.2, 100, 1.5) return ( <div style={{ opacity, transform: `translateY(${(1 - entrance) * 30}px)` }}> {progress.toFixed(0)}% at {seconds.toFixed(2)}s </div> )}Shared points, bounds, arc-length path interpolation and travel tilt.
npx shadcn@latest add @jbm/scene-geometryimport { pointOn, pathTilt } from "@/jbm/lib/geometry"const path = [{ x: 40, y: 170 }, { x: 220, y: 50 }, { x: 460, y: 130 }]const at = pointOn(path, 0.5)const angle = pathTilt(path, 0.5)<g transform={`translate(${at.x} ${at.y}) rotate(${angle})`} />Try another name or tag, or browse the full collection.