Is there anyway to create a collapsable sidebar with the JS API or Calcite like the one in Experience Builder?

322
1
Jump to solution
06-22-2022 11:42 AM
ArianaBernal
New Contributor III

I am working on building an application with Calcite and am wanting to create a collapsible sidebar similar to the sidebar tool in experience builder. I have looked through various documentation in the JS API and Calcite and am not finding a similar component to this. I have built the rest of my app with these frameworks and am wondering if there are any components I can use to mimic this?

I am currently using an action bar for desktop but would like my app to adjust to an adjustable sidebar when in mobile view to select widgets.

0 Kudos
1 Solution

Accepted Solutions
ReneRubalcava
Frequent Contributor

There's not a specific component for something like this as far as I know, but you can put one together. I just did a blog post on this in regards to using it with view padding.

https://odoe.net/blog/view-padding

padding-animated-small.gif

View solution in original post

1 Reply
ReneRubalcava
Frequent Contributor

There's not a specific component for something like this as far as I know, but you can put one together. I just did a blog post on this in regards to using it with view padding.

https://odoe.net/blog/view-padding

padding-animated-small.gif