If you need to place a badge on the page, use this component.
The following badges are available:
use MoonShine\Support\Enums\Color; Badge::make('Primary', Color::PRIMARY);Badge::make('Secondary', Color::SECONDARY);Badge::make('Success', Color::SUCCESS);Badge::make('Info', Color::INFO);Badge::make('Warning', Color::WARNING);Badge::make('Error', Color::ERROR);// or stringsBadge::make('Purple','purple');Badge::make('Pink','pink');Badge::make('Blue','blue');Badge::make('Green','green');Badge::make('Yellow','yellow');Badge::make('Red', 'red');Badge::make('Gray', 'gray');
<x-moonshine::badge color="primary">Primary</x-moonshine::badge><x-moonshine::badge color="secondary">Secondary</x-moonshine::badge><x-moonshine::badge color="success">Success</x-moonshine::badge><x-moonshine::badge color="info">Info</x-moonshine::badge><x-moonshine::badge color="warning">Warning</x-moonshine::badge><x-moonshine::badge color="error">Error</x-moonshine::badge><x-moonshine::badge color="purple">Purple</x-moonshine::badge><x-moonshine::badge color="pink">Pink</x-moonshine::badge><x-moonshine::badge color="blue">Blue</x-moonshine::badge><x-moonshine::badge color="green">Green</x-moonshine::badge><x-moonshine::badge color="yellow">Yellow</x-moonshine::badge><x-moonshine::badge color="red">Red</x-moonshine::badge><x-moonshine::badge color="gray">Gray</x-moonshine::badge>