An accessible React design system with 62 components, 19 themes, and right-to-left support built in. Change the props below to see how a component behaves, then copy the code.
<Button>
Save changes
</Button>React and ReactDOM are peers. Lucide supplies icons; Recharts powers the charts.
npm install madagent react react-dom lucide-react rechartsImport the stylesheet once and wrap your app. The provider sets every token as a CSS variable, so components pick up the theme without extra wiring.
import { ThemeProvider } from "madagent";
import "madagent/styles";
export function App({ children }) {
return (
<ThemeProvider theme="blue" mode="light">
{children}
</ThemeProvider>
);
}Everything is a named export with typed props.
import { Button, Field, Input } from "madagent";
<Field label="Email">
<Input type="email" placeholder="you@example.com" />
</Field>
<Button>Continue</Button>Each page has live examples, a props table, and a right-to-left demo.
Checkbox with label, description, indeterminate state, and multiple layout variants.
Searchable single-select input for local or asynchronously filtered datasets.
Validation-agnostic label, help, error, and accessibility wiring for form controls.
Transport-agnostic dropzone and file list with validation and progress display.
Responsive one-to-four-column layout for consistent enterprise forms.
Text input with label, helper text, error state, and icon slots.
Searchable multi-value selection with removable chips and overflow collapsing.
Accessible numeric text input with clamping, precision, adornments, and steppers.
Radio group with label and description support.
Dropdown select with search, custom options, and controlled/uncontrolled modes.
Card-based selection input for visually rich single or multi-choice options.
Range input for selecting a value from a continuous set with labels and marks.
Toggle control for switching between on and off states.
Multi-line text input with character counter, resize control, and validation.
Dual searchable listboxes for assigning and removing sets of options.
Open a principle to try it. For colors, spacing, and type, see Design tokens.
Keyboard behavior, focus management, and ARIA roles are built into every component, so you don't wire them up per screen.
Click a plan, then use ↑ and ↓ to move between them.