Move Chevron in Fluent UI Nav to Right Side

1.3k Views Asked by At

In any of the Nav examples at https://developer.microsoft.com/en-us/fluentui#/controls/web/nav how would I go about moving the Chevron from the left side to the right side?

1

There are 1 best solutions below

0
Marko Savic On

It's simple with styles property of Nav Component:

<Nav
  ...
  styles={{
    chevronButton: {
      right: 0,
      left: 'none',
    }
  }}
/>

Codepen working example.