Start a project

// Free, no sign-up

112 files // '26

Small, self-contained pieces — most are a single file with nothing imported but React; the WebGL ones add one shared helper (and three.js for the 3D set). Hover, drag and click them here, then copy the source. My own, longer write-ups (with the traps and a rebuild prompt) are on the resources page.

Loading…

Text & type

Sheen headline

A metallic headline with a band of light that follows the pointer and sweeps on its own when idle.

View code ↗
Loading…

Text & type

Decode text

Text that resolves out of cycling glyphs, left to right. Hover to decode again.

View code ↗
Loading…

Text & type

Velocity marquee

An endless marquee that listens to the page: scrolling speeds it up, leans it and flips its direction.

View code ↗
Loading…

Text & type

Spring odometer

Digits that roll to a new number, each column trailing the last and overshooting slightly.

View code ↗
Loading…

Text & type

Weight hover

Variable-weight type that thickens under the pointer and thins behind it.

View code ↗
Loading…

Buttons & inputs

Magnetic button

A button that leans toward the cursor; the label drifts further, and a colour flood pours in from the entry point.

View code ↗
Loading…

Buttons & inputs

Spring toggle

A switch whose thumb overshoots, stretches in travel and squashes as it lands.

View code ↗
Loading…

Buttons & inputs

Shimmer border

A point of light travelling the border of a button, leaving a short conic trail.

View code ↗
Loading…

Buttons & inputs

Split-flap button

A label that changes like a departures board, each character flipping through the alphabet.

View code ↗
Loading…

Buttons & inputs

Spring slider

A range slider with a value bubble that stretches as it moves and settles when it stops.

View code ↗
Loading…

Buttons & inputs

Command palette

A ⌘K palette with fuzzy matching, grouped results, keyboard navigation and a scrim.

View code ↗
Loading…

Buttons & inputs

Liquid glass pill

A frosted pill with backdrop blur and a specular highlight that tracks the pointer.

View code ↗
Loading…

Buttons & inputs

OTP input

Six boxes with auto-advance, backspace-to-previous, arrow keys and paste support.

View code ↗
Loading…

Cards & layout

Bento grid

Tiles that lift and re-light under the pointer, re-flowing at each breakpoint.

View code ↗
Loading…

Cards & layout

FAQ accordion

An accordion that animates its own height properly, one panel open at a time.

View code ↗
Loading…

Cards & layout

Tilt card

A card that tilts toward the pointer in 3D, with a specular highlight across its face.

View code ↗
Loading…

Cards & layout

Compare slider

A before/after reveal on one handle, by drag, touch or arrow keys.

View code ↗
Loading…

Cards & layout

Pricing toggle

A sliding pill between monthly and yearly, with the price rolling to its new value.

View code ↗
Loading…

Loaders & feedback

Skeleton shimmer

Placeholder blocks with a travelling highlight, cross-fading to content without a layout jump.

View code ↗
Loading…

Loaders & feedback

Toast stack

Toasts that stack into a pile and expand on hover, each dismissible and self-timing.

View code ↗
Loading…

Loaders & feedback

Spring tooltip

A tooltip that springs out of its trigger and flips side when it would leave the viewport.

View code ↗
Loading…

Loaders & feedback

Ink preloader

A preloader that draws its mark as a stroke, fills it, then lifts the whole screen away.

View code ↗
Loading…

Marketing blocks

Spotlight grid

Cards lit by one spotlight that follows the pointer across the group, glowing the nearest border.

View code ↗
Loading…

Marketing blocks

CTA banner

A call-to-action band over a slow animated gradient, with a button that lights as it passes.

View code ↗
Loading…

Marketing blocks

Logo cloud

A grid of marks that settle in on scroll and lift individually under the pointer.

View code ↗
Loading…

Marketing blocks

Newsletter signup

An inline form with idle, sending and done states and a button that morphs between them.

View code ↗
Loading…

Data display

KPI ticker

Figures that tick to new values, each with its own direction and a sparkline that redraws.

View code ↗
Loading…

Data display

Progress rings

Concentric rings that fill with an overshoot, each with a gradient and a counting figure.

View code ↗
Loading…

Data display

Activity heatmap

A contribution-style grid in four intensity steps with a readout on hover.

View code ↗
Loading…

Navigation

Tab indicator

Tabs whose pill slides and stretches between them, measured from real offsets.

View code ↗
Loading…

Navigation

Magnifying dock

Icons that scale with their distance from the pointer, with a smooth falloff.

View code ↗
Loading…

Navigation

Capsule nav

A floating pill that collapses to the current page and expands to the full set.

View code ↗
Loading…

AI interfaces

Agent steps

Agent steps that stream in, expand to show their tool call and collapse on success; failures stay open.

View code ↗
Loading…

AI interfaces

Prompt chips

Suggested prompts as chips that scroll sideways and drop their text into the field.

View code ↗
Loading…

AI interfaces

Thinking text

A thinking label with a travelling shimmer and rotating verbs.

View code ↗
Loading…

AI interfaces

Streaming message

Tokens that arrive in uneven bursts behind a caret, the way a model streams.

View code ↗
Loading…

AI interfaces

Chat composer

A composer that grows with its content, sends on Enter and keeps the send button on the last line.

View code ↗
Loading…

Forms

Float input

A label that floats on focus or when filled, with a line that draws under the field.

View code ↗
Loading…

Forms

Password meter

Four-segment strength meter with a show/hide toggle and one concrete hint.

View code ↗
Loading…

Cards & layout

Accordion gallery

A row of panels where the active one grows and the rest compress, driven by flex-grow.

View code ↗
Loading…

Cards & layout

Stack cards

A pile where the top card flies to the back on click and the rest shuffle forward.

View code ↗
Loading…

Cards & layout

Testimonial wall

Columns of quotes drifting in alternating directions, fading at the edges, pausing on hover.

View code ↗
Loading…

Loaders & feedback

Blend cursor

A large disc with mix-blend-mode: difference that inverts whatever it passes over.

View code ↗
Loading…

Loaders & feedback

Ring cursor

A dot that tracks exactly with a ring that trails on a lerp and grows over interactive elements.

View code ↗
Loading…

Loaders & feedback

Spring modal

A modal that grows out of its trigger with an overshoot, traps focus and closes on Escape.

View code ↗
Loading…

Marketing blocks

Announcement bar

A dismissible bar with a scrolling message that pauses on hover and collapses smoothly.

View code ↗
Loading…

Marketing blocks

Cookie sheet

A consent sheet that slides up from the bottom with equal-weight Accept and Decline.

View code ↗
Loading…

Marketing blocks

Feature tabs

Tabs that auto-advance with a progress bar, pause on hover and cross-fade their panels.

View code ↗
Loading…

Marketing blocks

404 not found

A 404 whose zeros are rings of ticks rotating against each other, with one way home.

View code ↗
Loading…

Data display

Bar chart race

Bars that re-rank as values change, sliding to new rows while widths animate.

View code ↗
Loading…

Data display

Data table

Sortable columns, a live filter, tabular numerals and proper aria-sort.

View code ↗
Loading…

Data display

Line chart

An SVG line that draws itself in, with a crosshair that snaps to the nearest point.

View code ↗
Loading…

Data display

Stat cards

Cards whose figures count up when scrolled into view, each with a delta chip.

View code ↗
Loading…

Data display

Scroll timeline

A vertical line that fills as its container scrolls, lighting each entry as it passes.

View code ↗
Loading…

Media

Masonry gallery

CSS columns with varied tile heights that fade up in sequence and lift on hover.

View code ↗
Loading…

Media

Momentum carousel

Drag to scroll with real inertia: release velocity carries on and decays with friction.

View code ↗
Loading…

Media

Story viewer

Segmented progress bars, tap sides to move, press and hold to pause, auto-advance.

View code ↗
Loading…

Navigation

Scroll rail

A dot rail that tracks the section in view, grows the active dot and scrolls on click.

View code ↗
Loading…

Navigation

Mega menu

A nav whose panel opens under the hovered item, with hover-intent and keyboard support.

View code ↗
Loading…

Navigation

Mobile sheet menu

A bottom sheet menu that drags down to dismiss with a velocity-aware threshold.

View code ↗
Loading…

Navigation

Wordmark footer

A footer with a huge outlined wordmark whose letters fill with the accent as the pointer passes.

View code ↗
Loading…

AI interfaces

Source cards

Numbered citation cards; hovering a marker in the text highlights its card and vice versa.

View code ↗
Loading…

AI interfaces

Image gen grid

Tiles that develop from blurred noise to a finished image, staggered, with a pending shimmer.

View code ↗
Loading…

AI interfaces

Voice orb

An orb that breathes when idle, ripples when listening and pulses when speaking.

View code ↗
Loading…

Forms

Search suggest

As-you-type suggestions with the match highlighted and full arrow-key navigation.

View code ↗
Loading…

Forms

Check group

Checkboxes with a draw-on tick and a correctly indeterminate select-all.

View code ↗
Loading…

Forms

Combobox

The ARIA editable combobox pattern: input, listbox and activedescendant, committing a value.

View code ↗
Loading…

Forms

Date picker

A month grid with keyboard navigation, today marker and a slide between months.

View code ↗
Loading…

Forms

Dropzone

Drag files on or click to browse; the border animates on dragover and files are removable.

View code ↗
Loading…

3D objects

Audio sphere

A wireframe icosphere whose vertices are pushed out by a beat and travelling noise.

View code ↗
Loading…

3D objects

Data globe

A dot-sphere with great-circle arcs that draw themselves between cities. Drag to spin.

View code ↗
Loading…

3D objects

Exploded view

A stack of layers that separate along one axis and settle back, like a teardown.

View code ↗
Loading…

3D objects

Galaxy

Fourteen thousand additive points on spiral arms, warm core to cool rim.

View code ↗
Loading…

3D objects

Glass orb

A transmissive sphere refracting a glowing knot inside it.

View code ↗
Loading…

3D objects

Grass field

Instanced blades swaying on a wave and bending away from the pointer.

View code ↗
Loading…

3D objects

Holo card

A card that tilts to the pointer under a holographic foil shader.

View code ↗
Loading…

3D objects

Infinite tunnel

Rings recycled along z so the corridor never ends, leaning with the pointer.

View code ↗
Loading…

3D objects

Iridescent blob

A displaced icosphere shaded by its normals, so orientation becomes colour.

View code ↗
Loading…

3D objects

Keycap row

Bevelled keys that depress under the pointer and spring back; click to hold one down.

View code ↗
Loading…

3D objects

Particle morph

Three thousand points eased between sphere, cube, torus and helix. Click to advance.

View code ↗
Loading…

3D objects

Product turntable

A bottle on a plinth that auto-rotates, drags, and keeps its momentum after release.

View code ↗
Loading…

3D objects

RGB glitch

Text sampled three times with per-channel offsets and random slice jumps.

View code ↗
Loading…

3D objects

Snow globe

Flakes that fall under gravity, bounce off the glass and are kicked up when you click.

View code ↗
Loading…

3D objects

Text particles

Text sampled into points that spring home and are shoved away by the pointer.

View code ↗
Loading…

3D effects

Click ripple

Every click launches a decaying ring that refracts the pattern beneath it.

View code ↗
Loading…

3D effects

Depth photo

A 2.5D parallax from transparent layers at different depths.

View code ↗
Loading…

3D effects

Extruded text

Text rasterised then built from instanced boxes with depth, so any font works.

View code ↗
Loading…

3D effects

Fluid trail

A glowing ribbon that follows the pointer and fades like smoke. Canvas 2D, no WebGL.

View code ↗
Loading…

3D effects

Hover distort

A textured plane that bulges toward the pointer with a chromatic fringe.

View code ↗
Loading…

3D effects

Page wipe

A page-turn transition in CSS 3D: the top page rotates away and drops to the back.

View code ↗
Loading…

Shader backgrounds

Aurora

Layered curtains of light over a star field, warmed to orange.

View code ↗
Loading…

Shader backgrounds

Caustics

The bright net of light on a pool floor from an iterated sine-warp.

View code ↗
Loading…

Shader backgrounds

Cloud sea

Cloud banks lit from a low sun over a sunset sky, in three drifting layers.

View code ↗
Loading…

Shader backgrounds

Ink fluid

Domain-warped noise that reads as ink diffusing in water.

View code ↗
Loading…

Shader backgrounds

Liquid chrome

Repeated sine warping shaded like a reflective liquid metal.

View code ↗
Loading…

Shader backgrounds

Rain glass

Beading, sliding drops on a pane, each refracting a blurred bokeh street.

View code ↗
Loading…

Shader backgrounds

Warp starfield

Stars streaming from a vanishing point that follows the pointer; click to burst.

View code ↗

// No attribution needed