Contenu v1.0.0

Tableau de tarifs

Affichage des plans tarifaires avec basculement mensuel/annuel. Disponible en cartes côte à côte ou en tableau comparatif de fonctionnalités avec plan populaire mis en évidence.

Cartes

Cartes tarifaires côte à côte avec listes de fonctionnalités

Options

Nom Type Par défaut Description
plans * Array requis Array of plan hashes with :name, :price, :yearly_price, :period, :description, :features, :cta_label, :cta_href, :popular
currency String "$" Currency symbol
billing_period Boolean false Show monthly/yearly toggle
monthly_label String "Monthly" Monthly toggle label
yearly_label String "Yearly" Yearly toggle label
yearly_discount String "Save 20%" Yearly discount badge text

Comparaison

Tableau comparatif de fonctionnalités avec coches entre les plans

Options

Nom Type Par défaut Description
plans * Array requis Array of plan hashes with :name, :price, :yearly_price, :cta_label, :cta_href, :popular
feature_groups * Array requis Array of feature group hashes with :name and :features array
currency String "$"
billing_period Boolean false
monthly_label String "Monthly"
yearly_label String "Yearly"
yearly_discount String "Save 20%"

Journal des modifications v1.0.0

- Initial release with cards and comparison styles
- Monthly/yearly billing toggle
- Popular plan highlighting

Obtenir l'accès complet

Débloquez le code source de ce composant et de tous les autres. Paiement unique pour un accès à vie.

Obtenir l'accès maintenant