Collapsible Sidebar Menu - Copy this Angular, Css Component to your project
Design a collapsible sidebar menu in Angular. The sidebar should have two states: expanded and collapsed. In the expanded state, the menu displays icons and their corresponding text labels, while in the collapsed state, only icons are visible. The design should include: A search bar at the top. A section with menu items, including: Dashboard (home icon) Revenue (bar chart icon) Notifications (bell icon) Analytics (pie chart icon) Likes (heart icon) Wallets (wallet icon) A footer with: Logout (logout icon) A light/dark mode toggle switch. Styling: The background should be dark with white icons and text. Use a toggle button to switch between the expanded and collapsed states. The component should have a responsive layout for seamless transitions and clean animations for expanding and collapsing the sidebar.
