Badge

Displays a badge or a component that looks like a badge.

Badge
<x-badge>Badge</x-badge>

Installation

php artisan vendor:publish --tag=badge --force

Usage

<x-badge variant="outline">Badge</x-badge>

Examples

Default

Badge
<x-badge>Badge</x-badge>

Secondary

Secondary
<x-badge variant="secondary">Secondary</x-badge>

Outline

Outline
<x-badge variant="outline">Outline</x-badge>

Destructive

Destructive
<x-badge variant="destructive">Destructive</x-badge>