Skip to content

blocks/pricing-card

@fungi.computer/caps


@fungi.computer/caps / blocks/pricing-card

PricingPlan = object

Caller-provided pricing plan data.

name: ReactNode

optional description?: ReactNode

optional price?: ReactNode

optional interval?: ReactNode


PricingCardProps = HTMLAttributes<HTMLDivElement> > & object

Props accepted by PricingCard.

plan: PricingPlan

optional features?: ReactNode

Caller-owned feature rows.

optional action?: ReactNode

Caller-owned action control; this block never invokes or configures it.

optional status?: ReactNode

Caller-owned status content, such as a badge.

const PricingCard: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> > & object & RefAttributes<HTMLDivElement>>>>

Displays supplied plan data and slots; checkout and policy stay with the host.