Ask HN: How do you manage UI/UX for your side projects?
402 pointsLike a lot of you I have mostly worked in back-end or systems software. My CSS/UI/UX skills are very minimal. I get disheartened by how my project looks or don't start the project because I fear it would look crap or I despise doing the UI/UX work.
How do I solve this?
Comments (199) 87 threads
Earlier commentsI never came up with a special talent for UI/UX. I remember I had a friend who was web developer he was insanely talented , could make a sexy landing page in just a few minutes.
For me this has always been impossible , I immediately start thinking about optimizations, legacy browser support , CI/CD etc... Typical issues of system driven person....
A few years ago I realized I wasn’t like him and it was « Okay ».
I found out I can’t do « many side projects » at once nor frequently.
Instead I only build one project at a time but I do it properly. I design things out in Photoshop or Adobe XD where I usually spend weeks before coding anything.
The goal is really to be working in pure V Cycle where you don’t start Prototype unless you are done with the design.
Been using this technique ever since and I haven’t been frustrated ever since. Would recommend to try it with any design software that you like to work with.
Start by putting the technology aside, it only serves to bring your idea to life. Which bring us to the ideas...
Ideas are never 100% original. I challenge you to imagine an object of a shape and color not made from anything you've ever seen... it's impossible. What I'm saying is that you need to take inspiration from various sources. From this you'll be able to bring these elements together in a new way.
So I'd suggest looking at http://collectui.com/ and https://colorhunt.co/ to start.
Come up with a design in Illustrator/Designer and pretend HTML CSS REACT etc don't exist (ignore them).
Finally look at what you have created and realise you can bring that to life using literally any technology you like.
Mock out your components in HTML CSS.
create react/vue/angular components and port your previous HTML/CSS into these.
And Voila!
A good framework and set of components can help a lot though. I'm building a mobile app at the moment using flutter, and the material components in that make it so much more efficient to build nice looking things that work well. Animated transitions between screens for instance can be really fiddly, but flutter has support for some useful ones out of the box using 'hero' widgets.
Why would you write anything that can't scale if you can avoid it? Whether or not you're looking to turn your pet project into a SAAS business is a moot point when you can get scalability for free with other approaches.
Getting something shipped matters more.
On an (albeit fairly simple) app that I'm building, my CSS file, using Tailwind, is 6.1kb gziped. I think that's pretty reasonable.
- Draw out a design using Sketch, draw.io or any other similar tool.
- Find a color scheme, I typically google for "flat UI colors" since I like them most. Adobe color wheel is also a great tool for finding complementary / shades of colors: https://color.adobe.com/create/color-wheel/
- Then I start prototyping my ideas, typically in react, using a CSS-in-JS lib such as styled-components, this allows for quick iteration.
- I do research. For example, I look at how other websites or UI component libraries do things. Examples are material UI, ant design, semantic UI.
The most important thing is refinement. You start with a rough sketch, prototype in react or HTML and then start playing around with the CSS. Learning all the css attributes definitely helps. Don't try and learn them all from a list, but just google them as appropriate and you'll start picking them up. For example, you might think: "How do I center the children elements both vertically and horizontally on different screen sizes?". A quick google search will suggest to use display: flex, justify-content: center, and align-items: center.
Also, for color help, the Material Design Color Tool is a fantastic little site for helping develop color schemes quickly and visually. https://material.io/tools/color/
All comments shown.
Couldn't load more comments. Check your connection and try again.