Glow button

A glow button is lit from inside and throws a soft halo of its own colour. Here is ours, next to three quieter buttons for the rest of the page.

Ship it

What makes a good one

  1. One per page

    A glow draws the eye, so give it to the one action you most want pressed. Two glowing buttons cancel each other out.

  2. Glow in its own colour

    The halo is the colour of the button at low strength, not a white or grey blur. That is what makes it read as light.

  3. Still a button

    It should squeeze a little when pressed and show a ring when reached by keyboard, like any other button.

Questions

How do I make a button glow in CSS?

Give it a box-shadow in its own colour with a wide blur and no offset, such as box-shadow: 0 0 24px rgb(37 99 255 / 0.5). A light line along the inside of the top edge makes it look lit from within.

Does a glow button need a dark page?

A glow shows best on a dark page. On white, keep the halo tight, or it reads as a smudge.

Is the code free?

Button, Rim button and Dither button are free, in React, HTML and Figma. Glow button comes with Pro.