Pricing Plan

定价页的方案:带徽章的标题、价格(被折扣价替代时显示删除线)及计费周期、带对勾的功能列表、行动号召和条款,并可突出显示其中一个方案。

可用框架
  • Angular: 可用
  • Vue: 可用
  • React: 可用
  • React Native: 暂不可用

用法

Free

For trying it out.

$0/month

  • 3 meetings a month
  • Summaries
  • 7-day history

Pro

Most popular

For 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

导入

ts
import {
  SonePricingPlanComponent,
  SonePricingPlanFooterDirective,
  SonePricingPlansComponent,
} from "@surface-one/angular/pricing-plan";

API 参考

SonePricingPlanComponent组件

`<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.

选择器
sone-pricing-plan
输入
名称类型 默认值
title必填string—
descriptionstring | nullnull
badge

A badge beside the title ("Most popular").

string | nullnull
price必填

The price as shown: `$29`, `Free`, `Custom`.

string—
discount

A lower price that replaces it; `price` is struck through.

string | nullnull
billingCycle

`/month` — after the price.

string | nullnull
billingPeriod

`billed annually` — under the cycle.

string | nullnull
tagline

A line between the price and the features.

string | nullnull
featuresreadonly PricingPlanFeature[][]
button

The call to action, a link drawn as a full-width button.

PricingPlanButton | nullnull
terms

Small print under the button.

string | nullnull
highlight

Draws the plan with the accent: the one to pick.

booleanfalse
scale

A highlighted plan stands taller than its neighbours once the row is wide.

booleanfalse
level

The title's heading level, 1–6.

HeadingLevel3
regularPriceLabel

Read before a struck-through price.

—$localize`:Before a struck-through price:Regular price`
discountLabel

Read before the price that replaces it.

—$localize`:Before a discounted price:Discounted price`

SonePricingPlanFooterDirective指令

`[sonePricingPlanFooter]` — your own controls next to the plan's button.

选择器
[sonePricingPlanFooter]

SonePricingPlansComponent组件

`<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.

选择器
sone-pricing-plans
输入
名称类型 默认值
plansreadonly PricingPlanItem[][]
scale

Highlighted plans stand taller than their neighbours once the row is wide.

booleanfalse
level

The plans' heading level, 1–6.

HeadingLevel3