Cards
JS behaviour
Orbit showcase
Product screens orbit a centre, always facing you; hover pauses, click or focus brings one to the front. With reduced motion the ring holds still.
Real scenarios
The component as it is used in a product — not a specimen grid.
The product family, in orbit
Six apps circle the brand mark; hovering pauses the ring and clicking a screen walks it to the front. The centre orb is a slot — here it holds the mark itself.
A slower, quieter tour
period sets the seconds per turn — 55 here. With reduced motion the ring simply holds still and every screen stays reachable.
Important props
| Prop | Type | Default | What it does |
|---|---|---|---|
| items | array | [] | Keys: title, subtitle, cover, image, alt, href, tone. |
| period | int | 40 | Seconds per full turn. |
| controls | bool | true | The pause and direction buttons. |
| height / radius | string | null | The scene height and orbit radius — any CSS length. |
| slot:center | slot | — | Replaces the glowing orb at the centre — your logo, for instance. |
Snippet
<x-nx::orbit-showcase :period="32" :items="$apps">
<x-slot:center><img src="/logo.svg" alt="نابو" /></x-slot:center>
</x-nx::orbit-showcase>