Basic information
About flowglad-pricing-ui
Build pricing pages, pricing cards, and plan displays with Flowglad. Use this skill when creating pricing tables, displaying subscription options, or building plan comparison interfaces.
flowglad-pricing-ui is an agent skill listed in the AddMCP.net directory, published by flowglad. Source code is hosted on github.com.
Overview
What is flowglad-pricing-ui?
name: flowglad-pricing-ui description: Build pricing pages, pricing cards, and plan displays with Flowglad. Use this skill when creating pricing tables, displaying subscription options, or building plan comparison interfaces. license: MIT metadata: author: flowglad version: "1.0.0"
<!-- @flowglad/skill sources_reviewed: 2026-02-24T21:27:00Z source_files:
- platform/docs/features/prices.mdx
- platform/docs/features/pricing-models.mdx
- platform/docs/sdks/pricing-models-products.mdx
- platform/docs/sdks/react.mdx
-->
Flowglad Pricing UI
Abstract
Comprehensive guide for building pricing pages, pricing cards, and plan displays with Flowglad. Covers loading states, accessing pricing data through helper functions, formatting prices correctly, highlighting current subscriptions, implementing billing interval toggles, and responsive layout patterns.
Table of Contents
- [Loading States](#1-loading-states) — CRITICAL
- 1.1 [Wait for pricingModel Before Rendering](#11-wait-for-pricingmodel-before-rendering)
- 1.2 [Public Pricing Pages with usePricingModel](#12-public-pricing-pages-with-usepricingmodel)
- [Accessing Pricing Data](#2-accessing-pricing-data) — HIGH
- 2.1 [Use getProduct and getPrice Helpers](#21-use-getproduct-and-getprice-helpers)
- 2.2 [Filter Products for Display](#22-filter-products-for-display)
- [Building Pricing Cards](#3-building-pricing-cards) — MEDIUM
- 3.1 [Format Prices from Cents](#31-format-prices-from-cents)
- 3.2 [Display Billing Interval](#32-display-billing-interval)
- 3.3 [Extract and Display Features](#33-extract-and-display-features)
- [Current Plan Highlighting](#4-current-plan-highlighting) — MEDIUM
- 4.1 [Detect Current Subscription](#41-detect-current-subscription)
- 4.2 [Disable or Style Current Plan](#42-disable-or-style-current-plan)
- [Billing Interval Toggle](#5-billing-interval-toggle) — MEDIUM
- 5.1 [Monthly/Annual Toggle Pattern](#51-monthlyannual-toggle-pattern)
- 5.2 [Filter Prices by Interval](#52-filter-prices-by-interval)
- [Responsive Layout](#6-responsive-layout) — LOW
- 6.1 [Grid Layout for Pricing Cards](#61-grid-layout-for-pricing-cards)
1. Loading States
{product.name}
{product.description}
{defaultPrice && (${(defaultPrice.unitPrice / 100).toFixed(2)} {defaultPrice.intervalUnit && `/${defaultPrice.intervalUnit}`}
)} ) })}2. Accessing Pricing Data
-
{product.features.map((feature) => (
- {feature.name} ))}
3. Building Pricing Cards
-
{product.features.map((feature) => (
// BUG: feature.name might be undefined
- {feature.name} ))}
-
{displayFeatures.map((feature) => (
- {feature.name} ))}
4. Current Plan Highlighting
{plan.name}
{plan.displayPrice}
{isCurrentPlan && Current Plan}{plan.name}
Get Started{plan.name}
{plan.displayPrice}
{isCurrentPlan ? 'Current Plan' : isLoading ? 'Loading...' : 'Get Started'}
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In