Headings

Heading levels 1 through 3 for document structure.

PropTypeDefaultDescription
children*char-Heading text
Live Demo

Heading Level 1

Heading Level 2

Heading Level 3

Text

Paragraph text. Renders a p element.

PropTypeDefaultDescription
children*char-Text content
class*char-CSS classes
Live Demo

This is a paragraph of text with default styling.

Lead

Lead paragraph. Renders a p element with larger, lighter text.

PropTypeDefaultDescription
children*char-Text content
Live Demo

This is a lead paragraph used for introductory content.

Caption

Small caption text. Renders a small element.

PropTypeDefaultDescription
children*char-Caption text
Live Demo

This is a small caption.

CodeText

Inline code text. Renders a code element.

PropTypeDefaultDescription
children*char-Code content
Live Demo

Use

npm install chemical
to install.

Button

Default button. Renders a button element.

PropTypeDefaultDescription
children*char-Button label
onClickfunction-Click handler
type*charbuttonButton type
disabledboolfalseDisabled state
class*char-CSS classes
Live Demo

Button (Primary)

Primary button variant with accent color.

PropTypeDefaultDescription
children*char-Button label
onClickfunction-Click handler
disabledboolfalseDisabled state
Live Demo

Button (Ghost)

Ghost button with no background.

PropTypeDefaultDescription
children*char-Button label
onClickfunction-Click handler
Live Demo

Button (Outline)

Outlined button with border only.

PropTypeDefaultDescription
children*char-Button label
onClickfunction-Click handler
Live Demo

Button (Danger)

Danger button with red accent.

PropTypeDefaultDescription
children*char-Button label
onClickfunction-Click handler
Live Demo

Button (Success)

Success button with green accent.

PropTypeDefaultDescription
children*char-Button label
onClickfunction-Click handler
Live Demo

Button (Small)

Small button variant.

PropTypeDefaultDescription
children*char-Button label
onClickfunction-Click handler
Live Demo

Button (Large)

Large button variant.

PropTypeDefaultDescription
children*char-Button label
onClickfunction-Click handler
Live Demo

IconButton

Circular icon button. Renders a button with an icon.

PropTypeDefaultDescription
children*char-Icon content
onClickfunction-Click handler
label*char-Accessible label
Live Demo

Fab

Floating action button. Renders a fixed-position circular button.

PropTypeDefaultDescription
children*char-Button content
onClickfunction-Click handler
Live Demo

Input

Text input field. Renders an input element.

PropTypeDefaultDescription
placeholder*char-Placeholder text
value*char-Input value
type*chartextInput type
disabledboolfalseDisabled state
class*char-CSS classes
Live Demo

TextArea

Multi-line text input. Renders a textarea element.

PropTypeDefaultDescription
placeholder*char-Placeholder text
value*char-Textarea value
rowsint4Visible rows
Live Demo

Select

Dropdown select. Renders a select element.

PropTypeDefaultDescription
children*char-Option elements
value*char-Selected value
disabledboolfalseDisabled state
Live Demo

Input (Filled)

Input with filled background variant.

PropTypeDefaultDescription
placeholder*char-Placeholder text
value*char-Input value
Live Demo

Input (Success)

Input with success state styling.

PropTypeDefaultDescription
placeholder*char-Placeholder text
value*char-Input value
Live Demo

Input (Error)

Input with error state styling.

PropTypeDefaultDescription
placeholder*char-Placeholder text
value*char-Input value
Live Demo

Input (Ghost)

Input with ghost (borderless) style.

PropTypeDefaultDescription
placeholder*char-Placeholder text
value*char-Input value
Live Demo

Input (Small)

Small-sized input field.

PropTypeDefaultDescription
placeholder*char-Placeholder text
value*char-Input value
Live Demo

Input (Large)

Large-sized input field.

PropTypeDefaultDescription
placeholder*char-Placeholder text
value*char-Input value
Live Demo

Input (Disabled)

Disabled input field.

PropTypeDefaultDescription
placeholder*char-Placeholder text
value*char-Input value
disabledbooltrueDisabled state
Live Demo

Field

Form field wrapper with label. Renders a labeled input group.

PropTypeDefaultDescription
label*char-Field label
children*char-Input element
error*char-Error message
hint*char-Hint text
Live Demo

Checkbox

Checkbox input. Renders a checkbox with label.

PropTypeDefaultDescription
children*char-Checkbox label
checkedboolfalseChecked state
onClickfunction-Click handler
name*char-Input name
Live Demo

Radio

Radio button. Renders a radio input with label.

PropTypeDefaultDescription
children*char-Radio label
checkedboolfalseChecked state
onClickfunction-Click handler
name*char-Input name
Live Demo

Switch

Toggle switch. Renders a switch component.

PropTypeDefaultDescription
children*char-Switch label
checkedboolfalseChecked state
onClickfunction-Click handler
Live Demo

Progress

Progress bar. Renders a progress indicator.

PropTypeDefaultDescription
value*char0Progress percentage
size*charmdProgress bar size
Live Demo

Accordion

Accordion container. Wraps AccordionItem elements.

PropTypeDefaultDescription
children*char-AccordionItems
multipleboolfalseAllow multiple open
Live Demo
Section 1 null +
Content one
Section 2 null +
Content two

AccordionItem

Single accordion panel with header and body.

PropTypeDefaultDescription
title*char-Panel title
children*char-Panel content
subtitle*char-Panel subtitle
openboolfalseOpen state
Live Demo
Accordion Item Subtitle +
Content here

Tabs

Tabbed interface. Renders a tab bar with panels.

PropTypeDefaultDescription
children*char-Tab and panel elements
Live Demo
Content for Tab 1 — this panel is visible when Tab 1 is active.

Pagination

Page navigation. Renders pagination controls.

PropTypeDefaultDescription
currentint1Current page
totalint1Total pages
onChangefunction-Page change handler
Live Demo

List

List container. Renders a ul/ol element.

PropTypeDefaultDescription
children*char-List items
orderedboolfalseOrdered list
Live Demo
  • Item one
  • Item two
  • Item three

Table

Data table. Renders a table element.

PropTypeDefaultDescription
children*char-Table content
stripedboolfalseStriped rows
hoverableboolfalseHover effect
Live Demo
NameRole
AliceAdmin

Card

Content card. Renders a card container.

PropTypeDefaultDescription
children*char-Card content
title*char-Card title
subtitle*char-Card subtitle
Live Demo
This is the card body content.

StatCard

Statistics card. Renders a card with a label and value.

PropTypeDefaultDescription
label*char-Statistic label
value*char-Statistic value
icon*char-Icon name
trend*char-Trend indicator
Live Demo

Paper

Surface container. Renders a div with elevation.

PropTypeDefaultDescription
children*char-Content
elevationint1Shadow depth
rounded*charmdBorder radius
Live Demo
This is a paper surface with elevation.

AppBar

Top app bar. Renders a header navigation bar.

PropTypeDefaultDescription
children*char-App bar content
title*char-App bar title
Live Demo
Application

Drawer

Side drawer. Renders a slide-out panel.

PropTypeDefaultDescription
children*char-Drawer content
openboolfalseOpen state
side*charleftDrawer side

Menu

Dropdown menu. Renders a menu list.

PropTypeDefaultDescription
children*char-Menu items
Live Demo

Popover

Popover overlay. Renders a positioned popup.

PropTypeDefaultDescription
children*char-Popover content
openboolfalseOpen state
position*charbottomPopover position
Live Demo
Popover content placed below the trigger area.

Dialog

Modal dialog. Renders a centered modal.

PropTypeDefaultDescription
children*char-Dialog content
Live Demo
Dialog Title

This is a dialog with some content.

Snackbar

Toast notification. Renders a snackbar message.

PropTypeDefaultDescription
children*char-Snackbar message
openbooltrueVisible state
variant*charinfoSnackbar variant
Live Demo

Tooltip

Tooltip overlay. Renders a hover tooltip.

PropTypeDefaultDescription
children*char-Trigger element
text*char-Tooltip text
position*chartopTooltip position
Live Demo
This is a tooltip

BottomBar

Bottom navigation bar. Renders a bottom bar.

PropTypeDefaultDescription
children*char-Navigation items
Live Demo

EmptyState

Empty state placeholder. Renders an empty state message.

PropTypeDefaultDescription
title*char-Empty state title
children*char-Description text
icon*char-Icon name
Live Demo
Try adjusting your search criteria.

Alert

Default alert. Renders an alert banner.

PropTypeDefaultDescription
children*char-Alert message
icon*char-Icon name
dismissibleboolfalseShow dismiss button
Live Demo
This is an informational alert.

Alert (Accent)

Alert with accent border styling.

PropTypeDefaultDescription
children*char-Alert message
icon*char-Icon name
dismissibleboolfalseShow dismiss button
Live Demo
This is an accent alert with left border.

Alert (Success)

Success alert with green styling.

PropTypeDefaultDescription
children*char-Alert message
icon*char-Icon name
dismissibleboolfalseShow dismiss button
Live Demo
Operation completed successfully!

Alert (Error)

Error alert with red styling.

PropTypeDefaultDescription
children*char-Alert message
icon*char-Icon name
dismissibleboolfalseShow dismiss button
Live Demo
Something went wrong. Please try again.

Badge

Notification badge. Renders a small badge.

PropTypeDefaultDescription
children*char-Badge content
variant*chardefaultBadge variant
Live Demo
New

Chip

Chip/tag element. Renders a compact chip.

PropTypeDefaultDescription
children*char-Chip label
onClosefunction-Close handler
variant*charfilledChip variant
Live Demo
React
TypeScript

Avatar

User avatar. Renders a circular avatar.

PropTypeDefaultDescription
children*char-Initials or image
src*char-Image source
size*charmdAvatar size
Live Demo
JD

Kbd

Keyboard key. Renders a kbd element.

PropTypeDefaultDescription
children*char-Key label
Live Demo
Ctrl
+
C

Divider

Visual divider. Renders a horizontal rule.

PropTypeDefaultDescription
---No props required
Live Demo

Icon

Icon element. Renders an SVG icon.

PropTypeDefaultDescription
name*char-Icon identifier
size*charmdIcon size
Live Demo