Skip to content
Componentes

Special effects · Adapted

Rodopio

A thin border with blue and pink light spinning around a field or button, like a neon sign.

Rodopio · Portuguese for twirl, a quick spin.

In short

Rodopio is a THM Componentes component that wraps an input, a button or a card in a thin border of neon light in two colors, blue and pink by default, that spins around it. It is pure CSS, has three modes, one of them static, and suits night themes and gamer looks.

The catalog, this component's prompt and its sample texts are in Brazilian Portuguese. AI coding assistants apply the prompt the same way.

Rodopio: A thin border with blue and pink light spinning around a field or button, like a neon sign.
Capture of the catalog demo

What it looks like

Think of the light of a neon sign running along the frame of a box. A one-pixel line outlines the content, and two slightly blurred patches of light, one blue and one reddish pink, spin around it, completing a turn every 6 seconds. There are three modes: static, with each color fixed at one end; half, the default, with spinning patches; and full, with more light covering the border. The content, such as a text input, sits on top and covers the center. The default size is that of a form field.

You may be looking for this if you asked for something like

  • a glowing neon outline around my search field
  • blue and pink light running around a button
  • a spinning neon outline for a gaming-themed site
  • make my input look like a glowing sign
  • a colorful animated border to highlight a card in dark mode
  • that glow that keeps circling the border, gamer setup style

Also known as

  • spinning light border
  • glowing border
  • animated border
  • rotating border
  • animated gradient border
  • neon outline

When to use

  • A search or sign-up field that needs to stand out
  • Sites with a night, gaming or tech theme
  • A highlight button or card on a dark page
  • A short lead capture form on a launch page

When to avoid

  • Several elements on the same screen, where that much spinning light gets tiring
  • Sober brands, such as healthcare or legal, unless you tone the colors down

How to ask your AI

Sample request
I want an animated CSS neon outline around the search field at the top of my site: two lights in my brand colors spinning around it with a soft glow, a static version for people who prefer reduced motion and good contrast in dark mode.

With THM Componentes, you paste the full prompt from the catalog together with this component's code, and the AI reproduces this exact effect instead of improvising.

Questions about Rodopio

Can Rodopio stay still?

Yes. Rodopio has a none mode where the border stays still, with one color at each end. It works as the static version for people who prefer reduced motion, which is exactly what the THM Componentes prompt asks your AI to provide for that preference. The half and full modes spin.

How do I change the colors and speed of Rodopio?

The two colors in Rodopio are props, color1 and color2, and accept any CSS color. The length of each turn is the duration prop, in seconds, with 6 by default. The THM Componentes prompt tells your AI to use your project color tokens instead of the blue and pink.

Do I need to set anything up in CSS for Rodopio to spin?

Yes. The spin animation in Rodopio is declared in the Tailwind theme in main.css and reads the duration from a CSS variable. The component page includes the ready-made snippet, and the THM Componentes prompt asks your AI to add the catalog theme variables. Without it, the border shows but does not spin.

Special effects

Related components

Give your AI a studio-grade repertoire

268 Vue and Nuxt components, 115 exclusive, a ready prompt in every one. Single payment, lifetime access and a 7-day guarantee.