Stock Levels
Overview
Two headline numbers — how many products and how many units in stock — with a bar chart of stock by product.
Stock KPIs and a stock chart.
When to use
- A dashboard tile on the owner's home page.
- See which products hold most of your stock.
- A quick check before placing a supplier order.
Quick start
- Drag Stock Levels onto a dashboard page.
- Make sure products have a Stock value.
- Preview: the KPIs and the Stock by product chart fill in.
Recommended data
Reads the Products entity (created or reused): the KPIs count records and sum Stock; the chart shows Stock per Name.
- Products — fields: Name, SKU, Price, Stock, Reorder Level, Image, Description.
Layout rules
- Can contain any component.
- Can be placed in any container (page, section, card, row, column, grid…).
Properties
Kept with the blueprint; the KPIs and chart carry their own labels.
Default: Stock Levels
Entity the figures come from. Defaults to Products.
Another entity needs a numeric Stock field and a Name field, or rebuild and remap the KPI and chart fields.
Data binding
Two KPI tiles on Products — Count of products and Sum of Stock — and a Bar Chart with X = Name and Y = Sum of Stock.
Events
This block is built from ordinary components. Select one of them (in Layers) to change what happens on these events:
- On click
- None on the block; the inner KPIs and chart support onClick.
Responsive behavior
Uses 12 of 12 columns by default. In the Responsive tab you can change visibility, span, dimensions, padding, margin, font, order, alignment, direction separately for tablet and mobile.
Permissions
Use the Permissions tab to show this component only to some roles. Hiding a component is a convenience, not security — the server always checks who may read or change data.
Common patterns
- Add Low Stock below it.
- Add a third KPI: Count where Stock ≤ Reorder Level is not possible directly; use a static threshold filter instead.
Limitations
- With many products the bar chart becomes crowded; filter it to a category.
Troubleshooting
Why: Stock values are empty.
Fix: Fill in Stock on your products.