正在加载视频...

视频加载失败

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 次观看 • 3 个月前 •via X (Twitter)

14 条评论

jhey ʕ•ᴥ•ʔ 的头像
jhey ʕ•ᴥ•ʔ3 个月前

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 的头像
Hugo3 个月前

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

jhey ʕ•ᴥ•ʔ 的头像
jhey ʕ•ᴥ•ʔ3 个月前

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 的头像
standard deviation3 个月前

VST plugin vibes

Aaron 的头像
Aaron3 个月前

clean

Igor bedesqui 的头像
Igor bedesqui3 个月前

nice

Will King 的头像
Will King3 个月前

Oh this is so good

lefty.v0 的头像
lefty.v03 个月前

Would love to build this omg this looks so much fun

Katarina Stefanikova 的头像
Katarina Stefanikova3 个月前

🔥

Markiian 的头像
Markiian3 个月前

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

Hugo 的头像
Hugo3 个月前

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 的头像
Markiian3 个月前

yes, that's it man. Great stuffQ

Joe Lee 的头像
Joe Lee3 个月前

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

Hugo 的头像
Hugo3 个月前

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!

相关视频