Pricing Box
Pro Plan
$99/month
- 🚀Launch faster with pre-built components
- 💻Easily customizable with modern tools
- 📦Reusable for multiple projects
- 🔒Secure and reliable architecture
- 🌍Global accessibility and performance
Configuration and Re-usability
Dependencies
npmi framer-motion
Usage Methods
- Pass
advantage
data as props to make the component more flexible and to allow the inclusion of different advantages. - Use a JSON file for
advantage
data to simplify editing and extension of advantage information. - Outsource animation configurations to a separate file or custom hook to improve modularity and reusability.
- Create separate components for the title, price and CTA to improve readability and reusability of the code.
- Add the ability to pass customisable CSS classes as props to allow easier and more versatile customisation.
- Allow customisation of
ctaTex
t andonCtaClick
as props to easily adapt the behaviour of the CTA button. - Use a context to manage the state of
hoverEffects
andbackgroundEffects
to avoid passing too many props and make the component more manageable. - Define default configurations for
animationConfig
andcustomStyles
in a configuration file to facilitate global customisation. - Add the possibility of disabling hover and background effects via props for finer control over the visual effects of the component.