SaleKestrel K compact replica
Price: €129.00 was €149.00
Organisms · Carousel
A row of items that scrolls sideways. The browser does the scrolling, and Previous and Next move it a page at a time. Nothing ever moves on its own.
This page as Markdown, a plain-text copy for a coding agent (an AI tool that writes code).
1 to 3 of 6
const photo = (id: string) => ({ src: `/media/products/${id}.webp` })const OFFERS: Product[] = [ { id: 'kestrel-k', name: 'Kestrel K compact replica', href: '#kestrel-k', price: 12900, compareAtPrice: 14900, badge: 'Sale' }, { id: 'field-goggles', name: 'Field goggles', href: '#field-goggles', price: 3400, compareAtPrice: 3900, badge: 'Sale' }, { id: 'beam-600', name: 'Beam 600 rail light', href: '#beam-600', price: 2400, compareAtPrice: 2900 }, { id: 'speed-loader', name: 'Speed loader, 150 BBs', href: '#speed-loader', price: 790, compareAtPrice: 990 }, { id: 'magazine-amber', name: 'Amber magazine, 48 BBs', href: '#magazine-amber', price: 890, compareAtPrice: 1090 }, { id: 'knee-pads', name: 'Knee pads, pair', href: '#knee-pads', price: 2400, compareAtPrice: 2900 },].map(product => ({ ...product, image: photo(product.id) }))function ProductCardsExample() { const { toast } = useToast() return ( <Carousel label="Offers" itemWidth="min(16rem, 80%)"> {OFFERS.map(product => ( <ProductCard key={product.id} product={product} headingLevel={4} onAddToCart={added => toast({ title: 'Added to cart', description: added.name, tone: 'ok' })} /> ))} </Carousel> )}<ProductCardsExample />1 to 4 of 6
const STEPS = ['Unload', 'Disconnect', 'Wipe down', 'Clean the barrel', 'Check the hop-up', 'Store']<Carousel label="Cleaning steps" itemWidth="12rem"> {STEPS.map((step, index) => ( <div key={step} className="flex h-28 flex-col justify-between border border-[var(--color-border-hairline-strong)] p-4" > <span className="font-mono text-xs tabular-nums text-[var(--color-text-secondary)]"> {String(index + 1).padStart(2, '0')} </span> <span className="font-display font-semibold text-[var(--color-text-primary)]">{step}</span> </div> ))}</Carousel>1 to 3 of 3
<Carousel label="Kestrel lengths" itemWidth="8rem"> {['Kestrel K', 'Kestrel C', 'Kestrel L'].map(name => ( <div key={name} className="flex h-20 items-center justify-center border border-[var(--color-border-hairline-strong)] font-display font-semibold text-[var(--color-text-primary)]" > {name} </div> ))}</Carousel>| Part | What it is |
|---|---|
| Region | A section with aria-roledescription="carousel", named by the label. (ARIA, Accessible Rich Internet Applications, is a set of attributes that tell screen readers what an element is.) |
| Position | Monospaced text such as "1 to 3 of 8", saying which items are showing. It updates on every scroll, but it isn't a live region, so screen readers don't read it out each time. |
| Previous / Next | Secondary IconButtons, placed before the items in the Tab order. At the ends they're marked aria-disabled instead of disabled, so each stays a tab stop (a place the Tab key lands). |
| Track | A list that's the browser's own scroll container, with scroll snap and no visible scrollbar. It's padded on all four sides, so an item at the edge draws its focus ring inside the track. |
| Item | A list item, one per child, at the item width. The edge of the next one always shows. |
| Status | Hidden from view, read by screen readers. Says where the track stopped after a press on Previous or Next. |
| Keys | Result |
|---|---|
| Tab | Moves to Previous, then Next, then through anything focusable in each item. An item scrolls into view as it takes focus. |
| EnterSpace | On Previous or Next, scrolls one page of items. Does nothing (it's inert) at the matching end. |
| ←→ | Scroll the track when the track itself has focus. The track is only a tab stop when no item holds anything focusable. |