How to build a logo for your website in a few minutes

Shah Nawas Khan
2 min readJul 4, 2023

--

I used to spend so many days building the perfect logo for my website. I used to think a perfect beautiful logo would turn visitors to my site into customers.

Much later, I learned this is a complete waste of time. Unless you have an abundance of free time while waiting for your product to skyrocket overnight, it’s far more beneficial to invest that time into website development, enhancing user experience, and engaging with customers. Designing a logo, although important, should not consume all your resources.

Here’s a handy tip to create an impressive website logo in just minutes:

Build an SVG with a <text /> element and you are done. Let's say your website name is Code Zoomer, then you can go to this (https://editsvgcode.com) site and paste the following code:

<svg aria-hidden="true" viewBox="0 0 151 40" xmlns="http://www.w3.org/2000/svg">
<text x="46" y="26" fill="black" font-size="1em" font-weight="bold">
Code
</text>
<text x="88" y="26" fill="#2563EB" font-size="1em" font-weight="bold">
Zoomer
</text>
</svg>

Depending on your site, you can be creative to break your website name into two or more words and assign them with different contrasting colors.

This would give you a nice SVG logo you can put in your website headers.

You can then turn this SVG as a file or even into your HTML code. For example, I have created a React component called Logo.jsx which contains the following code:

import * as React from "react";

export function Logo(props) {
return (
<svg aria-hidden="true" viewBox="0 0 151 40" {...props}>
<text x="46" y="26" fill="black" font-size="1em" font-weight="bold">
Code
</text>
<text x="88" y="26" fill="#2563EB" font-size="1em" font-weight="bold">
Zoomer
</text>
</svg>
);
}

Now you can reuse this component in both my header and footer.

--

--

Shah Nawas Khan
Shah Nawas Khan

Written by Shah Nawas Khan

I am a computer programmer, loves to learn and teach. I created Code Dryer to help developer save time from doing boring stuff. https://www.codedryer.com/

No responses yet