# XWUIAuthRegister

A page-level registration shell that mirrors KEYSTONE's `/register` view: a brand header above a name + email + password + confirm-password form, a Terms-of-Service checkbox with a link, and a back-to-sign-in link. The form chrome is delegated to the headless `power/XWUIAuthSignUp` block (selected with `block` 1-3) and the ToS checkbox to `XWUIInputCheckbox`; `requireTermsAgreement` gates submission on the checkbox, `onSubmit()` receives the `{ fullName, email, password, passwordConfirm, agreedToTerms }` payload, and `setError()` drives the alert slot.

## Basic Usage

A KEYSTONE-branded registration page (block 1) with the tagline "Create your account", a required "KEYSTONE Terms of Service" checkbox, a sign-in link, and an `onSubmit` handler logging the masked payload.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A KEYSTONE-branded registration card with the ToS-agreement gate enabled and onSubmit wired up.
```

## Split Waitlist

A `block: 2` split-layout early-access signup with the Terms checkbox and its gate disabled and the sign-in link hidden.

```example
file: examples/SplitWaitlist.ts
html: examples/SplitWaitlist.html
title: Split Waitlist
description: A split-layout (block 2) waitlist signup with no ToS gate and a "Request access" CTA.
```

## Enterprise Terms

An enterprise signup whose required agreement links to a custom Data Processing Agreement, with a server-side error pre-populated.

```example
file: examples/EnterpriseTerms.ts
html: examples/EnterpriseTerms.html
title: Enterprise Terms
description: A register card linking the ToS gate to a custom DPA URL and showing a "passwords do not match" error.
```

```api
```
