EUI Simple navigation with Side Nav

Hi there.
I have some question about Elastic UI.
I try create simple form with some navigation

Can i get some examples of usage Side Nav with change EuiPageBody?
Something like when i switch betweeen config Users and Roles in Kibana Stack Management.

P.S Sorry, idk where ask quiestion about Elastic UI...

Hi Petr. Using the EuiPageTemplate is probably the best place to start. You could include an onClick prop for each sidebar item to call a set function. Then pass that state as a prop to the other component.

Here's a very simple example.

EDIT: Sorry, I forgot to save my changes. I updated the example. :slightly_smiling_face:

Nice example. I guess it is exactly what i needed.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.