BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/componentry/pricing-02

Pricing 02

componentry/pricing-02
FreeBlock

A compact pricing table with separated plan summaries, detailed feature lists, and an animated billing-cycle switch.

Live preview

live · rendered by the registry
Rendered by componentry on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://componentry.dev/r/pricing-02.json

Source

registry/blocks/pricing-02/pricing-02.tsxcomponentry.dev/r/pricing-02.json · first 6 KB
1"use client";
2
3import {
4 type CSSProperties,
5 useEffect,
6 useLayoutEffect,
7 useRef,
8 useState,
9} from "react";
10import { ArrowRight, Check } from "lucide-react";
11
12const plans = [
13 {
14 name: "Starter",
15 monthlyPrice: 0,
16 yearlyPrice: 0,
17 description: "For personal projects and ideas taking their first shape.",
18 features: [
19 "3 active projects",
20 "Unlimited collaborators",
21 "Core analytics",
22 "Community support",
23 "7-day version history",
24 "Standard integrations",
25 ],
26 includesLabel: "Starter includes",
27 cta: "Start for free",
28 },
29 {
30 name: "Studio",
31 monthlyPrice: 32,
32 yearlyPrice: 307,
33 description: "For small teams building and shipping every week.",
34 features: [
35 "Unlimited projects",
36 "Custom domains",
37 "Advanced analytics",
38 "Priority support",
39 "Unlimited version history",
40 "Team permissions",
41 ],
42 includesLabel: "Everything in Starter, plus",
43 cta: "Choose Studio",
44 featured: true,
45 },
46 {
47 name: "Scale",
48 monthlyPrice: 96,
49 yearlyPrice: 922,
50 description: "For growing organizations that need control and support.",
51 features: [
52 "Everything in Studio",
53 "Single sign-on",
54 "Audit logs",
55 "Dedicated onboarding",
56 "Custom data retention",
57 "Enterprise integrations",
58 ],
59 includesLabel: "Everything in Studio, plus",
60 cta: "Choose Scale",
61 },
62];
63
64type BillingCycle = "monthly" | "yearly";
65
66function positionPill(
67 pill: HTMLSpanElement,
68 tab: HTMLButtonElement,
69 animate: boolean,
70) {
71 if (!animate) {
72 const previousTransition = pill.style.transition;
73 pill.style.transition = "none";
74 pill.style.transform = `translateX(${tab.offsetLeft}px)`;
75 pill.style.width = `${tab.offsetWidth}px`;
76 void pill.offsetWidth;
77 pill.style.transition = previousTransition;
78 return;
79 }
80
81 pill.style.transform = `translateX(${tab.offsetLeft}px)`;
82 pill.style.width = `${tab.offsetWidth}px`;
83}
84
85export function Pricing02() {
86 const [billingCycle, setBillingCycle] = useState<BillingCycle>("monthly");
87 const pillRef = useRef<HTMLSpanElement>(null);
88 const monthlyTabRef = useRef<HTMLButtonElement>(null);
89 const yearlyTabRef = useRef<HTMLButtonElement>(null);
90 const priceRefs = useRef<Array<HTMLSpanElement | null>>([]);
91 const hasMounted = useRef(false);
92
93 useLayoutEffect(() => {
94 const pill = pillRef.current;
95 const activeTab = monthlyTabRef.current;
96// … truncated

Facts

Registry
componentry
Type
registry:block
Access
Free
Files written
0
Licence
MIT
First indexed
2026-08-02
Last confirmed
today

Go to the source

Docs on componentry componentry.dev harshjdhv/componentry on GitHub Raw registry item This item as JSON

More from componentry

All 59 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Gradient Hero 01gradient-hero-01componentryBlocksFreeno deps
Pricing 01pricing-01componentryBlocksFreeno deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex