Text
JS behaviour
Pulse button
A round CTA with rings pulsing out of it, pulled toward the pointer; the label sits under the disc and without one it needs an aria-label.
Real scenarios
The component as it is used in a product — not a specimen grid.
Showreel · 2:40
See NabuXUI in motion
Important props
| Prop | Type | Default | What it does |
|---|---|---|---|
| icon | string | 'arrow-right' | The glyph on the disc; a core icon name or your own SVG. |
| size | string | 'md' | Sizes: sm · md · lg. |
| tone | string | 'accent' | The disc and rings colour: accent · gold · inverse. |
| href | string | null | With href it renders a link instead of a button. |
| static | bool | false | Turns off the pointer pull and the hover/press scaling. |
Snippet
<x-nx::pulse-button icon="play" tone="inverse" size="lg" wire:click="save">
پخش ویدیوی معرفی
</x-nx::pulse-button>
<x-nx::pulse-button icon="arrow-right" aria-label="مرحلهٔ بعد" wire:click="ping('بعدی')" />