BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/navdeep-singh/pricing-section-one

Pricing Section One

navdeep-singh/pricing-section-one
FreeBlock

A responsive three-tier pricing section with a monthly and yearly billing switcher.

Install it

npx shadcn@latest add https://ui.navdeepsingh.dev/r/pricing-section-one.json

Source

components/blocks/pricing/pricing-section-one.tsxui.navdeepsingh.dev/r/pricing-section-one.json · first 6 KB
1'use client'
2
3import type { ComponentPropsWithoutRef } from 'react'
4import { useState } from 'react'
5import { Check } from 'lucide-react'
6
7import { AnimatedNumber } from '@/components/ui/components/animated-numbers'
8import { Badge } from '@/components/ui/badge'
9import { Button } from '@/components/ui/button'
10import {
11 Card,
12 CardContent,
13 CardDescription,
14 CardFooter,
15 CardHeader,
16 CardTitle,
17} from '@/components/ui/card'
18import { cn } from '@/lib/utils'
19
20export type PricingInterval = 'monthly' | 'yearly'
21
22export type PricingValue = number | string
23
24// Defines the content and configuration for each pricing plan.
25export type PricingPlan = {
26 id: string
27 name: string
28 description: string
29 monthlyPrice: PricingValue
30 yearlyPrice: PricingValue
31 features: readonly string[]
32 ctaLabel: string
33 ctaHref: string
34 prefix?: string
35 priceSuffix?: string
36 featured?: boolean
37 badge?: string
38}
39
40// Controls the section heading content.
41export type PricingSectionCopy = {
42 eyebrow?: string
43 heading: string
44 description: string
45}
46
47// Controls the billing toggle labels.
48export type PricingBillingCopy = {
49 ariaLabel: string
50 monthlyLabel: string
51 yearlyLabel: string
52 yearlyNote: string
53}
54
55export type PricingSectionOneProps = ComponentPropsWithoutRef<'section'> & {
56 plans?: readonly PricingPlan[]
57 defaultInterval?: PricingInterval
58 copy?: Partial<PricingSectionCopy>
59 billing?: Partial<PricingBillingCopy>
60}
61
62// Default section content.
63const defaultCopy: PricingSectionCopy = {
64 heading: 'Simple pricing for every stage',
65 description:
66 'Start for free, upgrade when you need more, or contact us for a plan tailored to your organization.',
67}
68
69// Default billing toggle content.
70const defaultBilling: PricingBillingCopy = {
71 ariaLabel: 'Choose billing interval',
72 monthlyLabel: 'Monthly',
73 yearlyLabel: 'Yearly',
74 yearlyNote: 'Save 20%',
75}
76
77// Default pricing plans used when no custom plans are provided.
78const defaultPlans: readonly PricingPlan[] = [
79 {
80 id: 'free',
81 name: 'Free',
82 description: 'For individuals getting started with the essential tools.',
83 prefix: '$',
84 monthlyPrice: 0,
85 yearlyPrice: 0,
86 priceSuffix: '/ month',
87 features: ['1 workspace', 'Up to 3 projects', 'Basic analytics', 'Community support'],
88 ctaLabel: 'Start free',
89 ctaHref: '#get-started',
90 },
91 {
92 id: 'pro',
93 name: 'Pro',
94 description: 'For professionals and growing teams that need more power and flexibility.',
95 prefix: '$',
96// … truncated

What it pulls in

npm packages

  • lucide-react

Other registry items

  • badge
  • button
  • card
  • tabs

Files it writes

  • components/blocks/pricing/pricing-section-one.tsx

Facts

Registry
navdeep-singh
Type
registry:block
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

ui.navdeepsingh.dev Navdeepannu/Portfolio on GitHub Raw registry item This item as JSON

More from navdeep-singh

All 64 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Blog Section Oneblog-section-onenavdeep-singhBlocksFree1 dep
Contact Section Fourcontact-section-fournavdeep-singhBlocksFreeno deps
Contact Section Onecontact-section-onenavdeep-singhBlocksFree1 dep
Contact Section Threecontact-section-threenavdeep-singhBlocksFreeno deps
Contact Section Twocontact-section-twonavdeep-singhBlocksFreeno deps
Content Section Fourcontent-section-fournavdeep-singhBlocksFree1 dep
Content Section Onecontent-section-onenavdeep-singhBlocksFree1 dep
Content Section Threecontent-section-threenavdeep-singhBlocksFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex