Inline CTA

In-page call-to-action card for upgrades, email capture, receipts, and plan changes. Multiple type variants.

import{ InlineCta } from "@pepulux/ui"

Actions type

Upgrade your plan

Get access to all features with a Pro plan.

Email capture

Stay in the loop

Get product updates and announcements.

Props

PropTypeDefaultDescription
type"image" | "actions" | "email-field" | "change-plan" | "upgrade-plan" | "payment-method" | "receipt""actions"Content layout variant
titlestring—CTA heading
descriptionstring—Supporting text
primaryAction{ label, onClick }—Primary button
secondaryAction{ label, onClick }—Secondary button or link
emailPlaceholderstring—Input placeholder (email-field type)
onEmailSubscribe(email: string) => void—Called when email is submitted
Application component → Inline CTAswww.pepulux.com

Notes and documentation

Space for notes, documentation, and best practices for using these components.

A prompt inside the flow

Inline CTAs sit within settings or billing pages to nudge an upgrade, collect an email or confirm a plan. Keep one primary action and a quiet secondary.