:heart: React

Designing with Storybook

December 14, 2018

No one can imagine how much creativity gone lost while we had no Storybook or an alternative.

Storybook (live on metamn) is a user interface development environment. Up until now we had integrated development environments (IDE) for any kind of development but UI.

Now with Storybook you are able to:

  1. Tweak live your work to find edge cases.
  2. Test it instantly in different contexts like backgrounds and viewports.
  3. Have immediate accessibility feedback.
  4. Document your work and experiments beautifully.
  5. Save every experiment you do for curiosity and later reuse.

And the list is continuously expanding. For me the best part is saving the experiments.

I’m creating experimental user interfaces where every piece of UI on the screen is handmade. More, every single UI piece fits the underlying content which changes from site to site, brand to brand.

This takes lots of experimentation. Just take a look at Lynx & Hare, a landing page I’ve created recently, and unfortunately not with React and Storybook.

For this project I had no input (zero questions answered in the Design Brief) just ‘let it be something like between retro gaming and finance’.

After I’ve sketched up the first version the direction suddenly went to minimal, my style, — I’ve even added a PacMan !!! which I had to throw out. Together with that retro button bringing back that 90s feeling.

Bye Pacman!

That button!

After creating my style

My style

… still the result was not good enough, so I’ve created a third variant.

I don't know whose style!

I wish I had Storybook at design time. Now all my work would be nicely cataloged, documented, buttons would stick together with other buttons, fonts in the same way, color schemes with another colors schemes, and in plus I would have live all those variations I have now only as screenshots somewhere on my hard drive.

A variant on red:

The last variant in red

This one with a Canvas background and particles moving with the cursor.

The last variant with canvas gradient

Or these, a completely new iteration with type set on a dynamic cell matrix.

Type on a matrix

On gray background:

Type on a matrix, gray

… and the underlying cell matrix. I don’t have the rotated and skewed screenshots — they are neat!

The cell matrix

Now I’ve saved the project to Storybook, at least the layout. You can play with live. And I’ll use it as a demo project across the entire UI library in the future.

Just to remind me to be thankful for Storybook every time I use.


To React with best practices. Written by @metamn.