Notebook

For your own notes, on your own devices.

$0 per month, billed monthly
  • Unlimited notes
  • Two devices in sync
  • Markdown export

Atelier

For teams that share one memory.

$29 per month, billed monthly
  • Shared workspaces
  • Roles and guest links
  • SSO and audit log

Code

<!-- pearl-pricing.free.js: download it from the Install section below and host it with your site -->
<script src="/pearl-pricing.free.js" defer></script>

<pearl-pricing period="monthly" currency="$" theme="light">
  <pearl-plan name="Notebook" monthly="0" yearly="0" cta="Start writing">
    <p>For your own notes, on your own devices.</p>
    <li>Unlimited notes</li>
    <li>Two devices in sync</li>
    <li>Markdown export</li>
  </pearl-plan>
  <pearl-plan name="Studio" monthly="12" yearly="9" featured cta="Try Studio free">
    <p>For people who think in linked notes.</p>
    <li>Everything in Notebook</li>
    <li>Ask your notes, with sources</li>
    <li>Unlimited devices</li>
    <li>Version history, 90 days</li>
  </pearl-plan>
  <pearl-plan name="Atelier" monthly="29" yearly="24" cta="Talk to us">
    <p>For teams that share one memory.</p>
    <li>Shared workspaces</li>
    <li>Roles and guest links</li>
    <li>SSO and audit log</li>
  </pearl-plan>
</pearl-pricing>

<script>
  const pricing = document.querySelector('pearl-pricing');
  pricing.addEventListener('select', (e) => {
    // e.detail: { plan: 'studio', period: 'yearly', price: 9 }
    location.href = '/checkout?plan=' + e.detail.plan + '&period=' + e.detail.period;
  });
</script>

In context

One plan, as an upgrade card
Sunset, in euros Pro

Install · Free Web Component

One file, no dependencies. Aurora preset, every other option included. Host it yourself so your visitors never load anything from our servers.

1. Install with one command — or download the file
shadcn CLI · React
npx shadcn@latest add https://www.ui-design.co/r/pearl-pricing.json
2. Load it and use the element
HTML
<!-- pearl-pricing.free.js: download it from the Install section below and host it with your site -->
<script src="/pearl-pricing.free.js" defer></script>

<pearl-pricing period="monthly" currency="$" theme="light">
  <pearl-plan name="Notebook" monthly="0" yearly="0" cta="Start writing">
    <p>For your own notes, on your own devices.</p>
    <li>Unlimited notes</li>
    <li>Two devices in sync</li>
    <li>Markdown export</li>
  </pearl-plan>
  <pearl-plan name="Studio" monthly="12" yearly="9" featured cta="Try Studio free">
    <p>For people who think in linked notes.</p>
    <li>Everything in Notebook</li>
    <li>Ask your notes, with sources</li>
    <li>Unlimited devices</li>
    <li>Version history, 90 days</li>
  </pearl-plan>
  <pearl-plan name="Atelier" monthly="29" yearly="24" cta="Talk to us">
    <p>For teams that share one memory.</p>
    <li>Shared workspaces</li>
    <li>Roles and guest links</li>
    <li>SSO and audit log</li>
  </pearl-plan>
</pearl-pricing>

<script>
  const pricing = document.querySelector('pearl-pricing');
  pricing.addEventListener('select', (e) => {
    // e.detail: { plan: 'studio', period: 'yearly', price: 9 }
    location.href = '/checkout?plan=' + e.detail.plan + '&period=' + e.detail.period;
  });
</script>
3. React + TypeScript (optional)

The shadcn command adds a typed React wrapper for you. Using the file directly? Custom elements work in React as-is; for type checking add:

TypeScript
// pearl-pricing.d.ts
declare namespace JSX {
  interface IntrinsicElements {
    'pearl-pricing': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
      period?: 'monthly' | 'yearly';
      currency?: string;
      compact?: boolean | '';
      size?: number | string;
      labels?: string;
      theme?: 'light' | 'dark';
      sound?: boolean | '';
    };
  }
}

Pro · React + TypeScript Pro

One payment of $4.99, yours forever. Use it in unlimited personal and commercial projects; no resale.

  • React component with TypeScript types and the full source — plans are a plain array, the period is controlled or uncontrolled
  • Sunset, Mint and Mono tints, plus custom tints from Brand Fit
  • The vanilla Web Component with every tint, a demo page, README and license

Attributes & props

NameTypeDefaultDescription
<pearl-plan> children—One child per plan (one to three). Attributes: name, monthly, yearly (the price per month when billed yearly), featured, cta (button label), href (makes the button a link), badge, blurb. Inside it, each <li> is a feature and a <p> is the line under the name.
period 'monthly' | 'yearly''monthly'The billing period shown. Set it and the element keeps the attribute in step with the switch.
currency string'$'A symbol ("€", "£") or an ISO code ("EUR") — a code is turned into its symbol.
compact booleanoffHides the feature lists: a small upgrade card instead of a full section.
size number (px)autoBase text size. By default it follows the section width, 13px to 16px.
labels JSON—Replace the built-in words for another language: monthly, yearly, unit, billedMonthly, billedYearly, save ("save {amount}"), free, popular, period.
theme 'light' | 'dark''light'White porcelain or dark.
sound booleanoffA porcelain tap when the period changes or a plan is chosen. Also on for everything inside an element with data-ui-sound="on".
tint Pro'aurora' | 'sunset' | 'mint' | 'mono' | object'aurora'Colours of the rim, the glow under the featured plan, the saving and the check marks, or a custom tint. Free build ships Aurora only.

The section fills its container up to 1100px and lays itself out with container queries, so it works in a sidebar as well as full width: three plans go to one column under 620px, two plans under 460px. It fires period with detail.period and select with detail.plan (the plan id — its plan-id attribute, or its name in lower case), detail.period and detail.price. The switch is a radio group (arrow keys work), every price is also written out for screen readers, and the buttons are real buttons — or links when the plan has an href. The saving is worked out from your two prices. The rim pauses off screen; reduced motion swaps the prices without rolling.

More components