Cards fan out on an arc and turn one step at a time, lifting the centre card into focus.
illustrationsvgfancardspaymentsdocumentsloop
Payments
payments.tsxGradient payment cards turn on an arc while the charge for the centre card pops in above it.
$npx shadcn@latest add @geturui-pro/card-fan-payments
| Prop | Type | Default | Description |
|---|---|---|---|
speed | number | 1 | Speed multiplier for the loop (2.2 seconds per step at 1). |
title | string | — | Accessible description of the scene, used as the aria-label. |
className | string | — | Classes for the SVG; it fills its container width and keeps its ratio. |
Documents
documents.tsxDocuments turn on an arc; each centre page is signed and verified as it passes.
$npx shadcn@latest add @geturui-pro/card-fan-documents
| Prop | Type | Default | Description |
|---|---|---|---|
speed | number | 1 | Speed multiplier for the loop (2.4 seconds per step at 1). |
title | string | — | Accessible description of the scene, used as the aria-label. |
className | string | — | Classes for the SVG; it fills its container width and keeps its ratio. |
Install the whole set
Installs every card fan variant at once. Each section above has its own command for a single variant.
Pro installs use your private registry token. Add the @geturui-pro registry once — setup guide. The command works after you get Pro.
$npx shadcn@latest add @geturui-pro/card-fan
Accessibility
- Rendered as a single SVG with role="img" and an aria-label you can override with `title`; nothing inside is focusable.
- Under prefers-reduced-motion the scene renders one meaningful still frame: no loops, no timers.
- Colours come from the GetUrUI tokens only, so the scene follows light and dark themes automatically.