BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ns-ui/carousel-card-riffle
This component no longer exists. It was in ns-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-07 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.

Carousel Card Riffle

ns-ui/carousel-card-riffle
RemovedComponent

A card-stack navigator that shows its actual card edges as a scrubbable stripe of thin lines — dragging it riffles cards past with quick flip-past kicks, and the same stripe doubles as the pagination readout.

Live preview

live · rendered by the registry
Rendered by ns-ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://design.helpmarq.com/r/carousel-card-riffle.json

Source

registry/core/carousel-card-riffle/component.tsxdesign.helpmarq.com/r/carousel-card-riffle.json · first 6 KB
1"use client";
2
3import { useEffect, useRef, useState } from "react";
4
5// ---------------------------------------------------------------------------
6// RiffleEdge — a card-stack navigator whose pagination indicator IS the scrub
7// control. The stack shows its actual card edges as a stripe of thin lines
8// (one 1px --border line per card, the current one recolored --foreground),
9// running down the side of the top card like the exposed page-edge of a
10// book. Dragging that stripe riffles cards past: each step change kicks the
11// top card with a 220ms rotateY(5deg) + translateX(11px) flip-past (deter-
12// ministic per-index vertical jitter, so no two steps land identically),
13// settling on a smooth ease-out with no overshoot — release settles the
14// arrival with the same kick. The two decorative depth layers behind the
15// top card (its permanently-visible stacked-thickness read) kick too, on
16// the same commit, at a subtler amplitude (9px/3deg then 5px/2deg, reduced
17// with depth): an opposite-leaning translate+rotate that eases back to
18// their resting offset a beat after the top card, each layer lagging the
19// one in front of it — so a step reads as the whole deck visibly
20// reshuffling and restacking, cleanly, not a subtle 3px nudge and not a
21// glitchy overshoot. Scrub
22// velocity governs which: slow drags step discretely (a kick per card), fast
23// drags blur the top card through a CSS filter transition instead of
24// chattering through kicks — the exposed edge itself carries both roles at
25// once, never a separate dot-row or progress bar.
26//
27// Direct DOM writes (transform/filter) on committed index changes only — no
28// per-frame rAF loop. Motion is entirely CSS-transition-driven: a one-off
29// double-write (snap to a kicked pose, then rAF back to identity/rest so the
30// transition eases the return) for the flip and the two back-layer nudges,
31// and a filter transition ramped by the caller for blur. The back layers'
32// resting offset is expressed in rem (matching their Tailwind translate
33// utility at rest) with the kick's extra nudge layered on top via calc(), so
34// the shuffle scales with root font size the same way the static pose
35// already did. `prefers-reduced-motion` drops all of it: no rotateY, no
36// perspective, no back-layer nudge, no blur ever — steps crossfade via
37// opacity instead.
38//
39// The stripe's *drawn* thickness is deliberately compressed (down to a
40// 1.5px-per-card pitch) so a small deck visibly reads thinner than a large
41// … truncated

Files it writes

  • registry/core/carousel-card-riffle/component.tsx

Facts

Registry
ns-ui
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-02
Last confirmed
12 days ago

Go to the source

Docs on ns-ui design.helpmarq.com nikolas-sapa/ns-ui on GitHub Raw registry item This item as JSON

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex