Components

Solid components for pre-built forms, individual fields, and payment controls.

ComponentDescription
PaymentFormFull payment form with payment method selection, submit button, and errors.
CardFormCard-only fields. Pair with SubmitButton when used directly.
BankAccountFormBank account-only fields. Pair with SubmitButton when used directly.
BaseInputIframe-hosted sensitive field for custom layouts.
CountrySelectCountry selection field.
PostalCodeInputCountry-aware postal code field.
SubmitButtonPayment submit button with loading and success states.
PaymentMethodRadioOptionOption component for custom payment method selectors.
RadioRadio control used by payment method options.
IconSVG icon renderer used by payment method controls.

PaymentForm

Props

Name
compact
Type
boolean,
Name
style
Type
"tab" | "radio",
Name
variables
Type
ThemeVariables,
import { PaymentForm } from "@biaspay/solid";

<PaymentForm compact style="radio" />

BaseInput

BaseInput renders one iframe-hosted sensitive field.

import { BaseInput } from "@biaspay/solid";

<BaseInput type="cardNumber" />
<BaseInput type="cardExpiry" />
<BaseInput type="cardCvc" />

Allowed type values:

type FrameFieldType =
    | "cardNumber"
    | "cardExpiry"
    | "cardCvc"
    | "bankAccountNumber"
    | "bankRoutingNumber";