
This block displays the inventory level of a product and provides visual feedback when the inventory falls below a specified inventory_threshold. It is designed to alert users when stock is low, using customizable settings for appearance and behavior.
| Setting | Description | Options |
|---|---|---|
| Show advanced settings | Reveals visibility settings | Checkbox (default: false) |
| Setting | Description | Options |
|---|---|---|
| Product | Select the product to display inventory for | Product picker |
| Inventory threshold | Minimum stock level before showing inventory alert | Number input (default: 5) |
| Setting | Description | Options |
|---|---|---|
| Enable horizontal padding | Adds horizontal padding around the inventory display | Checkbox (default: false) |
| Enable top padding | Adds top padding around the inventory display | Checkbox (default: false) |
| Enable bottom padding | Adds bottom padding around the inventory display | Checkbox (default: false) |
| Setting | Description | Options |
|---|---|---|
| Text color | Controls the text color | • Default (default) |
| Setting | Description | Options |
|---|---|---|
| Font family | Controls the font family used for the inventory text | • Standard |
| Font size | Controls the font size of the inventory text | • Smaller |
| Setting | Description | Options |
|---|---|---|
| Horizontal alignment | Controls horizontal alignment | • Left (default) |
| Setting | Description | Options |
|---|---|---|
| Visibility | Controls when the block is visible | • All (default) Visible when Show advanced settings is on |
Start by connecting your source repository and choosing the pages you want to publish.
You can then browse your documentation and ask questions about the content your team has shared.