mcpField
P
polar-elements

polar-elements

github.com/crafter-stationDesign & UI52646 installsUpdated 11w ago
Repository

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

  1. 01Pricing tier cards
  2. 02Sponsor and backer grids
  3. 03Subscription status badges
  4. 04Revenue metric cards
  5. 05License key display and input

Use cases

  1. 01Build a pricing page
  2. 02Show OSS sponsors and revenue metrics
  3. 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-elements

After installing, type/polar-elementsin Claude Code to confirm it loaded.

Details

From the project README

Polar Elements

5 monetization and subscription components for Polar.sh integration.

Install Pattern

npx shadcn@latest add @elements/polar-{name}

Components

ComponentInstallDescription
Pricing Card@elements/polar-pricing-cardPricing tier card
Sponsor Grid@elements/polar-sponsor-gridSponsor/backer grid
Subscription Badge@elements/polar-subscription-badgeActive subscription badge
Revenue Card@elements/polar-revenue-cardRevenue metrics card
License Key@elements/polar-license-keyLicense 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

Comments

Markdown supported