Loading video...

Video Failed to Load

Go Home

Interactive "knob" component with different configs for each CSS filter. • sensible default value • pixel values based on user nudge preferences • ±10% shift nudge for percentage values, ±15° for degrees • round to nearest step when holding ⇧

11,586 views • 3 months ago •via X (Twitter)

14 Comments

jhey ʕ•ᴥ•ʔ's profile picture
jhey ʕ•ᴥ•ʔ3 months ago

nice - i been messin' with a similar dial/knob opting for a dot, but with similar behavior like you have matching DevTools for the nudging 😎 these kinda controls are so satisfying to build 🤓

Hugo's profile picture
Hugo3 months ago

Ohhh a dot instead of segment/tick would look great!

jhey ʕ•ᴥ•ʔ's profile picture
jhey ʕ•ᴥ•ʔ3 months ago

i should def finish it – it's a '26 refresh lol i picked it up again after recently trying to curate lots of old demos and finally making it back to 2019 😄

standard deviation's profile picture
standard deviation3 months ago

VST plugin vibes

Aaron's profile picture
Aaron3 months ago

clean

Igor bedesqui's profile picture
Igor bedesqui3 months ago

nice

Will King's profile picture
Will King3 months ago

Oh this is so good

lefty.v0's profile picture
lefty.v03 months ago

Would love to build this omg this looks so much fun

Katarina Stefanikova's profile picture
Katarina Stefanikova3 months ago

🔥

Markiian's profile picture
Markiian3 months ago

That’s a good one. How does it fill to roll it?

Hugo's profile picture
Hugo3 months ago

Feels great! You actually get a horizontal scrubbing cursor that expands slightly on mouse press, and you cursor stays at that spot when scrubbing.

Markiian's profile picture
Markiian3 months ago

yes, that's it man. Great stuffQ

Joe Lee's profile picture
Joe Lee3 months ago

do you have data on whether users prefer to tune these with dragging vs typing? always been curious

Hugo's profile picture
Hugo3 months ago

I don't have the data available! I imagine for things that aren't strictly "numerical" like spacing or border-radius for instance, typing makes more sense. But for filters and similar "graphic" properties, dragging can be nice!

Related Videos