Overview
The Credit Grants Table widget provides visibility into all credit grants associated with a customer. It shows the origin of credits, their usage, and their current state in a structured table format.Layout
The Credit grants widget displays a structured list of credit grants associated with a customer, providing a clear overview of how credits were issued, their current status, remaining balances, and expiration dates. The layout includes the following elements:- Received — timestamp when the grant was issued.
- Grant Type — type of credit (e.g., promotional, paid, subscription).
- State — current status of the grant (Available, Scheduled, Expired, Voided).
- Balance — remaining credits versus the original amount.
- Expires — expiration date, if applicable.

Customization
No-code widget designer
The Stigg app offers a no-code widget designer, which allows you to control the widget colors, typography and layout.Custom CSS
For more advanced customization, custom CSS can be applied using the widget designer of the Stigg app. Alternatively, custom CSS can also be applied using code. Below you can find a list of the supported CSS classes:Main container classes
| Class name | Description |
|---|---|
stigg-credit-grants-container | Main wrapper container for the entire CreditGrants widget |
stigg-credit-grants-card | Card container that wraps the table content |
Table classes
| Class name | Description |
|---|---|
stigg-credit-grants-table | Main table component |
stigg-credit-grants-table-error | Error state styling when the table fails to load |
stigg-credit-grants-table-empty | Empty state styling when there are no credit grants |
Table cell content classes
| Class name | Description |
|---|---|
stigg-credit-grants-effective-date | Received At date column content |
stigg-credit-grants-grant-type | Grant Type column content |
stigg-credit-grants-status-chip | Status chip component in the Status column |
stigg-credit-grants-balance | Balance column content |
stigg-credit-grants-expiry-date | Expiry Date column content |
Snippet
Props
currencyId(optional) — Currency or credit type identifier used to filter credit grantspageSize(optional) — Number of credit grant records to load per pagepaging(optional) — Cursor-based paging configuration for navigating through large result setsdecimalPlaces(optional) — Number of decimal places to display for credit balanceslocalization(optional) — Text overrides for customizing table headers, labels, and states
