Events Best Available Dialog
Best available seats for a performance.
No standalone preview for this component. Install it to see it in your project.
About this block
What it's for
- Best available seats for a performance.
- Auto-assign adjacent seats on a train or coach.
- Allocate a block of desks.
Includes
- Quantity select
- Area select
- Adjacent seat search
- No match guidance
- Add to basket
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19 and Tailwind CSS 4 in Next.js (App Router), Vite, React Router or TanStack Start, installed with the agentic-ui or 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 events-best-available-dialogInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/events-best-available-dialogUsed in
A standalone component: drop it into any screen.
- Type
- Block
- 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
- None beyond your project's React and Next.js
- Registry dependencies
events-capacity-gaugelib-billing-checkout-flowlib-events-qr-passlib-events-seat-maplib-motion-micro-interactionslib-motion-modal-enterlib-primitives- Files
6 files
- components/agentic-ui/events-best-available-dialog/components/best-available-dialog.tsx
- components/agentic-ui/events-best-available-dialog/components/ui.tsx
- components/agentic-ui/events-best-available-dialog/components/ticketing-store.tsx
- components/agentic-ui/events-best-available-dialog/lib/event-types.ts
- components/agentic-ui/events-best-available-dialog/lib/event-logic.ts
- components/agentic-ui/events-best-available-dialog/lib/fixtures.ts
Related components
Events Capacity Gauge
Event capacity gauge showing tickets sold against venue capacity by zone.
Details and live previewEvents QR Pass
Digital pass with a scannable QR code for access to conferences and events.
Details and live previewEvents Seat Map
Seat selection when buying tickets for a theater or stadium.
Details and live previewA11y Contrast Badge
Check in the browser whether the theme palette meets AA before opening the PR.
Details and live preview