Gradient pill button
A colorful pill crossed by a light sheen on hover.
- Tailwind
- React
- CSS
- WordPress
Description
The warm gradient draws the eye to the primary action; a diagonal sheen crosses it on hover and focus. Text stays readable across the whole gradient (AA contrast) and the sheen is removed when motion is reduced.
Code
Loading the code…
Reviews
No reviews yet.
In the same spirit

A row of buttons to share the page on Facebook, LinkedIn, WhatsApp or by email, with a copy-link button and no third-party script.
- Tailwind
- React
- CSS
- WordPress

Toggle heart buttons that count favourites, remember them between visits and announce them to screen readers.
- Tailwind
- React
- CSS
- WordPress

A button that adds an event to Google Calendar, Outlook or any calendar through an .ics file, with no third-party service.
- Tailwind
- React
- CSS
- WordPress

A button that copies an IBAN, a reference, an address or a promo code and confirms "Copied", on screen and to screen readers.
- Tailwind
- React
- CSS
- WordPress