Magnetic Button
A button gently pulled toward the pointer inside a bounded magnetic field.
Buttons & Controls · React / Motion / Tailwind
Wancraft / Digital component workshop
A growing collection of meticulously built React components, motion experiments, and interactive ideas. Ready to explore. Ready to remix.
Hover an object to inspect · click to open its entry
02 / Selected crafts
A button gently pulled toward the pointer inside a bounded magnetic field.
Buttons & Controls · React / Motion / Tailwind
A card that reveals a soft radial light — inner glow and border highlight — under the pointer.
Cards & Containers · React / CSS / Tailwind
Display type that rises out of masks line by line, word by word or character by character.
Typography & Text · React / CSS / Tailwind
A fluid colour atmosphere of drifting, blurred light that fills its container.
Backgrounds & Effects · React / CSS / Tailwind
A navigation dock whose tiles rise and grow as the pointer approaches.
Navigation & Menus · React / Motion / Tailwind
A perspective card stack you can swipe, drag, click or arrow through — with spring physics.
3D & Experimental · React / Motion / Tailwind
03 / Behind the craft
Three rules every component is held to before it earns a number in the catalogue.
Interactions communicate feedback and intent. A spring says ‘I followed you’. A stagger says ‘read in this order’. If motion doesn’t carry meaning, it doesn’t ship.
Readable source, transparent dependencies, easy integration. Each component is a single file you can read in one sitting — what you preview is exactly what you install.
import { MagneticButton } from "@/components/ui/magnetic-button" // dependencies: motion — that's it
Accessible, responsive, performant, maintainable. Keyboard paths, reduced-motion fallbacks, touch alternatives and off-screen pausing are part of the component, not a follow-up ticket.
04 / How it works
Magnetic Button
Buttons & Controls · Motion
05 / The playground
06 / Collections
07 / The studio
Wancraft is the open workshop of WANSTUDIO's creative engineering practice — the place where interaction ideas from client work are distilled into components anyone can use. Same standards, published in the open.
Visit wanstudio.my