# Pricing Table Three
URL: /docs/components/pricing-table/pricing-table-three
The Pricing Table Three component provides a third design option for pricing displays. You can use this component to display your pricing plans in a third way.
***
title: Pricing Table Three
description: The Pricing Table Three component provides a third design option for pricing displays. You can use this component to display your pricing plans in a third way.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
```tsx title="src/components/pricing-table-three-demo.tsx"
"use client";
import { PricingTableThree } from "@/components/billingsdk/pricing-table-three";
import { plans } from "@/lib/billingsdk-config";
export function PricingTableThreeDemo() {
return (
console.log("Selected plan:", planId)}
className={"mx-auto w-full max-w-4xl"}
variant="small"
showFooter={true}
footerText="Pre-negotiated discounts are available to early-stage startups and nonprofits."
footerButtonText="Apply now"
onFooterButtonClick={() => console.log("Footer button clicked")}
/>
);
}
```
## Installation
```bash
npx shadcn@latest add @billingsdk/pricing-table-three
```
```bash
pnpm dlx shadcn@latest add @billingsdk/pricing-table-three
```
```bash
yarn dlx shadcn@latest add @billingsdk/pricing-table-three
```
```bash
bunx shadcn@latest add @billingsdk/pricing-table-three
```
```bash
npx @billingsdk/cli add pricing-table-three
```
```bash
pnpm dlx @billingsdk/cli add pricing-table-three
```
```bash
yarn dlx @billingsdk/cli add pricing-table-three
```
```bash
bunx @billingsdk/cli add pricing-table-three
```
## Usage
```tsx
import { PricingTableThree } from "@/components/billingsdk/pricing-table-three";
import { plans } from "@/lib/billingsdk-config";
console.log('Selected plan:', planId)}
/>
```
## Props
| Prop | Type | Description |
| -------------- | --------------------------------- | ------------------------------------------------------------------------------ |
| `plans` | `Plan[]` | Array of pricing plans (see [Plan interface](/docs/interfaces#plan-interface)) |
| `title` | `string` | Main title for the pricing section |
| `description` | `string` | Subtitle description |
| `onPlanSelect` | `(planId: string) => void` | Callback when a plan is selected |
| `variant` | `"small" \| "medium" \| "large"` | Size variant of the pricing table |
## Theming
The pricing table component is styled using the `shadcn/ui` library. You can customize the colors and fonts by overriding the CSS variables. You can also get the theme from the [Theming](/docs/theming) page.
## Example
```tsx title="src/components/pricing-table-three-demo.tsx"
"use client";
import { PricingTableThree } from "@/components/billingsdk/pricing-table-three";
import { plans } from "@/lib/billingsdk-config";
export function PricingTableThreeDemo() {
return (
console.log("Selected plan:", planId)}
className={"mx-auto w-full max-w-4xl"}
variant="small"
showFooter={true}
footerText="Pre-negotiated discounts are available to early-stage startups and nonprofits."
footerButtonText="Apply now"
onFooterButtonClick={() => console.log("Footer button clicked")}
/>
);
}
```