Oddmash UI
All components

Button

Trigger an action or submit a form.

Usage

Use one primary action per section. Secondary actions sit alongside it; ghost buttons keep repeated utility actions light.

Accessibility

Use a clear action label. Native disabled blocks interaction. The default type is button; opt into type="submit" for forms. Icon-only buttons need an aria-label.

PropertyTypeDefault
variantprimary | secondary | ghostprimary
sizesm | mdmd
disabledbooleanfalse
typebutton | submit | resetbutton

Interactive documentation