Skip to content

Raised button

A chunky button that sinks under the finger, for primary actions.

  • Tailwind
  • React
  • CSS
  • WordPress
Open in a new tab

Description

The depth comes from a solid offset shadow that shrinks on press: crisp on every screen, with no image or blur. Three sizes and a secondary variant are included. Keyboard focus shows a clearly visible ring.

Code

Loading the code…

Archive contents

bouton-relief-html-tailwind.zip3 files · 3 Ko

  • index.html3 Ko
  • README.md2 Ko
  • LICENSE.md1 Ko

Tags

Updated on October 12, 2026.

In the same spirit

  • Circular icon buttons with an accessible tooltip on hover and focus.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A primary action joined to a menu of secondary options.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A colorful pill crossed by a light sheen on hover.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A text link whose underline draws from left to right on hover.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component