How To Customize The React Navbar With Your Brand Info

How To Customize The React Navbar With Your Brand Info

2 minute tutorial


2 min read

Play this article


Inserting your brand information in the navigation bar helps build your brand recall throughout your website. This article shows you how to do it in your React project.


This article assumes that you have gone through the steps of the previous tutorial, installed the Superflows library and have the default navigation bar up and running. This tutorial takes it forward from there.

Brand Info

Brand information consists of mainly two things:

  • Brand name
  • Brand logo

Either of these or both of these, depending on your design requirements and guidelines, need to be inserted into the navigation bar.

Step 1 - Set Brand Name

Brand name can be set by passing a string to the brand prop. As show below:

return (
    <SfNav brand="Your Brand"/>

It renders as follows:



Brand logo can be set by passing the url string of the logo to the brandLogo prop. As show below:

return (
    <SfNav brandLogo=""/>

It renders as follows:

Screenshot 2022-11-04 at 10.47.47 AM.png

Screenshot 2022-11-04 at 10.47.20 AM.png

Needless to say, you can also show both, as follows:

return (
    <SfNav brand="Your Brand" brandLogo=""/>

Screenshot 2022-11-04 at 10.53.09 AM.png

Screenshot 2022-11-04 at 10.52.52 AM.png

Step 3 - Styling

You can then customise the look and feel, by using inline css or by class names. The Superflows navigation bar exposes props that facilitate customisation. An example is shown below:

return (
      brand="Your Brand"
                        color: 'black',
                        textShadow: '1px 2px 2px gray'
                        backgroundColor: 'white', 
                        borderRadius: '10px', 
                        paddingRight: '0px', 
                        marginRight: '10px', 
                        border: 'solid 1px black'

It renders as follows:



Video Tutorial

Further Reading

You have already seen how to get started with the navigation bar and how to insert brand information into it. The next tutorial will show you how to customise the main menu.


This article shows you how to insert your brand information in your React navigation bar. It also shows you how you can tweak the look and feel of the brand information to suit your needs and designs.