Resizing Table and List in Sketch App 45
Part 1/2. Use Group Resizing and Dynamic Symbols.
The table is the best UI component of displaying a lot of listed data in an organized way.
Visual Guide
How to create a responsive Table in SketchApp.
This Medium post is inspired by the Reony Tonneyck Article Resizing Tables with Sketch.
Like Reony, I have designed many tables this year. The worst part is definitively append when you need to resizing them for diffrent screen size.
Sketch 44βs brand new make an upgrade to Group Resizing Feature (Sketch 39). Now you have a more powerful and flexible resizing controls.
Take a look to Atomic Design: Atomic design is methodology for creating design systems. by Brad Frost.
- Cell is Atom
- Row is Molecule
- Table is Organisme
Create Tables
π 1 Start your Sketch from the Smallest artboard.
For my project, my smallest artboard is 7" an horizotal Android tablet (960x600).
π 2 Create a cell (Atoms).
Tips : set the ligne heigth to your text box like this :
Box Height (40px) - Padding * 2 = Text Box Line Height
I use 8pt grid :
You have nothing to set for the cell background.
π 2 Convert your cell into a SketchApp Dynamic Symbols (Atoms) and duplicate it.
π 3 Create a row (Molecules).
Row is a group of cells.
Row = X * Cell
π 4 Convert your row into a SketchApp Dynamic Symbols
In your symbols page edit the row to sort your cells: First at the top Last at the bottom.
π 5 Duplicate row (Molecules) to create the content of your table.
π 6 Create Header and Footer.
Header
Footer
Create Cell type
Sketch Symbols are powerful
Resizing Tables
We want a consistent 8px padding in each cell/column (8px grid).
What we can do is add a 8px wide rectangle on each side, representing the fixed padding.
Select those rectangles, and change the Resizing property fixed border left and right.
Resize the Artboard
In Sketch 44βs you have a new menu to select multiple Artboards. You can also easy switch from one size to an other.
Next episode : Add Color, Design, UI to your table.
If you have questions or suggestions please add a response here or find us on Twitter @Autre_planete.
Remember to hit the little green β₯ below, if you like this tutorial!