Skip to preview
Explore / Components
Palette

Pointer pull

Magnetic Button

Buttons pull toward a fine pointer with per-instance strength, then spring back to center when the pointer leaves.

Playground
Preparing interactive preview…
Try it. Change it. Make it yours.
Agent details

Source locations and the selected example. Props and behavior live in the source.

Use Glaze's Magnetic Button (button-magnetic) in this interface.
Selected preview: https://glaze.dev.celados.com/components/button-magnetic

Glaze is a Solid 2 / StyleX library: @celados/glaze.
Repository: https://github.com/celados/glaze
Start with skills/glaze/SKILL.md and skills/glaze/references/index.md in the repository or installed package.
Follow the discovery index to the public module under src/solid/. Read its exported props/types and implementation before composing it.
Find the selected example by searching for "button-magnetic" in explorer/*catalog.tsx; follow renderPreview to its implementation and imports.
The matching preview is the interaction reference. Use the source types as the API contract, not a guessed React or Solid 1 equivalent.

Example composition to locate in the source:
<MagneticButton strength={0.35}>
  Hover me
</MagneticButton>