--- title: List desc: List is a vertical layout to display information in rows. source: https://raw.githubusercontent.com/saadeghi/daisyui/refs/heads/master/packages/daisyui/src/components/list.css layout: components classnames: component: - class: list desc: A vertical flex layout to include list rows - class: list-row desc: The item inside list. A horizontal grid layout to include data modifier: - class: list-col-wrap desc: For one of direct children of list-row to push it to the next line - class: list-col-grow desc: For one of direct children of list-row to make it fill the remaining space --- > :INFO: > > By default, the second child of the `list-row` will fill the remaining space. You can use `list-col-grow` on another child to make it fill the remaining space instead. ### ~List (second column grows - default)
```html ``` ### ~List (third column grows)
```html ``` ### ~List (third column wraps to next row)
```html ```