QuickBuyBar

molecules

Sticky quick-buy bar at bottom of event page — event name, date, price from, and 'Buy Now' CTA. Appears on scroll past hero. Critical UX pattern: 3-click purchase flow.

ARIA Role: complementary

Demo

Demo for QuickBuyBar (molecules)

Sticky quick-buy bar at bottom of event page — event name, date, price from, and 'Buy Now' CTA. Appears on scroll past hero. Critical UX pattern: 3-click purchase flow.

Props

PropTypeRequiredDefaultDescription
eventNamestringYes
eventDatestringYes
priceFromnumberYes
currencystringNo'USD'
onBuyNow() => voidYes
isLoadingbooleanNoFalse

TypeScript Interface

interface QuickBuyBarProps {
  eventName: string;
  eventDate: string;
  priceFrom: number;
  currency: string;
  onBuyNow: () => void;
  isLoading?: boolean;
}

Assertions (NASA Rule 5)

  • [type]priceFrom must be positive number(NASA Rule 5)
  • [aria]Buy Now button must have aria-label with event name(WCAG 4.1.2)

Usage

Import

import { Quickbuybar } from '@epasslive/design-system'

Basic

<Quickbuybar />

With Variants

<Quickbuybar variant="primary" size="md" />