Accessible by default
Keyboard behavior, focus management, ARIA semantics, and screen-reader support are built into the primitives.
madagent is an accessible React design system built with TypeScript and CSS Modules. It combines OKLCH tokens, RTL-first behavior, and structured documentation for faster, more reliable implementation.
Install the package, stylesheet, and provider.
Install madagent and its peer dependencies.
npm install madagent react react-dom lucide-react rechartsImport the stylesheet once and wrap your application.
import { ThemeProvider } from "madagent";
import "madagent/styles";
export function App() {
return (
<ThemeProvider>
{/* Your product */}
</ThemeProvider>
);
}A shared foundation for product teams and coding systems.
Keyboard behavior, focus management, ARIA semantics, and screen-reader support are built into the primitives.
Perceptually consistent color ramps, semantic tokens, and light and dark modes without runtime CSS-in-JS.
Logical properties and mirrored interactions make every component work in both directions from the same API.
Typed props, structured documentation, and generated registries give coding agents reliable implementation context.
Move from orientation to implementation.
Built with typed APIs, scoped CSS, and zero runtime styling dependencies.