Skip to content
Componentes

Buttons and cursors · Adapted

Sleek Line Cursor

A bundle of thin colored lines chases the cursor across the screen, rippling like loose threads in the wind.

In short

Sleek Line Cursor is a THM Componentes component that draws a bundle of thin lines behind the cursor. Each line hangs on springs and follows the pointer with a slight lag, rippling through turns while the color slowly drifts from blue to violet and pink. Built with Canvas 2D, it fits personal sites, portfolios and creative landing pages.

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

Sleek Line Cursor: A bundle of thin colored lines chases the cursor across the screen, rippling like loose threads in the wind.
Capture of the catalog demo

What it looks like

Picture twenty very fine threads tied to the tip of the mouse arrow. When the cursor moves, the threads trail behind with a small delay, bend at every change of direction and gather again when it stops. The lines are semi-transparent and add brightness where they cross, and their hue cycles slowly through blue, violet, pink and red. The canvas covers the whole screen above your content but does not block clicks. On phones, the trail appears when someone swipes a finger.

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

  • colorful lines following the mouse across the whole page
  • a trail of threads that drags behind the cursor
  • a silky string cursor effect for my portfolio
  • something that makes the mouse feel like a design agency site
  • a mouse trail that ripples and changes color on its own
  • a cursor that leaves a glowing streak as I move it
  • those lines that chase the pointer on award-winning sites

Also known as

  • cursor trail
  • line cursor
  • spring trail
  • mouse trail effect
  • string cursor
  • elastic line trail

When to use

  • Designer, illustrator or studio portfolios that want a personal touch
  • Design or creative event landing pages with little text
  • Short showcase sections where moving the mouse is part of the experience

When to avoid

  • Dashboards, forms and reading pages, where lines over the text distract
  • Pages with other heavy animations, since the drawing loop keeps running while the mouse is still

How to ask your AI

Sample request
Add a cursor trail of thin spring-physics lines in Canvas 2D that covers the screen without blocking clicks: use my brand colors, add a static version for reduced motion, load it only in the browser and test it on mobile.

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 Sleek Line Cursor

Does Sleek Line Cursor work on phones?

It works with a finger: Sleek Line Cursor listens to touch and starts drawing when someone presses and swipes on the screen. Phones have no cursor, so the trail forms while the finger moves and gathers in when it stops. The THM Componentes prompt asks for mobile testing and an LCP and INP comparison.

Can I change the colors of Sleek Line Cursor?

Yes, with a small code change. In the original, Sleek Line Cursor computes its hue from a wave that runs through blue, violet, pink and red. The THM Componentes prompt tells your AI to use your project color tokens instead of fixed colors, and the number of lines, the friction and the tension are already props.

Is Sleek Line Cursor heavy on performance?

It is rated Medium in THM Componentes. Sleek Line Cursor redraws twenty lines of fifty points on every frame in Canvas 2D, and the loop keeps running while the mouse is still. Lower the trails and size props on weaker devices, load it on demand inside ClientOnly in Nuxt as the prompt asks, and measure INP.

Buttons and cursors

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.