Polar 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
Browse https://tryelements.dev/docs/polar