Skip to content

Button

Buttons allow the user to take actions or make choices.

Link to DaisyUI documentation

Properties

Property Required Type Description
color No str (one of: primary, secondary, accent, neutral, success, warning, info, error)
active No bool
outline No bool
size No str (one of: xs, sm, md, lg, xl)
wide No bool
block No bool
shape No str (one of: square, circle)
join No bool
as No bool
Any additional properties No any

Children

Accepts any HTML content

Examples

<{Button}>

</{Button}>