Skip to main content

Introduction

Icon entries render icons that represent the state of your data. They are particularly useful for displaying status indicators, boolean values, or any state that can be visualized with icons.

Available Methods

Icon Configuration

string|Htmlable|Closure
Set the icon to display based on the entry’s state.
string|array|Closure
Set the color of the icon.
IconSize|string|Closure
Set the size of the icon.

Boolean Mode

bool|Closure
Enable boolean mode to display check/cross icons for true/false values.
string|Htmlable|Closure
Set the icon for true values in boolean mode.
string|Htmlable|Closure
Set the icon for false values in boolean mode.
string|array|Closure
Set the color for true values in boolean mode.
string|array|Closure
Set the color for false values in boolean mode.
string|Htmlable|Closure
Set both icon and color for true values.
string|Htmlable|Closure
Set both icon and color for false values.

Multiple Icons

bool|Closure
Display multiple icons with line breaks when the state is an array.

Examples

Status Indicator

Boolean Flag

Feature Badges

Verification Status

Priority Levels