Introduction
Icon columns render an icon representing the column’s state:Customizing the color
You can set the icon color:string | array | Closure
The icon color or a closure that returns a color.
Customizing the size
You can customize the icon size:ExtraSmall, Small, Medium, Large, ExtraLarge, TwoExtraLarge.
IconSize | string | Closure
default:"IconSize::Large"
The icon size.
Boolean columns
Icon columns can display boolean values with check/X icons:bool | Closure
default:"true"
Whether to treat as a boolean column.
Customizing boolean icons
You can customize the icons for true and false states:string | BackedEnum | Htmlable | Closure | false
The icon to display. Pass
false to hide the icon.Customizing boolean colors
Customize the colors for true and false states:string | array | Closure
default:"'success' for true, 'danger' for false"
The icon color.
Wrapping icons
Allow multiple icons to wrap to multiple lines:Multiple icons
When the column state is an array, you can display multiple icons:bool | Closure
default:"true"
Whether to display icons on separate lines.