Skip to main content

Root Styles

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

Props

type RootStylesType = {
rootStyles?: CSSObject;
};

Example

/horizontal-menu/menu/root-styles

Source Code