Actions JS behaviour

Blob button

A dark pill with lapis, violet and gold blobs drifting inside that gather around the pointer.

Real scenarios

The component as it is used in a product — not a specimen grid.

The contact hero

The blobs drift on their own and gather under the pointer — a CTA that feels alive before you even press it.

Beside quieter buttons

The blob button takes the star action of a row and lets the base Button stay quiet around it.

Right to left

The blobs do not care about direction — they follow the pointer wherever it comes from.

Important props

Important props
Prop Type Default What it does
icon / iconEnd string null An icon leading or trailing the label.
size string 'md' Sizes: sm · md · lg.
href string null With href the button becomes a link.
static bool false Turns off the pointer-following; the blobs keep drifting.

Snippet

<x-nx::blob-button icon="sparkles" size="lg" wire:click="save">
    گفت‌وگو با نابو
</x-nx::blob-button>