attract← Back to the library
INTEGRATION / BUTTON FACTORY

Attract on real
Button Factory buttons.

Four Button Factory families with Attract attached by attribute. Each effect inherits the host’s shape and responds to its loading, success and error states.

SIMULATION ONLY. NO PAYMENT OR EXTERNAL ACTION IS PERFORMED.

STATE-AWARE / CHECKOUT PAY

State-aware glow

data-zm-hover="glow-border"
data-zm-hover-on="success error loading"

Press Pay. The glow responds to loading and success, even when the pointer has left.

MATERIAL / KEYCAP

Magnetic key

data-zm-hover="magnetic"

Move near the key. Its cursor outline matches its actual radius.

MOTION / ELASTIC

Lift on an elastic host

data-zm-hover="lift"

The factory supplies the material. The kit supplies the elevation.

LIGHT / HOLO FOIL

Spotlight on foil

data-zm-hover="spotlight-card"

The extra light follows your pointer. Touch gives a short press cue.

CHECKOUT-PAY

Border beam at checkout

data-zm-hover="border-beam"
data-zm-hover-on="loading success error idle"

Simulated checkout drives the effect through data-state.

CHECKOUT-PAY

Shine on success

data-zm-hover="shine-sweep"
data-zm-hover-on="success error"

Simulated checkout drives the effect through data-state.

KEYCAP

Jelly press

data-zm-hover="jelly"

Hover, focus, or press to feel the effect on a real factory button.

ELASTIC

Icon swap

data-zm-hover="icon-swap"

Hover, focus, or press to feel the effect on a real factory button.

HOLO-FOIL

Direction fill

data-zm-hover="direction-fill"

Hover, focus, or press to feel the effect on a real factory button.

KEYCAP

Gradient follow

data-zm-hover="gradient-follow"

Hover, focus, or press to feel the effect on a real factory button.

GROUP

Focus dim group

data-zm-hover="focus-dim"

Tab through the group. Siblings dim while the focused control keeps its native focus ring.

GROUP

Lean group toolbar

data-zm-hover="lean-group"

Move across all three materials, or Tab between them.

KEYCAP

Orbit

data-zm-hover="orbit"

Three lights follow the rounded edge on hover or keyboard focus.

CHECKOUT

Tooltip cursor

data-zm-cursor="tooltip"

The accessible label follows outside the target. Checkout still owns its state.

State feedback

Ready. Try the simulated checkout.

Effects observe data-state only. The original family still owns the operation.