Aleks Profile picture
Feb 6, 2023 β€’ 12 tweets β€’ 4 min read β€’ Read on X
Framer February β†’ Day 5 ✨

A super quick way to create a gradient cursor highlighter in @framer. Let's get started ↓
πŸ₯Ή As always, begin by drawing a frame (F)
Next, add a fill (𝘢𝘴𝘦 π˜₯𝘒𝘳𝘬𝘦𝘳 𝘀𝘰𝘭𝘰𝘳𝘴 𝘰𝘯 π˜₯𝘒𝘳𝘬 𝘣𝘒𝘀𝘬𝘨𝘳𝘰𝘢𝘯π˜₯𝘴, 𝘒𝘯π˜₯ 𝘭π˜ͺ𝘨𝘩𝘡𝘦𝘳 𝘀𝘰𝘭𝘰𝘳𝘴 𝘰𝘯 𝘭π˜ͺ𝘨𝘩𝘡 𝘣𝘒𝘀𝘬𝘨𝘳𝘰𝘢𝘯π˜₯𝘴)

β€’ Add a corner radius (if you want...)
β€’ Add a border (use a width of 1-3px)
Now, select your frame and create a component (⌘ + βŒ₯ + K)
✨ We'll need a little bit of code for the next step. Head on over here, and copy everything you see β†’ pastebin.com/GZpHzA6n
Now, it's time to add an override to the component. With the primary variant selected, go to:

β€’ Code Overrides β†’ New File β†’ New Override
β€’ Name it whatever you want, and replace the default with the code you copied in the previous step ↓
Let's apply the newly created override. Select the primary variant and link the override you added earlier↓
If you preview your creation now, you'll notice that the highlight is working, but it's not quite aligned with your cursor 😰
To fix this, add a stack ( βŒ₯ + ⌘ + ↡ ), and set it to 100% width & height. At this point, you're pretty much done πŸ₯³

But, if you'd like to get rid of the cursor on hover, keep up ↓
In the component settings, select the primary variant, and:

β€’ Under styles hit the β€œ + β€œ
β€’ Select "Cursor," and set it to "None"
πŸ‘† You can, of course, edit the colors of your cursor highlighter by changing the rgb values for the "backgroundImage" propery of the "Highlight" function in the code override.
✨ That's it! Congrats, you have a pretty awesome card that adds a gradient highlight to your cursor. If you found this tutorial useful, please RT to share the love 🫢

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with Aleks

Aleks Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @aleksliving

Jun 27, 2023
Framer Tutorial ✨

Adding video fill to text without any code. Leggo ↓
🚢🏻The first thing you'll need to do, is head over to β†’ and grab the "Text Mask" component. https://t.co/1L7To2X45rframer.supply
Paste it into your project, and edit it to your liking ↓

πŸ‘† I recommend using a thicker font + weight for the best effect.
Read 5 tweets
Jun 24, 2023
Framer Tutorial ✨

Let's make these butter-smooth expanding cards in under 5 min
If you don't have any frames that you want to animate yet, create some ↓
Select all of the cards & create a component. Then:

β€’ create as many new variants as you have cards
β€’ drop the opacity of each card to something low (I used 0.45)
β€’ then, going through each variant, resize & position one of the cards
β€’ set its opacity to 1
Read 8 tweets
Jun 23, 2023
Throwback to the time I made a working analog clock in Framer.

Doubt anyone needs this, but here’s a tutorial ✨
Start by drawing a white circle, set the opacity to 5%, & rename it to "dial"
Clone your dial, remove the fill, & add a 10px stroke (make sure to align it "Inside")

This stroke is the foundation of your "minute marks," which we'll create using a stroke array πŸ€“
Read 14 tweets
Jun 22, 2023
Framer Tutorial ✨

Scrub through a video on scroll ↓
Begin by adding a video component to your frame

β€’ resize it to whatever you want
β€’ set its position to "fixed,"
β€’ center it within the viewport
Add your video source (I'm adding a URL, but you can upload your video for the same result)

β€’ bump up the radius (or don't)
β€’ make sure "playing" attribute is set to "no"
β€’ then increase the height of your breakpoint (to allow for plenty of scrolling)
Read 10 tweets
Jun 20, 2023
Framer Tutorial + Remix Link ✨

Let’s make this super clickable glowstick button in 5 minutes without any code ↓
πŸ‘¨πŸ»β€πŸ³ Start by creating a button, then turn it into a component.

β€’ create a frame with a 100% relative width and height & set its position to absolute
β€’ remove the fill & center it
β€’ turn it into a vertical stack
β€’ rename it to "Container"
β€’ set "gap" to 0
Now, we'll duplicate the "container' we just created, rename it to "columns" and nest it within the container stackπŸͺ†

β€’ change its position to "relative"
β€’ set width and height to "fill"
β€’ change the stack direction to horizontal
β€’ make sure that that the gap is set to 0
Read 15 tweets
Jun 16, 2023
Quick Tutorial + Figma file ✨

Super easy way to add a chromatic aberration effect to any layer in your Figma project. Legggo ↓
This first part will break down the fundamentals behind the effect. This will work on simple shapes & text layers. For this example, I will use this really round rectangle Image
Duplicate your layer 3 times, and fill each one with RGB Image
Read 8 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(