--- title: Filter desc: Filter is a group of radio buttons. Choosing one of the options will hide the others and shows a reset button next to the chosen option. source: https://raw.githubusercontent.com/saadeghi/daisyui/refs/heads/master/packages/daisyui/src/components/filter.css layout: components classnames: component: - class: filter desc: For a HTML
or a
element that includes radio buttons for filtering items part: - class: filter-reset desc: An alternative to the reset button if you can't use a HTML form --- ### ~Filter using HTML form, radio buttons and reset button #### A HTML from for filtering items ```html
``` ### ~Filter without HTML form #### Use this if you can't use a HTML form for some reason
```html
``` ### ~Filter using HTML form, checkboxes, and a reset button #### For having multiple choices, use checkboxes. It doesn't need the filter class name.
```html
```