Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.whop.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

The class names below are the stable styling contract for Whop embeddable components. Each name is guaranteed to be applied to a specific element rendered inside the iframe, so you can target it from appearance.classes. appearance.classes accepts any CSS selector string as a key — the value is emitted verbatim into a stylesheet inside the iframe. That means you can combine the class names below with any standard CSS selector syntax (:hover, :focus-visible, descendant selectors, attribute selectors, etc.). Selectors that don’t match any of the names below will still be emitted, but they’re not part of the stable contract and may stop matching as components evolve. See Appearance for full configuration.

Shared

Building blocks reused across multiple elements.
new WhopElements({
	appearance: {
		classes: {
			Chevron: {
				color: "var(--gray-11)",
			},
		},
	},
});
ClassDescription
ChevronA shared expand/collapse chevron icon used in breakdown and balance rows.
ConvertButtonThe button to initiate a crypto asset conversion.
IconA step completion icon in the verification navigation.
SeparatorA horizontal divider between address suggestions.

Address Form

Address form root used by payout-method flows.
new WhopElements({
	appearance: {
		classes: {
			AddressFormRoot: {
				display: "flex",
				flexDirection: "column",
				gap: "12px",
			},
		},
	},
});
ClassDescription
AddressFormRootThe root container of the address form.

Auto Withdraw

Automatic withdrawal configuration element.
new WhopElements({
	appearance: {
		classes: {
			AutoWithdrawConfigBody: {
				padding: "16px",
			},
			AutoWithdrawInfoRow: {
				fontSize: "14px",
			},
		},
	},
});
ClassDescription
AutoWithdrawConfigBodyThe main content wrapper of the automatic withdrawal configuration form.
AutoWithdrawInfoRowAn info row displaying a label-value pair in the automatic withdrawal configuration (e.g. Fees, Exchange rate, Estimated delivery).
AutoWithdrawReserveSectionThe section containing the minimum reserve amount input in the automatic withdrawal configuration.

Available Cash

Available cash breakdown element.
new WhopElements({
	appearance: {
		classes: {
			AvailableCashBreakdownContainer: {
				padding: "16px",
			},
			AvailableCashSummaryRow: {
				fontWeight: "600",
			},
		},
	},
});
ClassDescription
AvailableCashBreakdownContainerThe container wrapping available cash breakdown rows.
AvailableCashCurrencyRowA currency row in the available cash breakdown.
AvailableCashCurrencyRowLeftThe left content area of a currency row in the available cash breakdown.
AvailableCashCurrencyRowRightThe right content area of a currency row in the available cash breakdown.
AvailableCashInfoContentThe expanded content of the info section in the available cash breakdown.
AvailableCashInfoSectionThe collapsible information section in the available cash breakdown.
AvailableCashInfoToggleThe toggle button for the info section in the available cash breakdown.
AvailableCashSummaryRowThe summary total row in the available cash breakdown.

Balance

Single-currency balance element.
new WhopElements({
	appearance: {
		classes: {
			BalanceRoot: {
				padding: "16px",
			},
			BalanceAmount: {
				fontSize: "32px",
				fontWeight: "600",
			},
		},
	},
});
ClassDescription
BalanceActionsThe container for action buttons like withdraw and deposit.
BalanceAmountThe total balance amount display.
BalanceBarThe horizontal bar showing the proportion of each balance category.
BalanceBarEmptyThe empty state placeholder for the balance bar.
BalanceBarSegmentA single segment within the balance bar.
BalanceHeaderThe header area containing the title and action buttons.
BalanceLegendThe legend showing the breakdown of balance categories.
BalanceLegendDotThe colored dot indicator in a legend row.
BalanceLegendLabelThe label area of a legend row, including the color dot.
BalanceLegendRowA single row in the balance legend.
BalanceRootThe root container of the balance element.
BalanceTitleGroupThe group containing the balance label and amount.

Balances

Multi-currency balances element.
new WhopElements({
	appearance: {
		classes: {
			BalancesRoot: {
				padding: "16px",
			},
			BalancesSectionTitle: {
				fontSize: "14px",
				fontWeight: "600",
			},
		},
	},
});
ClassDescription
BalancesBreakdownLabelThe label of a breakdown detail row.
BalancesBreakdownRowAn expanded breakdown detail row within a currency.
BalancesBuyAssetRowA treasury asset row (Bitcoin, Gold, etc.).
BalancesCardsBannerA promotional banner for setting up business cards.
BalancesCardsRowThe cards spending power row.
BalancesCashRowA currency row in the cash section.
BalancesCurrencyFlagThe country flag icon displayed next to a currency.
BalancesEmptyStateThe empty state shown when no balances exist.
BalancesExpandablePanelAn expandable panel for showing breakdown details in balance rows.
BalancesRootThe root container of the balances element.
BalancesRowBalanceThe balance amount column in a balances row.
BalancesRowChevronThe expand/collapse chevron column in a balances row.
BalancesRowNameThe name column in a balances row.
BalancesRowYieldThe yield/APY column in a balances row.
BalancesSectionA section card grouping related balance rows (Cash, Treasury, Cards).
BalancesSectionBodyThe body content area of a balances section.
BalancesSectionTitleThe title header of a balances section.
BalancesTreasuryBannerA promotional banner within the treasury section.
BalancesTreasuryRowThe treasury balance row.

Breakdown

Generic breakdown layout primitives shared across breakdown elements.
new WhopElements({
	appearance: {
		classes: {
			BreakdownItem: {
				padding: "12px 0",
			},
			BreakdownDivider: {
				borderColor: "var(--gray-5)",
			},
		},
	},
});
ClassDescription
BreakdownDividerA horizontal divider line within the withdrawal breakdown detail view.
BreakdownItemA single line item within a breakdown list.
PendingBreakdownRootThe root container of the pending balance breakdown.
TreasuryBreakdownRootThe root container of the treasury breakdown.

Dialog

Modal dialog primitives shared across elements.
new WhopElements({
	appearance: {
		classes: {
			DialogContent: {
				borderRadius: "12px",
			},
			DialogTitle: {
				fontSize: "18px",
				fontWeight: "600",
			},
		},
	},
});
ClassDescription
DialogBodyThe main content area of a dialog.
DialogCloseA wrapper that closes the dialog when clicked.
DialogCloseButtonThe icon button used to dismiss a dialog.
DialogContentThe content panel of a dialog.
DialogFooterThe footer area of a dialog, typically containing action buttons.
DialogHeaderThe header area of a dialog, typically containing the title and close button.
DialogRootThe root container of a dialog overlay.
DialogTitleThe title text of a dialog.

Field

Form field primitives (label, error, description).
new WhopElements({
	appearance: {
		classes: {
			FieldLabel: {
				fontSize: "14px",
				fontWeight: "500",
			},
			FieldError: {
				color: "var(--red-11)",
			},
		},
	},
});
ClassDescription
FieldDescriptionHelper text displayed below a form field.
FieldErrorThe validation error message displayed below a form field.
FieldLabelThe label text associated with a form field.
FieldRootThe root container of a form field, wrapping the label, input, description, and error.

Fieldset

Fieldset primitives for grouped fields.
new WhopElements({
	appearance: {
		classes: {
			FieldsetLegend: {
				fontSize: "14px",
				fontWeight: "600",
			},
			FieldsetGroup: {
				display: "flex",
				flexDirection: "column",
				gap: "12px",
			},
		},
	},
});
ClassDescription
FieldsetGroupA group of fields within a fieldset.
FieldsetLegendThe legend (title) of a fieldset group.
FieldsetRootThe root container grouping related form fields together.

Input

Text input primitives.
new WhopElements({
	appearance: {
		classes: {
			InputRoot: {
				borderRadius: "8px",
				border: "1px solid var(--gray-7)",
			},
			Input: {
				padding: "8px 12px",
			},
		},
	},
});
ClassDescription
InputThe text input element.
InputRootThe outer container wrapping the input element and its slots.
InputSlotA slot within the input root for icons or other adornments alongside the input.

Payout Details

Payout method details card.
new WhopElements({
	appearance: {
		classes: {
			PayoutDetailsCard: {
				padding: "16px",
				borderRadius: "12px",
			},
			PayoutDetailsRow: {
				fontSize: "14px",
			},
		},
	},
});
ClassDescription
PayoutDetailsCardThe bordered card containing payout detail sections in the edit payout details modal.
PayoutDetailsContentThe content wrapper of the edit payout details modal.
PayoutDetailsRowA single section row within the payout details card (e.g. Bank details, Mailing address, Phone number).

Payout Method

Payout method form.
new WhopElements({
	appearance: {
		classes: {
			PayoutMethodForm: {
				display: "flex",
				flexDirection: "column",
				gap: "16px",
			},
		},
	},
});
ClassDescription
PayoutMethodFormThe form for adding a new payout method.

Pending

Pending breakdown element.
new WhopElements({
	appearance: {
		classes: {
			PendingCurrencySection: {
				padding: "12px 0",
			},
			PendingSummaryRow: {
				fontWeight: "600",
			},
		},
	},
});
ClassDescription
PendingCurrencyRowA currency row in the pending breakdown.
PendingCurrencyRowLeftThe left content area of a currency row in the pending breakdown.
PendingCurrencyRowRightThe right content area of a currency row in the pending breakdown.
PendingCurrencySectionA currency section group in the pending breakdown.
PendingIndentedRowAn indented sub-row within the pending breakdown.
PendingIndentedRowRightThe right content area of an indented sub-row in the pending breakdown.
PendingInfoContentThe expanded content of the info section in the pending breakdown.
PendingInfoSectionThe collapsible information section in the pending breakdown.
PendingInfoToggleThe toggle button for the info section in the pending breakdown.
PendingSummaryRowThe summary total row in the pending breakdown.

Phone

Phone input primitive.
new WhopElements({
	appearance: {
		classes: {
			PhoneInput: {
				borderRadius: "8px",
			},
		},
	},
});
ClassDescription
PhoneInputA phone number input with a country code selector.

Receipt

Generated withdrawal receipt header.
new WhopElements({
	appearance: {
		classes: {
			ReceiptHeader: {
				padding: "16px",
				borderBottom: "1px solid var(--gray-5)",
			},
		},
	},
});
ClassDescription
ReceiptHeaderThe header of the withdrawal receipt dialog.

Reserve

Reserve breakdown element.
new WhopElements({
	appearance: {
		classes: {
			ReserveCurrencyRow: {
				padding: "8px 0",
			},
		},
	},
});
ClassDescription
ReserveCurrencyRowA currency row in the reserve breakdown.

Select

Select / dropdown primitives.
new WhopElements({
	appearance: {
		classes: {
			SelectTrigger: {
				borderRadius: "8px",
				padding: "8px 12px",
			},
			SelectPopup: {
				borderRadius: "8px",
			},
		},
	},
});
ClassDescription
SelectArrowThe arrow pointer on the custom select popup.
SelectBackdropThe overlay backdrop behind an open custom select dropdown.
SelectChevronThe dropdown chevron icon inside a custom select trigger.
SelectGroupA group of related items within a custom select.
SelectGroupLabelThe label for a group of items within a custom select.
SelectIconThe dropdown indicator icon in a custom select trigger.
SelectItemAn individual option within a custom select dropdown.
SelectItemIndicatorThe checkmark or indicator shown on the selected item.
SelectItemTextThe text label of a custom select item.
SelectListThe scrollable list container inside a custom select popup.
SelectOptionAn option within a native select element.
SelectPopupThe floating dropdown panel of a custom select.
SelectPortalThe portal container for a custom select dropdown.
SelectPositionerThe positioning wrapper for the custom select popup.
SelectRootThe root container of a native select element.
SelectScrollDownThe scroll-down indicator shown when the custom select list overflows.
SelectScrollUpThe scroll-up indicator shown when the custom select list overflows.
SelectSeparatorA visual divider between groups of items in a custom select.
SelectTriggerThe button that opens a custom select dropdown.
SelectValueThe display text showing the currently selected value in a custom select.

Status Banner

Account status banner element.
new WhopElements({
	appearance: {
		classes: {
			StatusBannerRoot: {
				padding: "16px",
				borderRadius: "8px",
			},
			StatusBannerCallout: {
				fontWeight: "600",
			},
		},
	},
});
ClassDescription
StatusBannerActionThe action button within a status banner callout.
StatusBannerApprovedThe approval confirmation banner.
StatusBannerApprovedActionThe action button in the approval banner.
StatusBannerApprovedIconThe icon in the approval banner.
StatusBannerApprovedTextThe text content in the approval banner.
StatusBannerAwaitingReviewThe awaiting review status banner.
StatusBannerBadgeGroupA group of status badges within a banner.
StatusBannerCalloutA callout banner displaying account status information.
StatusBannerDismissThe dismiss button to close a status banner.
StatusBannerHourglassIconThe hourglass icon in the awaiting review banner.
StatusBannerInfoContentThe content area of the information required banner.
StatusBannerInfoRequiredThe information required status banner.
StatusBannerPendingContentThe content area of a pending status banner.
StatusBannerRootThe root container of the status banner element.
StatusBannerWarningIconThe warning icon in a status banner.
StatusBannerWarningImageThe warning illustration in the information required banner.

Treasury

Treasury breakdown element.
new WhopElements({
	appearance: {
		classes: {
			TreasuryAssetRow: {
				padding: "12px 0",
			},
			TreasurySummaryRow: {
				fontWeight: "600",
			},
		},
	},
});
ClassDescription
TreasuryAssetIconSvgThe icon for a treasury asset.
TreasuryAssetRowAn asset row in the treasury breakdown.
TreasuryAssetRowLeftThe left content area of a treasury asset row.
TreasuryIndentedRowAn indented sub-row within the treasury breakdown.
TreasuryInfoContentThe expanded content of the info section in the treasury breakdown.
TreasuryInfoSectionThe collapsible information section in the treasury breakdown.
TreasuryInfoToggleThe toggle button for the info section in the treasury breakdown.
TreasurySummaryRowThe summary total row in the treasury breakdown.

Verify

Account verification flow.
new WhopElements({
	appearance: {
		classes: {
			VerifyLayout: {
				display: "grid",
				gap: "16px",
			},
			VerifyHeader: {
				fontSize: "20px",
				fontWeight: "600",
			},
		},
	},
});
ClassDescription
VerifyAsideThe sidebar navigation area of the verification flow.
VerifyContentThe content column wrapper of the verification flow, containing step views and the footer.
VerifyFooterThe footer area with navigation buttons in the verification flow.
VerifyHeaderThe header area of the verification flow.
VerifyInfoFormThe additional information form within the verification flow.
VerifyLayoutThe main flex layout container holding the sidebar and content area of the verification flow.
VerifyNavThe step navigation list in the verification sidebar.
VerifyNavItemA single step item in the verification navigation.

Withdraw

Withdraw flow element and currency picker.
new WhopElements({
	appearance: {
		classes: {
			WithdrawFormRoot: {
				padding: "16px",
			},
			WithdrawHeader: {
				fontSize: "18px",
				fontWeight: "600",
			},
		},
	},
});
ClassDescription
WithdrawCreateTokenPanelThe panel containing the create payout token form within the withdrawal view.
WithdrawCurrencyInfoThe currency detail text in a withdrawal currency row.
WithdrawCurrencyListThe currency picker list in the withdrawal flow.
WithdrawCurrencyRowA single currency option in the withdrawal currency picker.
WithdrawCurrencyRowLeftThe left content area of a withdrawal currency row.
WithdrawFormPanelThe main form panel within the withdrawal request view.
WithdrawFormRootThe root container of the withdrawal request form.
WithdrawHeaderThe header of the withdrawal dialog.
WithdrawInfoRowAn info row displaying a label-value pair in the withdrawal form (e.g. Fees, Exchange rate, Estimated delivery).
WithdrawSpeedFooterThe footer area of the withdrawal speed selector.
WithdrawSpeedFooterTextThe footer description text of the withdrawal speed selector.
WithdrawSpeedHeaderThe header of a withdrawal speed option.
WithdrawSpeedPrimaryThe primary label of a withdrawal speed option.
WithdrawSpeedRootThe root container of the withdrawal speed selector.
WithdrawSpeedSecondaryThe secondary description of a withdrawal speed option.
WithdrawSpeedTextThe text container within a withdrawal speed option.

Withdrawals

Withdrawals history table.
new WhopElements({
	appearance: {
		classes: {
			WithdrawalsRow: {
				borderBottom: "1px solid var(--gray-5)",
			},
			"WithdrawalsRow:hover": {
				backgroundColor: "var(--gray-2)",
			},
		},
	},
});
ClassDescription
WithdrawalsAmountCellThe amount column cell in the withdrawals table.
WithdrawalsArrivalCellThe estimated arrival column cell in the withdrawals table.
WithdrawalsBodyThe body section of the withdrawals table.
WithdrawalsCellA data cell in the withdrawals table.
WithdrawalsDateCellThe date column cell in the withdrawals table.
WithdrawalsDestinationCellThe destination column cell in the withdrawals table.
WithdrawalsFooterThe footer area of the withdrawals table, containing pagination controls.
WithdrawalsHeaderCellA column header cell in the withdrawals table.
WithdrawalsReceiptCellThe receipt column cell in the withdrawals table.
WithdrawalsRowA row in the withdrawals table representing a single withdrawal.
WithdrawalsStatusCellThe status column cell in the withdrawals table.