Skip to main content

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.
This widget is especially useful for distinguishing between purchased and promotional credits, tracking upcoming expirations, and auditing adjustments over time.

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

Table classes

Table cell content classes

Snippet

Props

currencyId
string
Currency or credit type identifier used to filter credit grants.
pageSize
number
Number of credit grant records to load per page.
paging
object
Cursor-based paging configuration for navigating through large result sets.
decimalPlaces
number
Number of decimal places to display for credit balances.
localization
object
Text overrides for customizing table headers, labels, and states.

Texts

The default widget texts can currently be overridden using code:

Additional resources

Get credit grants

ReactReact

Vue.jsVue.js

Next.jsNext.js

Webflow, Wordpress, HTMLWebflow, Wordpress, HTML