UNPKG

react-infinity-sidebar

Version:

A fully customizable and responsive sidebar component for React applications, built with TailwindCSS and Headless UI. Easily integrate dynamic navigation menus, dark mode, and various styling options. Designed for dashboards, admin panels, and modern web

40 lines (36 loc) 1.44 kB
export function classNames(...classes) { return classes.filter(Boolean).join(' '); } export const sidebarColors = [ { id: 1, sidebarBgColor: "#012C6E" }, { id: 2, sidebarBgColor: "#171745" }, { id: 3, sidebarBgColor: "#1D2733" }, { id: 4, sidebarBgColor: "#1d2733" }, { id: 5, sidebarBgColor: "#222326" }, { id: 6, sidebarBgColor: "#2B2C41" }, { id: 7, sidebarBgColor: "#006666" }, ]; export const menuColors = [ { id: 1, sidebarItemBgColor: "#002381" }, { id: 2, sidebarItemBgColor: "#24246b" }, { id: 3, sidebarItemBgColor: "#2A323E" }, { id: 4, sidebarItemBgColor: "#1c324d" }, { id: 5, sidebarItemBgColor: "#2c3140" }, { id: 6, sidebarItemBgColor: "#41415D" }, { id: 7, sidebarItemBgColor: "#338585" }, ]; export const navbarColors = [ { id: 1, navbarBgColor: "#012C6E" }, { id: 2, navbarBgColor: "#171745" }, { id: 3, navbarBgColor: "#1D2733" }, { id: 4, navbarBgColor: "#1d2733" }, { id: 5, navbarBgColor: "#222326" }, { id: 6, navbarBgColor: "#2B2C41" }, { id: 7, navbarBgColor: "#fff" }, { id: 8, navbarBgColor: "#006666" }, ]; export const sidebarBgImages = [ { id: 1, sidebarImage: "https://i.postimg.cc/YSF0qR4Q/image1.jpg" }, { id: 2, sidebarImage: "https://i.postimg.cc/QNbDb1gh/image2-DMb-Srybq.png" }, { id: 3, sidebarImage: "https://i.postimg.cc/SspsX983/image3.jpg" }, ];