Back
Pulse Button
Satu Visual ComponentNew
A button with a pulsing halo to draw attention (e.g. 'Live').
Installation
Add it with the CLI:
Terminal
$
Or open the Code tab above and copy it in manually — it relies on the standard cn() helper from @/lib/utils.
Usage
Great for a primary CTA or a live/online indicator. The halo uses Tailwind's built-in animate-ping.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | — | Button label / content. |
| className | string | — | Extra classes. |
| ...props | ButtonHTMLAttributes | — | All native <button> props. |