Collapsible Sidebar Component for React, Astro, and Svelte
v1.0![Sticky header component for Astro with mega menu](img/products/collapsible-sidebar-component/collapsible-sidebar-component.png)
Techstack
Product Details
Multiframework support
Fully responsive
Cross-browser compatible
Support included
Lifetime access to updates
A clean, responsive, and configurable <Sidebar />
component for your existing React, Astro, or Svelte projects. Easily integrate it into your codebase by copy-pasting the component, or bootstrap a new project with the help of this package with the <Sidebar />
component already integrated. The component can be configured in the following way:
// Import the relevant componentimport { Sidebar } from '@components/Sidebar.tsx'import Sidebar from '@components/Sidebar.svelte'import Sidebar from '@components/Sidebar.astro'
// Call the component with the following props<Sidebar logo="path/to/logo.png" searchPage="/search" items={[{ label: 'Dashboard', link: '/', icon: 'home' }, { ... }]} collapseLabel="Collapse" showThemeToggle={true}/>
The package comes with the following features:
- Multiple framework support: The package includes code for the
<Sidebar />
component written for React, Astro, and Svelte, meaning you’ll get three different implementation with this product, so you can use it with different tech stacks. - Configurable: Pass your menu items to the
<Sidebar />
component to generate your menus. The component can be used as-is, with easy configuration through props. - Easy to style: Styles can also be configured via Sass variables through the stylesheet provided with the component. SVG icons are included.
- Responsive: The component is fully responsive that adapts perfectly for all device resolutions like mobiles, tablets and desktops.
- Light & dark themes: Inside the stylesheet, configurations for dark/light themes are also included.
- Cross-browser support: The component was tested on major browsers (Chrome, Firefox, Edge) to ensure cross-browser compatibility.
- No third-party dependency: The component is written in React, Astro, and Svelte without the use of extra external libraries, making it performant and lightweight compared to other solutions. There are no dependencies on other third-party packages.
FAQ
Other Questions
Do you have other questions you can’t find the answer for? Contact us!
Contact Us- Do you offer support or updates for purchased items? +
- We provide 30 days of support from the date of purchase for each product. We also regularly audit our product catalog to keep products up to date and ensure they work with the latest version of their dependencies. New features are also often added to existing products. After purchasing a product, you'll also gain access to future updates.
- Can I request customizations or modifications to the code? +
- Yes! You can file a request for a purchased product using our contact page, and we'll get in touch with you. Customizations and modifications to your product purchase are subject to additional fees, which are determined on an individual basis based on the complexity of your request.
- How do you ensure code quality? +
- We're committed to providing high-quality products and ensuring our customers are satisfied with their purchases. To maintain our product's code quality at a high standard, each codebase goes through multiple rounds of reviews before publication. Products are also tested with static code analysis tools, linters, and where appropriate, we also provide unit and E2E tests with our products.
- Are there any refunds or return policies in place? +
- We provide a 14-day refund period starting from the date of purchase. For more information on eligibility for a refund and how to request one, please consult our Refund Policy
- Do you provide documentation or tutorials for using the code? +
- Most of our products include detailed documentation with code examples on how to set up the code, how to use its API, and how to integrate it seamlessly into your existing software ecosystems. If you believe one of our product's documentation is missing a subject, please get in touch through our contact page so we can improve it.