The Stock Badge component displays a colored badge indicating stock levels. It automatically changes color based on the stock quantity threshold.
Preview
Usage
Props
The stock quantity to display. Values below 10 show as red (low stock), 10 or above show as green.
Behavior
Examples
Low Stock
Normal Stock
In a Table
Blade Component Source