Skip to content

How to create collapsible Side nav bar? #2748

Answered by benoitgrelard
rahul3103 asked this question in Help
Discussion options

You must be logged in to vote

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 the Portal part. This way the content will render inline in the DOM where you expect, you can then style things as you want.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@rahul3103
Comment options

@rahul3103
Comment options

@benoitgrelard
Comment options

@rahul3103
Comment options

Answer selected by benoitgrelard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants