Live Component Rail

Motion

A rail of live component cards, including buttons, a badge, a switch and a destructive action, that rise into view with a quick stagger on scroll.

src/registry/premium/live-component-rail.tsx/r/live-component-rail.json

Live primitives

Same free kit the Premium moments sit on

Button

Badge

Hairline

Switch

Input

Outline

Danger

Rail

Installation#

bash
npx shadcn@latest add @minidev/live-component-rail

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/live-component-rail.json

Usage#

tsx
import { LiveComponentRail } from "@/components/ui/live-component-rail"

export function Example() {
  return (
    <LiveComponentRail />
  )
}

API reference#

LiveComponentRail props
PropTypeDefault
classNamestring-

Dependencies#

npm

motion

Examples#

All Animated React components