Commerce Returns Flow
Self-service return flow for a fashion or electronics ecommerce shopper.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this feature
What it's for
- Self-service return flow for a fashion or electronics ecommerce shopper.
- RMA request with prepaid label generation and a paperless QR code.
- Bonus store credit incentive versus a refund to the original credit card.
Includes
- Item selection
- Quantity stepper
- Final sale guards
- Reason selection
- Photo upload dropzone
- Store credit incentive
- Shipping label generation
- Qr code dropoff
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
Agentic UI CLI
agentic-ui add commerce-returns-flowInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/commerce-returns-flowUsed in
A standalone component: drop it into any screen.
- Type
- Feature
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- Sample data
- Ships with sample data in its own files; replace it with your own.
- npm packages
clsxlucide-reacttailwind-merge- Registry dependencies
- None
- Files
10 files
- components/agentic-ui/commerce-returns-flow/commerce-returns-flow.tsx
- components/agentic-ui/commerce-returns-flow/components/status-timeline-step.tsx
- components/agentic-ui/commerce-returns-flow/utils/returns-state.ts
- components/agentic-ui/commerce-returns-flow/utils/fixtures.ts
- components/agentic-ui/commerce-returns-flow/types.ts
- components/agentic-ui/commerce-returns-flow/utils/cn.ts
- components/agentic-ui/commerce-returns-flow/components/label-step.tsx
- components/agentic-ui/commerce-returns-flow/components/reason-method-step.tsx
- components/agentic-ui/commerce-returns-flow/components/items-selection-step.tsx
- components/agentic-ui/commerce-returns-flow/components/stage-rail.tsx
Related components
Commerce Cart Drawer
Storefront side cart opened from the header bag icon after add-to-cart.
Details and live previewCommerce Order Tracking
Order tracking page in an online store with statuses, ETA and the carrier's route map.
Details and live previewCommerce Promo Builder
Online store admin panel to define coupons and promotions with a cart preview.
Details and live previewCommerce Reviews Block
Customer ratings and reviews section on e-commerce product pages.
Details and live preview