Home Badge

The Badge component is used to display small pieces of information, such as status indicators, labels, or notification counts. It's useful for drawing attention to specific UI elements.

Installation

npm
npx phpxui add Badge

Usage

use Lib\PHPXUI\Badge
<Badge variant="default | outline | secondary | destructive">Badge</Badge>