PlanPickerPaywall

fun PlanPickerPaywall(plans: List<PaywallPlan>, features: List<PaywallFeature>, legal: PaywallLegal, onPurchase: (PaywallPlan) -> Unit, onRestore: () -> Unit, onClose: () -> Unit, modifier: Modifier = Modifier, title: String = stringResource(R.string.pw_picker_title), subtitle: String? = stringResource(R.string.pw_picker_subtitle), initialPlanId: String? = null)(source)

Design 4, expressive plan picker: a connected button group switches plans, and the spotlight card below morphs its shape and rolls the price for each choice. Designed for two to four plans with short titles.

See also

for the shared parameters.