Billing Enterprise Request
A sales inquiry form for enterprise SaaS plans that need custom pricing. It collects a company name and work email, lets the visitor pick an estimated seat volume from a button group, flag compliance requirements like SOC 2 or HIPAA, and add optional notes, then moves through a brief loading state before showing a confirmation with your expected response time.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its input, label, textarea, button dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/billing-enterprise-request.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/billing/billing55.tsx instead.
Usage
The file also exports billing55Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { Billing55, billing55Demo } from "@/components/blocks/billing/billing55"; export default function Page() { return <Billing55 {...billing55Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | "Talk to sales" | Heading above the form. |
| description | string | none | Supporting sentence under the heading. |
| volumeOptions | VolumeOption[] | none | Seat/volume ranges shown as a single-select button group. |
| complianceOptions | ComplianceOption[] | none | Compliance requirements shown as a multi-select button group. |
| defaultVolumeId | string | volumeOptions[0].id | Which volume option is selected on first render. |
| responseTimeNote | string | "We typically respond within 1 business day." | Shown in the confirmation panel after a successful submit. |
| submitLabel | string | "Request a quote" | Label on the submit button in its idle state. |
| submittingLabel | string | "Sending request" | Label shown on the submit button while it's in its loading state. |
| className | string | none | Extra classes for the outer card. |
Types
interface VolumeOption { id: string; label: string; } interface ComplianceOption { id: string; label: string; }
Behavior notes
- Company name and work email are required; the work email is also checked against a fixed set of personal email domains (FREE_EMAIL_DOMAINS in billing55.tsx) and rejected with an inline error if it matches one.
- Volume is a single-select button group with role=radio, compliance requirements are a separate multi-select button group with aria-pressed, both work with keyboard navigation.
- Submitting is disabled while a request is in flight, then shows an 800ms loading state before switching to a confirmation panel naming the selected volume option.
- "Submit another request" resets the view back to the form but keeps whatever was already typed, so a second submission starts from the previous input, not a blank form.
- Notes are optional and never block submission; only company name and a valid, non-personal work email do.
Frequently asked questions
More Billing Blocks
View all →Billing Invoice List
Invoice history table with status badges, formatted amounts, and a per-row download link, built with shadcn/ui and Tailwind CSS.
Billing Failed Payment Alert
High-contrast failed-payment alert with a message, a retry button, and an optional update-payment-method button, built with shadcn/ui and Tailwind CSS.
Billing Credit Balance
Compact credit balance card with a large total, an optional purchased-versus-promotional breakdown, a low-balance notice, and a top-up button.
Billing Payment Methods
A saved payment method list for React and Next.js with brand icons, a default badge, near-expiry warnings, and remove/set-default actions per row.
Billing Add Card
A card entry form for React and Next.js with auto-formatted fields, internal brand detection, and per-field validation feedback built with shadcn/ui and Tailwind CSS.
Billing Coupon Code
An inline promo code input for React and Next.js with a simulated loading state, an applied summary showing the discount amount, and an invalid-code message.