Skip to main content
The Stock Badge component displays a colored badge indicating stock levels. It automatically changes color based on the stock quantity threshold.

Preview

525100

Usage

Props

stock
int
required
The stock quantity to display. Values below 10 show as red (low stock), 10 or above show as green.

Behavior

Examples

Low Stock

3

Normal Stock

50

In a Table

Blade Component Source