Skip to content

Rotating circular text

A badge of text laid out in a circle that slowly turns around an icon, next to a short pitch.

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

Description

A short phrase follows a circle and slowly turns around an icon, like a stamp or a quality seal: ideal for a bakery, a craftsperson, a certified brand or a studio. The circular text is real SVG text (sharp at any size, easy to translate) and repeats information already shown next to it, so the decoration is hidden from screen readers. A checkbox pauses the rotation, as WCAG 2.2.2 requires, without any script. AA contrast in light and dark mode. With prefers-reduced-motion the badge stays still.

Code

Loading the code…

The code of this component in

Archive contents

effet-texte-circulaire-rotatif-html-tailwind.zip3 files · 4 Ko

  • index.html4 Ko
  • README.md3 Ko
  • LICENSE.md1 Ko

Tags

Updated on December 3, 2026.

Reviews

No reviews yet.

In the same spirit

  • Cards that fade in as they enter the screen, one after another in each row, without a line of JavaScript and with a static fallback.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A translucent card with a saturated blur whose sharper edge refracts the colourful shapes drifting behind it, with an opaque fallback when transparency is reduced.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A help block shaped like a conversation: bubbles, three animated typing dots and clickable quick replies that show your answers to frequent questions, frozen under prefers-reduced-motion.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component