# Pricing Table Five
URL: /docs/components/pricing-table/pricing-table-five
The Pricing Table Five component provides a horizontal layout design for pricing displays. Features a 2-column layout with regular plans on the left and a contact card on the right, perfect for showcasing enterprise options.
***
title: Pricing Table Five
description: The Pricing Table Five component provides a horizontal layout design for pricing displays. Features a 2-column layout with regular plans on the left and a contact card on the right, perfect for showcasing enterprise options.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
## Classic Theme
```tsx title="src/components/pricing-table-five-demo.tsx"
"use client";
import { PricingTableFive } from "@/components/billingsdk/pricing-table-five";
import { plans } from "@/lib/billingsdk-config";
export function PricingTableFiveDemo() {
return (
console.log("Selected plan:", planId)}
title="Budget-friendly pricing alternatives"
description="Get started free or upgrade to share your impact for all completed tasks with multiple people"
/>
);
}
```
## Minimal Theme
```tsx title="src/components/pricing-table-five-minimal-demo.tsx"
"use client";
import { PricingTableFive } from "@/components/billingsdk/pricing-table-five";
import { plans } from "@/lib/billingsdk-config";
export function PricingTableFiveMinimalDemo() {
return (
console.log("Selected plan:", planId)}
title="Budget-friendly pricing alternatives"
description="Get started free or upgrade to share your impact for all completed tasks with multiple people"
/>
);
}
```
## Installation
```bash
npx shadcn@latest add @billingsdk/pricing-table-five
```
```bash
pnpm dlx shadcn@latest add @billingsdk/pricing-table-five
```
```bash
yarn dlx shadcn@latest add @billingsdk/pricing-table-five
```
```bash
bunx shadcn@latest add @billingsdk/pricing-table-five
```
```bash
npx @billingsdk/cli add pricing-table-five
```
```bash
pnpm dlx @billingsdk/cli add pricing-table-five
```
```bash
yarn dlx @billingsdk/cli add pricing-table-five
```
```bash
bunx @billingsdk/cli add pricing-table-five
```
## Usage
```tsx
import { PricingTableFive } from "@/components/billingsdk/pricing-table-five";
import { plans } from "@/lib/billingsdk-config";
```
```tsx
console.log('Selected plan:', planId)}
size="medium" // small, medium, large
theme="classic" // minimal or classic
/>
```
## 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 |
| `size` | `"small" \| "medium" \| "large"` | Size variant of the pricing table |
| `theme` | `"minimal" \| "classic"` | Theme variant of the pricing table |
## Features
* **Dual Theme Support**: Choose between minimal and classic themes
* **Horizontal Layout**: Regular plans displayed horizontally with features in a grid
* **Contact Card**: Dedicated section for enterprise/custom plans
* **Responsive Layout**: Adapts beautifully from desktop to mobile
* **Billing Toggle**: Monthly/yearly billing toggle with discount display
* **Highlight Support**: Special styling for featured/popular plans with badges
* **Customizable Sizing**: Small, medium, and large size variants
* **Smooth Animations**: Animated price transitions and feature list reveals
## 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-five-demo.tsx"
"use client";
import { PricingTableFive } from "@/components/billingsdk/pricing-table-five";
import { plans } from "@/lib/billingsdk-config";
export function PricingTableFiveDemo() {
return (
console.log("Selected plan:", planId)}
title="Budget-friendly pricing alternatives"
description="Get started free or upgrade to share your impact for all completed tasks with multiple people"
/>
);
}
```