What 100 templates taught us about designing for real data
The Pixmato gallery now has 100 templates. Each one has to look right with whatever a shop, school or sports club types into it, not only with the sample text we picked. These are six things we changed along the way.
Published
A one-off design has to look right once. A template has to look right every time, with a name you have never seen, a price that is two digits longer than you planned for, and a list that is one row short.
Most of the work on the gallery went into that second part. Here is what we learned, with the templates that taught us.
1. Test with the longest value, not the nicest one
Sample text flatters a design. “Harlow Satchel” sits neatly on two lines. A real product list has “Harlow Leather Satchel in Chestnut” in it, and a price of $1,249.00 where the sample said $294.
So templates come with more than one set of sample values. The Product sale template has one called “Long product name” for exactly this. In the editor, Preview data lets you step through the samples or type your own, and the design updates as you type.
We also wrote a check that measures every piece of text and flags any that spills out of its box, and we run it across the whole gallery.
2. Decide what each line of text does when it is too long
Every piece of text that changes needs an answer to one question: what happens when it does not fit? There are three useful answers.
- Shrink. The text gets smaller until it fits. Use it for names, prices and job titles, which have to be shown in full.
- Cut off. The text stops at the end of a word after a set number of lines and ends with “…”. Use it for descriptions and long item names.
- Grow. The box gets taller, and the layers below it move down.
One thing we got wrong at first: the space between letters stayed the same when text shrank, so a headline with tight spacing looked different at a smaller size. The spacing now scales with the text.
The tutorial Keep long text inside its box shows where this setting is and how to try it.
3. Let lists close up when a row is missing
A leaderboard designed for five people looks broken with four names and a blank row. A shop that is open as usual on New Year’s Eve does not want a line saying so.
In the leaderboard, specials menu, opening hours and class timetable templates, each row can be switched off. The rows below it move up to fill the space. From the API, that is one value: row_5: false.
4. Let labels and colors follow the data
A small label such as “Out for delivery” usually sits in a rounded shape. If the shape has a fixed width, “On its way” leaves a gap and “Click and collect” touches the edges. In the gallery, these labels are as wide as their text, so the padding stays even whatever they say.
Color works the same way. Where a background or accent color is part of the message, it is a value you can send, like the text. One template can then serve a sale, a new arrival and a last-chance reminder without three copies of the design.
5. Design for the size it is seen at
The size you design at is often not the size people see.
- Email headers are designed at 1200 × 600 so they stay sharp, but most emails show them 600 wide. All the text appears at half size, so text set at 40 px in the design is read at 20 px.
- Stories have app buttons over the top and bottom of the screen. We keep the important content about 250 px away from both edges.
- Every size has the same 64 px margin around the edge, so text never sits against the border after a platform crops or rounds the corners.
The sizes we use, and where each figure comes from, are in Image sizes for social posts, link previews and email in 2026.
6. Use sample content that looks real
“Name here” is short and tidy. Real names are not. Oksana Bilyk and Jamal Haddad are different lengths, and a region such as “Leeds and Bradford” is longer than “Region”.
Every template in the gallery is filled with believable shops, people, prices and web addresses, and each named person has their own photo. They are all made up. The point is that a design which works with realistic content is far more likely to work with yours.
If you build your own template, do the same. Paste in ten real rows from your spreadsheet before you decide the design is finished.
Try it
Open the Product sale template in the editor. You do not need an account. Click Preview data and type your longest product name into it.









