← Back to PrepPixelsBuy this pack

Button pack

Colour rise, arrow slide, press depth, border draw, loading to done, ripple press, spectrum border, magnetic pull, shine sweep, letter roll. Each piece is a single file you copy into your site, with no library. Below are recorded previews; the files come with the pack.

01 · Colour rise

A second colour rises from the bottom edge to fill the button on hover, focus or press, and the label changes colour with it.

02 · Arrow slide

A button with an arrow that slides out to the right while a second arrow slides in from the left.

03 · Press depth

A button with a hard block shadow that it sinks into when you press it.

04 · Border draw

An outline button whose border draws itself around the edge on hover, focus or press.

05 · Loading to done

A button that turns into a spinner when clicked, then a drawn tick and the word Done, with each state set from your own code.

06 · Ripple press

A circle spreads from the exact point you click or tap and fades, and starts from the centre when the button is used from the keyboard.

07 · Spectrum border

A rainbow border that spins around the button on hover, with a soft glow of the same colours behind it.

08 · Magnetic button

The button leans towards the pointer as it comes near, on the same frame, and springs back when the pointer leaves.

09 · Shine sweep

A band of light sweeps across on hover and the button lifts. One class makes it shine on its own for a main Buy button.

10 · Letter roll

Each letter of the label rolls up and a fresh copy rolls in from below, one letter after another.