
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
pricing-table-react
Advanced tools
An easy to use pricing table React component.
Npm installation:
npm install pricing-table-react
Yarn Installation:
yarn add pricing-table-react
Import Plan to your project
import { Plan } from "pricing-table-react";
Plan takes two arguments: Plans and Currency.
Currency is type of string and Plans is array of type PlanProps.
You can import PlanProps like below:
import { PlanProps } from "pricing-table-react";
import React from "react";
import { Plan, PlanProps } from "pricing-table-react";
const plans: PlanProps[] = [
{
href: "/Lite",
price: "9",
title: "Lite Plan",
advantages: [
{
text: "Clean and ease to use app",
},
{
text: "Simple widget generator",
},
],
duration: "month",
guarantee: "14 days money back guarantee",
titleDescription: "Individual and small teams",
},
...
];
function App() {
return <Plan currency="$" Plans={plans} />;
}
export default App;
| Parameter | Type | Description |
|---|---|---|
Currency | string | Required. Currency sign |
Plans | PlanProps[] | Required. All plans your website plans |
BackColor | string | Background color of header and button |
Color | string | Text color of header and button |
| Parameter | Type | Required |
|---|---|---|
title | string | true |
titleDescription | string | false |
duration | string | false |
highlightText | string | false |
price | string | true |
guarantee | string | false |
href | string | true |
advantages | PlanAdvantage[] | true |
| Parameter | Type | Required |
|---|---|---|
text | string | true |
FAQs
A simple pricing plan for react
We found that pricing-table-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.