Air Force 1 '07
Total
€299.00
Delivery
Jan 20, 2024
Air Force 1 '07
Installation
$ pnpm dlx shadcn@latest add @mcpcn/payment-confirmed
Usage
import {
PaymentConfirmed,
PaymentConfirmedContent,
} from "@/components/ui/payment-confirmed";<PaymentConfirmed>
<PaymentConfirmedContent />
</PaymentConfirmed>Composition
Use the following composition to build an PaymentConfirmed:
PaymentConfirmed
├── PaymentConfirmedAction
├── PaymentConfirmedContent
├── PaymentConfirmedHeader
├── PaymentConfirmedImage
└── PaymentConfirmedSummaryExamples
Compressed
Payment confirmed
Air Force 1 '07
Total
€299.00
Delivery
Jan 20, 2024
€299.00
"use client";
import {
PaymentConfirmed,
PaymentConfirmedContent,
} from "@/components/ui/payment-confirmed";
export function PaymentConfirmedCompressedDemo() {
return (
<PaymentConfirmed appearance={{ variant: "compressed" }}>
<PaymentConfirmedContent />
</PaymentConfirmed>
);
}OpenUI Integration
Install the OpenUI React packages.
pnpm add @openuidev/react-lang zodAdd PaymentConfirmed to a component library and map it to the installed component.
import { createLibrary, defineComponent } from "@openuidev/react-lang";
import { z } from "zod/v4";
import {
PaymentConfirmed,
PaymentConfirmedContent,
} from "@/components/ui/payment-confirmed";
const OpenUIPaymentConfirmed = defineComponent({
name: "PaymentConfirmed",
description:
"Payment confirmation card with product image, price, delivery info, and tracking button. Supports default and compressed variants.",
props: z.object({}),
component: () => (
<PaymentConfirmed>
<PaymentConfirmedContent />
</PaymentConfirmed>
),
});
export const payment_confirmedLibrary = createLibrary({
root: "PaymentConfirmed",
components: [OpenUIPaymentConfirmed],
});For richer generated compositions, define the child primitives separately and connect them with .ref fields. See Defining Components in the OpenUI documentation.
json-render Integration
Install the json-render React packages.
pnpm add @json-render/core @json-render/react zodAdd PaymentConfirmed to a component catalog and map it to the installed component.
import { defineCatalog } from "@json-render/core";
import { defineRegistry } from "@json-render/react";
import { schema } from "@json-render/react/schema";
import { z } from "zod";
import {
PaymentConfirmed,
PaymentConfirmedContent,
} from "@/components/ui/payment-confirmed";
export const catalog = defineCatalog(schema, {
components: {
PaymentConfirmed: {
props: z.object({}),
description:
"Payment confirmation card with product image, price, delivery info, and tracking button. Supports default and compressed variants.",
},
},
});
export const { registry } = defineRegistry(catalog, {
components: {
PaymentConfirmed: () => (
<PaymentConfirmed>
<PaymentConfirmedContent />
</PaymentConfirmed>
),
},
});Use catalog.prompt() to constrain model output, then render the generated spec with the json-render React Renderer. See the json-render Quick Start for the provider and streaming setup.
API Reference
See the Base UI documentation for more information.