Logo

This page describes how to update a logo according to your need.

Logo from assets/images directory or public directory

To use a logo from the public folder, follow the below steps -

  1. Upload your logo to the directory src\assets\images or at public directory.

  2. Open file src\ui-component\Logo.tsx

  3. Uncomment the following lines of code

  4. Remove any unused SVG code lines.

src/ui-component/Logo.tsx
import logoDark from 'assets/images/logo-dark.svg';
import logo from 'assets/images/logo.svg';

// ==============================|| LOGO SVG ||============================== //

const Logo = () => {
    return <img src={theme.palette.mode === ThemeMode.DARK ? logoDark : logo} alt="Berry" width="100" />;
};

export default Logo;

Use Logo internally using svg element

  • Removed unused code from below file

Last updated

Was this helpful?