UNPKG

rharuow-ds

Version:

Modern React Design System with 20 components and auto color system. Define only 2 colors (primary/secondary) and get automatic variations (hover, light, dark) with proper text contrast (WCAG AA). Includes: Table, Card, Button, Chip, Pagination, Input, Te

14 lines (13 loc) 502 B
import React from "react"; export type SidebarSide = "left" | "right"; export interface SidebarProps extends React.HTMLAttributes<HTMLElement> { open: boolean; side?: SidebarSide; size?: "sm" | "md" | "lg" | string; } /** * Sidebar — a persistent lateral panel for md+ screens. * Unlike AsideSheet, it has no overlay and is not rendered via a portal. * It uses fixed positioning and translates in/out without blocking content. */ export declare const Sidebar: React.FC<SidebarProps>;