Where can I find the code for the embedded sidebar in docs? #1715
Replies: 1 comment
-
In case anybody asks the same question, the example is in an iframe, I failed to check that first. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, fantastic project, many thanks!
I spent quite some time trying to get the sidebar component (from the next version) to play nice sitting in a dedicated component, because it looked like it was meant to be the root of the whole app by design.
Then I realised that an example for what I've been trying to do was staring me in the face all this time :)
https://next.shadcn-svelte.com/docs/components/sidebar
This page has a mini example of sidebar at the top of the page, in the middle section. That's a functional sidebar sitting nicely in a flex container!. I could not find the code for that document so that I can see how/if it differs from what I've done.
I learned a lot by doing what I've been trying to do but I'd love to see how it's done by people who actually know what they're doing.
Beta Was this translation helpful? Give feedback.
All reactions