Circle UI

Input Discount

Discount input state primitive.

Use this when you need the applied-discount state after a code has already been accepted.

Preview and code

Loading preview...

Install

If this is your first Circle install, start with Get started.

pnpm dlx shadcn@latest add @blocks/input-discount

Use this when

This is a composed surface. Prefer the parent block when you want the full pattern, and reach for the sub-parts only when you need to customize the composition.

Dependencies

Registry

@circle-ui/badge
@circle-ui/button
@circle-ui/textbox
@circle-ui/utils

Source

The raw JSON payload powering this entry — useful when debugging registry output.

registry/berlin/blocks/commerce.tsx
pnpm dlx shadcn@latest add https://registry.circle.health/blocks/input-discount.json
Open /blocks/input-discount.json