About polar-elements
polar-elements is a set of five monetization and subscription components for Polar.sh integrations. It includes pricing, sponsorship, subscription, revenue, and license-key displays or inputs.
Key features
- 01Pricing tier cards
- 02Sponsor and backer grids
- 03Subscription status badges
- 04Revenue metric cards
- 05License key display and input
Use cases
- 01Build a pricing page
- 02Show OSS sponsors and revenue metrics
- 03Display or manage license keys
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ crafter-station/ elements --skill polar-elementsAfter installing, type/polar-elementsin Claude Code to confirm it loaded.
Details
From the project READMEPolar Elements
5 monetization and subscription components for Polar.sh integration.
Install Pattern
npx shadcn@latest add @elements/polar-{name}
Components
| Component | Install | Description |
|---|---|---|
| Pricing Card | @elements/polar-pricing-card | Pricing tier card |
| Sponsor Grid | @elements/polar-sponsor-grid | Sponsor/backer grid |
| Subscription Badge | @elements/polar-subscription-badge | Active subscription badge |
| Revenue Card | @elements/polar-revenue-card | Revenue metrics card |
| License Key | @elements/polar-license-key | License key display/input |
Quick Patterns
# Pricing page
npx shadcn@latest add @elements/polar-pricing-card @elements/polar-subscription-badge
# OSS sponsorship
npx shadcn@latest add @elements/polar-sponsor-grid @elements/polar-revenue-card
# License management
npx shadcn@latest add @elements/polar-license-key
Setup
Requires Polar.sh account and API key. See https://docs.polar.sh
Discovery
Comments
Markdown supported