Pricing Plan
Os planos de uma página de preços: um título com distintivo, o preço (riscado quando um desconto o substitui) com a faturação, uma lista de funcionalidades com visto, uma chamada para ação e condições, com um plano em destaque.
Angular: disponível Vue: disponível React: disponível React Native: ainda não disponível
Uso
Free
For trying it out.
$0/month
3 meetings a month Summaries 7-day history
Pro
Most popularFor people who meet a lot.
Regular price $24Discounted price $19/monthbilled annually
Unlimited meetings Search across everything Priority support
Team
For the whole company.
Custom
Everything in Pro, plus:
Shared spaces Admin controls Single sign-on
<sone-pricing-plans [plans]="plans" scale />Importação
import {
SonePricingPlanComponent,
SonePricingPlanFooterDirective,
SonePricingPlansComponent,
} from "@surface-one/angular/pricing-plan";Referência da API
SonePricingPlanComponentComponente
`<sone-pricing-plan>` — one plan of a pricing page (Nuxt UI PricingPlan): the title as a heading (`level`, default 3) with a `badge`, a description, the `price` (struck through when a `discount` replaces it) with its `billingCycle` / `billingPeriod`, a `tagline`, a feature list with check marks, a call-to-action `button` (a link) and `terms`. `highlight` draws it with the accent; with `scale` it stands taller than its neighbours once the row is wide. `[sonePricingPlanFooter]` adds your own controls.
| Nome | Tipo | Padrão |
|---|---|---|
titleobrigatório | string | — |
description | string | null | null |
badgeA badge beside the title ("Most popular"). | string | null | null |
priceobrigatórioThe price as shown: `$29`, `Free`, `Custom`. | string | — |
discountA lower price that replaces it; `price` is struck through. | string | null | null |
billingCycle`/month` — after the price. | string | null | null |
billingPeriod`billed annually` — under the cycle. | string | null | null |
taglineA line between the price and the features. | string | null | null |
features | readonly PricingPlanFeature[] | [] |
buttonThe call to action, a link drawn as a full-width button. | PricingPlanButton | null | null |
termsSmall print under the button. | string | null | null |
highlightDraws the plan with the accent: the one to pick. | boolean | false |
scaleA highlighted plan stands taller than its neighbours once the row is wide. | boolean | false |
levelThe title's heading level, 1–6. | HeadingLevel | 3 |
regularPriceLabelRead before a struck-through price. | — | $localize`:Before a struck-through price:Regular price` |
discountLabelRead before the price that replaces it. | — | $localize`:Before a discounted price:Discounted price` |
SonePricingPlanFooterDirectiveDiretiva
`[sonePricingPlanFooter]` — your own controls next to the plan's button.
SonePricingPlansComponentComponente
`<sone-pricing-plans>` — a row of pricing plans (Nuxt UI PricingPlans): from `plans` or projected `sone-pricing-plan`s, as many columns as fit. `scale` lets the highlighted plans stand taller.
| Nome | Tipo | Padrão |
|---|---|---|
plans | readonly PricingPlanItem[] | [] |
scaleHighlighted plans stand taller than their neighbours once the row is wide. | boolean | false |
levelThe plans' heading level, 1–6. | HeadingLevel | 3 |