Cart Drawer – smoother, faster ecommerce UX
A custom, accessible cart drawer that replaced unreliable third-party carts and gave merchants a native place for Vitals upsells.
At a glance
- The problem
- Merchants relied on inconsistent third-party cart solutions that hurt retention and made it hard to surface Vitals upsell modules in a reliable, accessible way.
- What I did
- Starting from competitive analysis and best-practice research, I designed a modular, atomic cart drawer in Figma, baked in accessibility from day one, tested responsive variants across real devices, and built the merchant admin on Shopify Polaris, working closely with engineering throughout.
- The outcome
- A performant, accessible cart experience with improved UX consistency, reduced support tickets, and new upsell opportunities unlocked for merchants.
- My role
- Lead Product Designer (solo)
- Status
- 4–5 weeks (discovery to handoff)
- Scope
- Built a custom cart drawer to replace unreliable third-party solutions, improving retention and giving merchants a built-in way to sell more with Vitals. The new drawer works like a native Shopify cart, includes custom elements like Announcement Bars and Cart Notices, and supports all Vitals modules: Upsell Builder, Product Bundles, Volume Discounts, Gifts, and Spending Goals.
- Result
- A performant, accessible cart experience, improved UX consistency, reduced support tickets, and unlocked new upsell opportunities.
01
UI/UX process
We kicked off the design process with competitive analysis and best-practice research, focusing on strategies proven to increase conversions in cart interfaces.
Key UX principles we followed:
- 01
Clear product information: each product in the cart displays a thumbnail image, name, specifications (like size or color), and quantity, so users can easily review their order.
- 02
Focused layout: we limited the number of upsells and promotions shown, to keep the path to checkout short.
- 03
Persistent checkout: the checkout button stays visible on every screen size.
- 04
Accessibility: the drawer works with screen readers and can be fully navigated by keyboard, with WCAG-compliant contrast and tap targets large enough to hit on any device.
02
Design system & component structure in Figma
To ensure consistency, speed up implementation, and make the cart drawer scalable across merchant setups, we built the UI using atomic, reusable Figma components.
We broke the drawer into modular sections (Products, Upsells, Sticky Checkout, Spending Goal, Order Note and Discount Summary), each designed as a separate component with variations (collapsed/expanded, filled/empty) that stay visually and functionally consistent.
- 01
Used Figma variants and component properties (boolean toggles, instance swaps) to manage complexity while keeping the file easy for developers and collaborators.
- 02
Built the entire drawer in a modular layout to support future iterations and A/B testing without redesigning from scratch.
03
Component design & developer handoff
We set up a shared workflow with engineering so handoff was quick:
- 01
A shared Figma library with components and tokens, enabling faster dev handoff.
- 02
Clear documentation on naming conventions, behavior specs, and edge cases.
- 03
Regular syncs to discuss blockers, performance optimizations, and accessibility fixes.
- 04
A post-launch feedback loop to iterate based on real merchant usage and evolving product needs.
04
Accessibility
We wanted the drawer to be usable by as many people as possible, including those navigating with screen readers, keyboards, or assistive technologies.
- 01
ARIA labels & landmarks: role="dialog" for proper modal semantics, aria-labelledby tied to the heading, aria-describedby for upsell and discount context, and careful aria-hidden use to keep screen-reader focus inside the drawer.
- 02
Keyboard navigation: a logical tab order, focus trapping while the drawer is open, and ESC-to-close that mirrors modal dialog behavior.
- 03
Color & contrast: WCAG 2.1 AA contrast ratios for all text, especially interactive elements like buttons, notices, messages, and discount badges.
- 04
Tap target sizes: quantity selectors, remove buttons, and upsell CTAs all designed with a minimum 44×44px hit area to prevent frustration on mobile.
05
Responsive design: variants by device
We designed and tested the drawer across a range of screen resolutions, each breakpoint chosen to represent real devices in our customer base and to surface layout or behavior inconsistencies.
Edge cases handled:
- 01
Overflow & scroll: every variant has scroll logic when content exceeds viewport height.
- 02
Content scaling: typography and icons scale slightly down on smaller breakpoints.
- 03
Touch targets: all tap areas meet minimum guidelines for mobile usability.
- 04
Safe areas: padding adjusted for device safe zones (iOS notch, bottom bars).
06
User admin
The admin is built on Shopify Polaris, so it feels native and inherits Polaris’ accessibility.
Working within Polaris constraints, we used Figma components that mirrored Polaris patterns so handoff was straightforward, with a few adjustments to bridge the gap between Polaris defaults and our custom needs:
- 01
Preview embeds: since Polaris doesn't natively support live previews, we designed a scrollable drawer mock inside the admin for real-time visual feedback.
- 02
Custom component overlays: certain settings (e.g. upsell rules) were layered with collapsible panels and helper tooltips to reduce visual overload.
07
What I learned
- 01
Simplifying a flow often means removing choices, not adding features.
- 02
Screen reader and keyboard issues are cheapest to fix in the spec. Bringing developers and testers in at the design stage caught them before build.
