Search

Search components and flows across the catalog

KilnConceptInteractive preview

Kiln: Your bag

A full shopping bag for a handmade-ceramics shop with drawn line items, quantity steppers, remove with undo, gift wrap and note, a free-shipping bar, a promo code and an order summary.

Category
E-commerce
Platform
Web

Interactive screenClick through it, resize it, or switch states. It’s real UI, not a screenshot.Default state

Use this screen

Free to use. It works on its own in any React and Tailwind project, so you can add it with one command, paste the code, or hand the prompt to your coding agent.

FreeReact 18+Tailwind v3.4 or v4No extra packages

1. Add it with the shadcn CLI

npx shadcn@latest add https://www.thatdesignui.com/r/screens/kiln-your-bag.json

2. Use it

Every prop is optional
app/page.tsx
import KilnBag from "@/components/kiln-bag";

export default function Page() {
  return <KilnBag />;
}

Prefer to paste it yourself? Open the .

Under the hood

How it’s built

What’s inside

  1. Same Kiln look as the product page: #f6f1ea page, #1f1a17 ink, #b4532a clay accent, serif headings, 3–4px radii, #e4d9cb hairlines, the same announcement bar and header with the bag icon marked current.
  2. A 50px serif 'Your bag' title with a piece count and a 'Continue shopping' back link; then two columns from 1024px: items on the left, a 400px sticky order summary card (#fbf8f3) on the right.
  3. Left: a free-shipping card ('Add $16.00 more for free shipping', a clay progress bar that turns green at $150), then line items with a 120x150 drawn thumbnail, serif name, glaze and size, unit price, a 44px quantity stepper, Remove and a serif line total.
  4. Removing a line replaces it with a 'was removed' row, an Undo button and a 6-second draining clay bar; Undo puts it back in the same place.
  5. A gift card with a switch ('This is a gift', $6) that expands a serif textarea with a live n/200 counter (clay near the limit) and a 'Leave prices off the packing slip' checkbox.
  6. Summary: subtotal, CLAY15 discount (15%), gift wrap, shipping ($9 or Free), tax at checkout, a promo field (CLAY15 applies, anything else shakes and shows an error), a 30px serif total and a 56px clay 'Checkout · $total' button; below the columns a 'You might also like' row of four drawn pieces with Add to bag buttons.

How it behaves

  • Applying CLAY15 adds a green '−$x' discount line and an applied chip; any other code shows an error saying it isn’t recognised.
  • Pressing Remove on a line shows an Undo row with a draining bar; Undo restores the line in the same position, and doing nothing removes it after 6 seconds.
  • Turning on the gift switch adds a $6 Gift wrap line and reveals the gift note; typing updates the n/200 counter and it stops at 200 characters.
  • Raising quantities until the total passes $150 changes shipping to Free and the progress bar to green.
  • Adding a 'You might also like' piece adds it to the bag list and the header count, and its card shows 'In your bag'.
  • The 'Empty bag' state shows a drawn bowl, 'Your bag is empty' and a Continue shopping button; nothing scrolls sideways at 375px.

More from Kiln

Kiln: Product page

Kiln: Product page

KilnConceptE-commerce screen