Skip to main content

Root Styles

The Root Style feature provides the flexibility to apply custom styling to the navigation sidebar. With the rootStyles prop, you can pass a set of CSS properties to customize the appearance of the sidebar according to your design preferences. The rootStyles prop accepts a CSSObject from the Emotion library.

Props

type RootStylesType = {
rootStyles?: CSSObject;
};

Example

/vertical-menu/menu/root-styles

Source Code