正在加载视频...

视频加载失败

Here’s the Full Tutorial of Responsive Design using Variables in Figma #figma #figmatutorial #figmadesign #responsivewebdesign #uidesign

8 条评论

Maarten van Gent 的头像
Maarten van Gent1 年前

Hmm, not sure if this is responsive. If you change the size of the artboard, now the size of the component doesn't change with it? Since in this design the component uses the full width of the viewport you could just put the component in a frame/container with auto-layout enabled and set it to fill. This way it will always use the full width. Then set up two variables: one for controlling the padding on the sides and one (optional) for controlling the max-width for the component for the different breakpoints. As a bonus you can set up another variable that changes a string name per mode that you can use to swap between component variants if you need different lay-outs per breakpoint.

Good 的头像
Good1 年前

@figma I've made an add-on that can make a true responsiveness by switching component variants based on max-width property numeric value, the only drawback is that you need to have add-on opened to make magic happen. If I figure out that 10+ ppl are interested in it, i'll publish it.

Satyajit Mane 的头像
Satyajit Mane1 年前

@figma Very helpful. Thank you for sharing 😊

UI Joseph 的头像
UI Joseph1 年前

@figma Highly needed Harshil

Travis 🐙 的头像
Travis 🐙1 年前

@figma Wait, help. If you were doing this - changing size without changing layout - wouldn't you just put fill-container on everything? Show me how to put those pay methods on one line at desktop/tablet but stacked on mobile.

Çelik Küçük 的头像
Çelik Küçük1 年前

@figma sorry but its useless. developers already do this easily. you have to think about user experience for each dimension different.

Harshil Acharya 的头像
Harshil Acharya1 年前

@figma 😩😭😭……🥱😴

ジェリ. PM 的头像
ジェリ. PM1 年前

@figma Great tutorial 👍👍

相关视频