Skip to content
GetUrUI

Card Fan

2 variantsPro
.md

Cards fan out on an arc and turn one step at a time, lifting the centre card into focus.

illustrationsvgfancardspaymentsdocumentsloop

Payments

payments.tsx

Gradient 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
PropTypeDefaultDescription
speednumber1Speed multiplier for the loop (2.2 seconds per step at 1).
titlestring—Accessible description of the scene, used as the aria-label.
classNamestring—Classes for the SVG; it fills its container width and keeps its ratio.

Documents

documents.tsx

Documents turn on an arc; each centre page is signed and verified as it passes.

$npx shadcn@latest add @geturui-pro/card-fan-documents
PropTypeDefaultDescription
speednumber1Speed multiplier for the loop (2.4 seconds per step at 1).
titlestring—Accessible description of the scene, used as the aria-label.
classNamestring—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.

Related