@shcnwc/shadcn-sidebar-web-component
v1.3.2
Published
A composable, themeable and customizable sidebar component.
Downloads
17
Readme
Sidebar
A composable, themeable and customizable sidebar component.
Installation
npm install @shcnwc/shadcn-sidebar-web-componentUsage
<script type="module">
import "@shcnwc/shadcn-sidebar-web-component";
</script>
showlinenumbers title="src/routes/+layout-svelte"
<sidebar-provider>
<appsidebar />
<main>
<sidebar-trigger />
{@render children?-()}
</main>
</sidebar-provider>Links
Contributing
Contributions are welcome! Please open an issue or pull request on GitHub.
License
This project is licensed under the MIT License.
