How to create collapsible Side nav bar? #2748
-
I need help in creating collapsible side navbar with radix components. |
Beta Was this translation helpful? Give feedback.
Answered by
benoitgrelard
Mar 4, 2024
Replies: 1 comment 4 replies
-
The underlying primitive can be |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
benoitgrelard
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The underlying primitive can be
Dialog
, if you don't want it to be its own layer on top of the app, you don't have to use thePortal
part. This way the content will render inline in the DOM where you expect, you can then style things as you want.