BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/motiq/aurora-panel

Aurora Panel

motiq/aurora-panel
FreeComponent

A product card that carries its own sky: three dual-sine ribbons drift across a canvas roof, softened by one GPU CSS blur at 116% scale with a seeded grain tile over the top and dark-only stars beneath. Pointer x retargets a lean spring (k=50, d=14) that shifts ribbon phase up to 90px and lifts amplitude ~20%, relaxing home on leave. One rAF loop, DPR capped at 2x, still-frame under reduced motion.

Live preview

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

Install it

npx shadcn@latest add https://www.motiq.dev/r/aurora-panel.json

Source

registry/creative/aurora-panel.tsxwww.motiq.dev/r/aurora-panel.json · first 6 KB
1"use client";
2
3import * as React from "react";
4
5import { cn } from "@/lib/utils";
6import { useReducedMotion, useVisibilityPause } from "@/lib/motiq";
7
8/* -------------------------------------------------------------------------- */
9/* Types */
10/* -------------------------------------------------------------------------- */
11
12export interface AuroraPanelProps extends React.HTMLAttributes<HTMLDivElement> {
13 /** Card body below the aurora roof. */
14 children?: React.ReactNode;
15 /** Roof height in px. */
16 roofHeight?: number;
17 /** Number of ribbons (clamped 2–5). */
18 ribbons?: number;
19 /** Ribbon colors, front to back. Defaults to the theme's cyan/azure pair. */
20 colors?: string[];
21 /** Ribbon opacity multiplier (0–1.6). */
22 intensity?: number;
23 /** Time multiplier for the ribbon drift. */
24 speed?: number;
25 /** Aurora leans toward the pointer over the roof. */
26 lean?: boolean;
27 /** Grain overlay opacity (0–1). */
28 grain?: number;
29 /** Badge slot pinned to the roof. */
30 overlay?: React.ReactNode;
31 /** Deterministic seed for grain + stars (SSR-stable). */
32 seed?: number;
33 /** Park the loop while scrolled offscreen or the tab is hidden. */
34 pauseWhenHidden?: boolean;
35 /** Force the static, motion-free sky regardless of system preference. */
36 reducedMotion?: boolean;
37}
38
39/* -------------------------------------------------------------------------- */
40/* Physics + palette */
41/* -------------------------------------------------------------------------- */
42
43/** Hand-rolled delta-time spring — keeps the component dependency-free. */
44class Spring {
45 x: number;
46 v = 0;
47 target: number;
48 k: number;
49 d: number;
50 constructor(value: number, k: number, d: number) {
51 this.x = value;
52 this.target = value;
53 this.k = k;
54 this.d = d;
55 }
56 step(dt: number): number {
57 const a = this.k * (this.target - this.x) - this.d * this.v;
58 this.v += a * dt;
59 this.x += this.v * dt;
60 return this.x;
61 }
62}
63
64/** mulberry32 — no Math.random at render or module scope (SSR-stable). */
65function makeRng(seed: number) {
66 let a = seed >>> 0;
67 return () => {
68 a = (a + 0x6d2b79f5) | 0;
69 let t = Math.imul(a ^ (a >>> 15), 1 | a);
70 t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;
71 return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
72 };
73}
74
75// … truncated

What it pulls in

Other registry items

  • https://motiq.dev/r/utils.json
  • https://motiq.dev/r/primitives.json

Files it writes

  • registry/creative/aurora-panel.tsx

Facts

Registry
motiq
Type
registry:component
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
yesterday

Go to the source

Docs on motiq www.motiq.dev RMahammad/motiq on GitHub Raw registry item This item as JSON

More from motiq

All 100 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Activity Streamactivity-streammotiqComponentsFree1 dep
Adaptive Safe-Zone Gridadaptive-safe-zone-gridmotiqComponentsFreeno deps
Agent Run Timelineagent-run-timelinemotiqComponentsFree1 dep
AI Response Streamai-response-streammotiqComponentsFree1 dep
Animated Accordionanimated-accordionmotiqComponentsFree2 deps
Animated Buttonanimated-buttonmotiqComponentsFree1 dep
Animated Dialoganimated-dialogmotiqComponentsFree2 deps
Animated Gridanimated-gridmotiqComponentsFree2 deps

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 StoreReady, ToolDrift and BreachProbe

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.

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 StoreReady, ToolDrift and BreachProbe

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.

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 StoreReady, ToolDrift and BreachProbe

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.

BlockDex