API Reference

Complete API documentation for all ReactUI components.

Button

A clickable button element with multiple variants and sizes.

PropTypeDefaultDescription
variant"primary" | "secondary" | "outline" | "ghost""primary"Visual style variant
size"sm" | "md" | "lg""md"Button size
disabledbooleanfalseDisable the button
loadingbooleanfalseShow loading spinner
leftIconReactNode-Icon before label
rightIconReactNode-Icon after label
fullWidthbooleanfalseFull width button
onClick() => void-Click handler

Card

A container for grouping related content.

PropTypeDefaultDescription
variant"elevated" | "outlined" | "filled""elevated"Card style variant
padding"none" | "sm" | "md" | "lg""md"Internal padding
hoverablebooleanfalseAdd hover effect
clickablebooleanfalseMake card clickable

Input

Text input field with labels, validation, and helper text.

PropTypeDefaultDescription
labelstring-Input label
placeholderstring-Placeholder text
errorstring-Error message
helperTextstring-Helper text below input
disabledbooleanfalseDisable the input
requiredbooleanfalseMark as required