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

An onboarding pager

Icon-only discs move a three-step wizard; the label moves into aria-label and the server keeps the step in $state.

1 / 3

Tones and sizes

accent, gold and inverse in sm · md · lg — the disc leans toward the pointer and the rings keep pulsing underneath.

All demos

Important props

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('بعدی')" />