Put the Review after Submit, and place the summary, the status, and the receipt inside it in the order people see them.
The sample also uses Currency Swap. One command adds them with this item:
swap-with-review.tsx
CurrencySwapReview
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | — | The body. Default: the summary while it waits for the confirm, then Status, then Receipt. |
| class | string | — | |
| container | — | Where the popup portals to (Base UI Portal container). Default: the root's container. | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
CurrencySwapReviewSummary
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
CurrencySwapStatus
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
CurrencySwapReceipt
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
| Escape | Closes the review while it waits for the confirm. |
|---|
Built with
Installs with Currency Swap Review











