Text
JS behaviour
Hover reveal
A list of large links; the hovered or focused one glows where the pointer is and its arrow turns while the rest fade, blur and drift away.
Real scenarios
The component as it is used in a product — not a specimen grid.
A services index
The "what we do" page: one long link per discipline, its one-line promise underneath. Tab through — focus reveals the same glow the pointer does.
A shorter docs index
Without descriptions the rows breathe more — this is the whole component, no props beyond items.
Keyboard-first
Every row is one focus stop; the resting rows step aside exactly as they do for a hover.
Try: click the first link, then press Tab twice.
Important props
| Prop | Type | Default | What it does |
|---|---|---|---|
| items | array | [] | Each item: label (required), href and an optional description shown under the label. |
| static | bool | false | Drops the drift and scaling of the resting rows; only the glow stays. |
Snippet
<x-nx::hover-reveal :items="[
['label' => 'طراحی محصول', 'href' => '/services/design', 'description' => 'رابطهایی که حس حرکت دارند'],
['label' => 'حرکت و تعامل', 'href' => '/services/motion'],
['label' => 'ساخت فرانتاند', 'href' => '/services/build', 'description' => 'Livewire، Inertia و React'],
]" />