Rift
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initLoaderRift(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/loader-riftAbout this component
A void portal loader: a ring of violet light spins round a black core while accretion rings turn against it; motes are drawn into it from all round, and every two seconds it gulps and discharges in a pulse of sparks.
Triggers
- Continuous
- Loop
- Glow
Techniques
- Conic gradient
- Keyframes
- Interval
- requestAnimationFrame
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
role="status" with aria-label "Loading"; the drawing is aria-hidden.
Reduced motion
It holds still.
Use it in anything you build, commercial and client work included. Licence