Edit Product 1 - Admin product form with media

Admin product editor with title, description, price and compare-at price, SKU and inventory fields, plus a media grid where chosen images preview locally before upload. Use it as the main edit screen of a storefront back office or a custom commerce admin.

About Edit Product 1

Admin product editor with title, description, price and compare-at price, SKU and inventory fields, plus a media grid where chosen images preview locally before upload. Use it as the main edit screen of a storefront back office or a custom commerce admin.

Edit Product 1 is a free edit product block for React, built on shadcn/ui and Tailwind CSS. It ships as 152 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • product
  • form
  • admin
  • ecommerce
  • media
  • upload
  • pricing

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/edit-product-01

Dependencies installed automatically: lucide-react.

Uses: button, input, label, reveal, switch, textarea, utils.

Usage

import EditProduct01 from "@/components/blocks/edit-product-01"

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

FAQ