> ## 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.

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# 스타일링 레퍼런스

> 레거시 Whop 임베디드 컴포넌트에 적용되는 안정적인 CSS 클래스 이름입니다.

## 개요

아래 클래스 이름은 Whop 임베디드 컴포넌트의 **안정적인 스타일링 계약**입니다.
각 이름은 iframe 내부에 렌더링되는 특정 요소에 반드시 적용되므로,
`appearance.classes`에서 이를 대상으로 지정할 수 있습니다.

`appearance.classes`는 모든 CSS 선택자 문자열을 키로 받으며, 값은
iframe 내부의 스타일시트에 그대로 출력됩니다. 즉, 아래 클래스 이름을
표준 CSS 선택자 구문(`:hover`, `:focus-visible`, 하위 선택자, 속성 선택자 등)과
자유롭게 조합할 수 있습니다. 아래 이름과 일치하지 않는 선택자도 출력되지만,
안정적인 계약에는 포함되지 않으므로 컴포넌트가 발전함에 따라 더 이상 일치하지 않을 수 있습니다.

전체 구성은 [`Appearance`](https://docs.whop.com/ko/sdk/elements/types#appearance)를 참조하세요.

## Dialog

여러 요소에서 공유되는 모달 대화 상자 기본 요소입니다.

```typescript theme={null}
new WhopElements({
	appearance: {
		classes: {
			DialogContent: {
				borderRadius: "12px",
			},
			DialogTitle: {
				fontSize: "18px",
				fontWeight: "600",
			},
		},
	},
});
```

| 클래스 | 설명 |
| - | - |
| `DialogBody` | 대화 상자의 주요 콘텐츠 영역입니다. |
| `DialogClose` | 클릭하면 대화 상자를 닫는 래퍼입니다. |
| `DialogCloseButton` | 대화 상자를 닫는 데 사용되는 아이콘 버튼입니다. |
| `DialogContent` | 대화 상자의 콘텐츠 패널입니다. |
| `DialogFooter` | 일반적으로 작업 버튼이 포함된 대화 상자의 하단 영역입니다. |
| `DialogHeader` | 일반적으로 제목과 닫기 버튼이 포함된 대화 상자의 상단 영역입니다. |
| `DialogRoot` | 대화 상자 오버레이의 루트 컨테이너입니다. |
| `DialogTitle` | 대화 상자의 제목 텍스트입니다. |
