
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@aiherrera/react-pricing-table
Advanced tools
A simple and easy to use react pricing table
Requires React 16 or later
npm i --save @aiherrera/react-pricing-table
# or
yarn add @aiherrera/react-pricing-table
You can check all the configurations in this Ai-CoderLab
{ PricingTable }
// ES5 syntax
const PricingTable = require('@aiherrera/react-pricing-table')
// ES6 syntax
import PricingTable from '@aiherrera/react-pricing-table'
import React from 'react'
import { IoCheckmark } from 'react-icons/io5'
import PricingTable from '@aiherrera/react-pricing-table'
const App = () => {
const plans = [
{
id: 'basic',
circle: 'B',
title: 'Basic',
subtitle: 'Best for personal websites',
price: 'MX$8,000',
discount: 'MX$6,500',
buttonText: 'Select plan',
popular: false,
features: (
<ul>
<li>
<IoCheckmark />
<span>Lorem Ipsum</span>
</li>
<li>
<IoCheckmark />
<span>Lorem Ipsum</span>
</li>
<li>
<IoCheckmark />
<span>Lorem Ipsum</span>
</li>
<li>
<IoCheckmark />
<span>Lorem Ipsum</span>
</li>
<li>
<IoCheckmark />
<span>Lorem Ipsum</span>
</li>
</ul>
)
},
{
id: 'standard',
circle: 'S',
title: 'Standard',
subtitle: 'Optimized for startups',
price: 'MX$12,000',
buttonText: 'Select plan',
popular: true,
features: (
<ul>
<li>
<IoCheckmark />
<span>Lorem Ipsum</span>
</li>
<li>
<IoCheckmark />
<span>Lorem Ipsum</span>
</li>
<li>
<IoCheckmark />
<span>Lorem Ipsum</span>
</li>
<li>
<IoCheckmark />
<span>Lorem Ipsum</span>
</li>
<li>
<IoCheckmark />
<span>Lorem Ipsum</span>
</li>
</ul>
)
},
{
id: 'premium',
circle: 'E',
title: 'Premium',
subtitle: 'Enterprise class website',
price: 'MX15,000',
buttonText: 'Select plan',
popular: false,
features: (
<ul>
<li>
<IoCheckmark />
<span>Lorem Ipsum</span>
</li>
<li>
<IoCheckmark />
<span>Lorem Ipsum</span>
</li>
<li>
<IoCheckmark />
<span>Lorem Ipsum</span>
</li>
<li>
<IoCheckmark />
<span>Lorem Ipsum</span>
</li>
<li>
<IoCheckmark />
<span>Lorem Ipsum</span>
</li>
</ul>
)
}
]
const main = '#EEEEFC'
const features = '#A5A5F0'
const font = '#fff'
const fontInverted = '#000'
const background = '#fff'
const popular = '#7474E7
const checkMark = '#89ce94'
const handleClick = (e) => {
console.log(e)
}
return (
<>
<PricingTableComponent
plans={plans}
color={{
main,
features,
font,
fontInverted,
background,
popular,
checkMark
}}
handleClick={handleClick}
/>
</>
)
}
All these props are passed as defaults and can be overriden any time.
| Name | Type | Unit | Description | Default |
|---|---|---|---|---|
| plans | array | N/A | An array with the desired plans to include | |
| color | object | N/A | An object with all the colors |
FAQs
A simple & easy to use pricing table
We found that @aiherrera/react-pricing-table 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.