正在加载视频...

视频加载失败

Built a quick little resizable elastic min/max width sidebar using Motion primitives.

35,086 次观看 • 2 个月前 •via X (Twitter)

33 条评论

Mery 的头像
Mery2 个月前

@motiondotdev You and the attention to details 🔥

Derek Briggs 的头像
Derek Briggs2 个月前

You don' kno' me!

Joe Lee 的头像
Joe Lee2 个月前

@motiondotdev super nice, love that the toggle animation is simpler. been playing with elastics this week too

nanda 的头像
nanda2 个月前

@motiondotdev clean af

Derek Briggs 的头像
Derek Briggs2 个月前

@motiondotdev

Damian Chmiel 的头像
Damian Chmiel2 个月前

@motiondotdev Add a double click to get back to the default width

Derek Briggs 的头像
Derek Briggs2 个月前

@motiondotdev May have to try that, but these types of things feel like the "half open macbook" theory where users are forced to set it to where they want it to be, not where it was put for them.

Damian Chmiel 的头像
Damian Chmiel2 个月前

@motiondotdev yeah, that’s a fair point. but if i resize the sidebar to a specific width, then later make it narrower or wider, it would be nice if the app remembered my previous width. that way, a double-click could restore it to the exact width i had set before

Derek Briggs 的头像
Derek Briggs2 个月前

@motiondotdev Follow up: Added a double click that just always returns it to the default width 👍🏻

Damian Chmiel 的头像
Damian Chmiel2 个月前

@motiondotdev You the champ!

Deckard 💻 的头像
Deckard 💻2 个月前

@motiondotdev Elastic UI is always a win for me

Ankur 的头像
Ankur2 个月前

@motiondotdev rubber banding ftw

Derek Briggs 的头像
Derek Briggs2 个月前

@motiondotdev 🙌

Alvish 🧙‍♂️ 的头像
Alvish 🧙‍♂️2 个月前

@motiondotdev 😮‍💨

Jacob Jolibois 🇺🇸 的头像
Jacob Jolibois 🇺🇸2 个月前

@motiondotdev Super nice 👌🏼 I need to bring that rubber banding into our sidebar component.

Derek Briggs 的头像
Derek Briggs2 个月前

@motiondotdev Thanks!

Will King 的头像
Will King2 个月前

@motiondotdev Love built in friction

Chris Frantz 的头像
Chris Frantz2 个月前

@motiondotdev great interactions

Julian Bissekkou 💙 的头像
Julian Bissekkou 💙2 个月前

@motiondotdev can you share how its done?

Marco Fortes 的头像
Marco Fortes2 个月前

@motiondotdev Now add something like this

Masudur Rahman 的头像
Masudur Rahman2 个月前

@motiondotdev 👌

Chris Nijhof 的头像
Chris Nijhof2 个月前

@motiondotdev love the bounce :)

Dmytro Chuta 的头像
Dmytro Chuta2 个月前

@motiondotdev That’s cool! I’ve had endless issues with the standard one. It works terribly.

Igor bedesqui 的头像
Igor bedesqui2 个月前

@motiondotdev so nice

Zinger 的头像
Zinger2 个月前

@motiondotdev Ooo that's nice! One of my favorite small details with these is that double-clicking the line resets it to a default width since my OCD brain can never decide

Philip Dren 的头像
Philip Dren2 个月前

@motiondotdev Really like the close mechanism 🙌

Aleksej K 的头像
Aleksej K2 个月前

@motiondotdev I feel weirdly uncomfortable. I would avoid using an app that teases me like that.

Jaynal Abedin 的头像
Jaynal Abedin2 个月前

@motiondotdev Premium UI is all about the little things, and this is a perfect example.

ijon 的头像
ijon2 个月前

@motiondotdev cool

Renildo Pereira 的头像
Renildo Pereira2 个月前

@motiondotdev smooth

Ilya Kruchinin 的头像
Ilya Kruchinin2 个月前

@motiondotdev Looks good. Do you have a repo with this?

AJ1732 的头像
AJ17322 个月前

@motiondotdev How’d you achieve this?

Robin 的头像
Robin2 个月前

@motiondotdev 这个交互效果太舒适了

相关视频