Skip to main content
Question

Can we make this kind of button in figma

  • April 9, 2025
  • 1 reply
  • 30 views

Fraz Mir

How can we make a button like cursor website have like the one where button border follows the mouse pointer? here is the reference 
 https://www.cursor.com/

This topic has been closed for replies.

1 reply

Amadeusz_Wasik
  • New Participant
  • 13 replies
  • April 10, 2025

Code the design. In Figma? You cannot, it’s a fast prototyping tool not a full code editor.

 

In theory, you could play with multiple variants of the button. Each represent a different position of the border highlight. Then build a grid of empty frames. From prototype perspective, hovering a certain frame would switch to the dedicated variant (use smart animate).

Of course, the project prototype will be completely unusable as active hover block any other prototype triggers and button component will be a complete disaster.