Foundations
Icons
Actions
Buttons
Form Controls
Input
Text Area
Select Dropdown
Filter Dropdown
Checkbox
Radio Button
Switch
File Uploader
Color Picker
Multi Select
Search Input
Slider
OTP Input
Date Picker
Time Picker
Date Range Picker
Data Display
Table
Pagination
Progress Bar
Stat Card
Circular Progress
Navigation
Side Menu
Menu Bar
Tabs
Breadcrumb
Ellipsis
Content & Layout
Card
Divider
Banner
Carousel
Accordion
Timeline
Stepper
List
Overlays
Modal
Drawer
Popover
Command Palette
Dropdown Menu
Context Menu
Indicators
Tags
Chips
Badge
Avatar
Avatar Group
Tooltip
Skeleton
Spinner
Feedback
Snackbar
Alert
Callout
State
Buttons
stringText inside the button. Leave empty for an icon-only button.
—ReactNodeIcon shown before the label.
—ReactNodeIcon shown after the label.
—BUTTON_VARIANTSVisual emphasis. Use one primary button per view.
BUTTON_VARIANTS.PRIMARYBUTTON_SIZEHeight, padding and text size. MD matches form element height.
BUTTON_SIZE.MDBUTTON_EDGE_STYLECorner style.
BUTTON_EDGE_STYLE.ROUNDEDbooleanBlocks clicks and dims the button.
false"button" | "submit"Native button type. Use submit inside a form.
"button"() => voidCalled when the button is clicked.
—stringExtra classes on the button element.
""import { Button } from "gwan-design-system";
<Button label="Label" onClick={() => {}} />