--- title: Button desc: Buttons allow the user to take actions or make choices. source: https://raw.githubusercontent.com/saadeghi/daisyui/refs/heads/master/packages/daisyui/src/components/button.css layout: components showComponentPageTabs: true classnames: component: - class: 'btn' desc: Button color: - class: btn-neutral desc: neutral color - class: btn-primary desc: primary color - class: btn-secondary desc: secondary color - class: btn-accent desc: accent color - class: btn-info desc: info color - class: btn-success desc: success color - class: btn-warning desc: warning color - class: btn-error desc: error color style: - class: btn-outline desc: outline style - class: btn-dash desc: dash style - class: btn-soft desc: soft style - class: btn-ghost desc: ghost style - class: btn-link desc: looks like a link behavior: - class: btn-active desc: looks active - class: btn-disabled desc: looks disabled size: - class: btn-xs desc: Extra small size - class: btn-sm desc: Small size - class: btn-md desc: Medium size (default) - class: btn-lg desc: Large size - class: btn-xl desc: Extra large size modifier: - class: btn-wide desc: more horizontal padding - class: btn-block desc: Full width - class: btn-square desc: 1:1 ratio - class: btn-circle desc: 1:1 ratio with rounded corners --- ### ~Button ```html ``` ### ~Button sizes ```html ``` ### ~Responsive button #### This button will have different sizes on different browser viewpoints ```html ``` ### ~Buttons colors ```html ``` ### ~Soft buttons ```html ``` ### ~Outline buttons ```html ``` ### ~Dash buttons ```html ``` ### ~neutral button with outline or dash style #### These buttons use dark text, only use them on light backgrounds