An open API service indexing awesome lists of open source software.

https://github.com/wladyslaw13/sidebar-showcase

A modern sidebar component with smooth open/close animation, theme switcher (light/dark), and design tokens. Built with React and styled-components.
https://github.com/wladyslaw13/sidebar-showcase

animation component dark-mode design-tokens frontend light-theme react sidebar styled-components theme ui vite

Last synced: 2 months ago
JSON representation

A modern sidebar component with smooth open/close animation, theme switcher (light/dark), and design tokens. Built with React and styled-components.

Awesome Lists containing this project

README

          

# Sidebar Theme App

A modern, animated sidebar component with theme switching and design tokens.
Built with React and styled-components.

![design](/src/assets/design.png)

## Features

- ✨ **Smooth open/close animation** (cubic-bezier, will-change)
- 🌗 **Light/Dark theme switcher** (with design tokens)
- 💾 **Theme and sidebar state saved in localStorage**
- 🧑‍💻 **Accessible**: tab focus, aria-labels, keyboard navigation

## Quick Start

```bash
git clone https://github.com/Wladyslaw13/Sidebar-Showcase.git
cd Sidebar-Showcase
npm install
npm run dev
```

## Project Structure

```
src/
components/
Sidebar/
Sidebar.jsx
ThemeToggle/
ThemeToggle.jsx
utils/
theme.js
App.jsx
App.scss
index.scss
```

## Customization

- Edit design tokens in `src/index.scss` and `src/utils/theme.js`
- Replace `src/assets/logo.png` with your own logo

## License

- MIT

---

## Made with ❤️