0Views
0Copies

API Reference
Props for <ArcPhotoWheel />
| Prop | Type | Default | Description |
|---|---|---|---|
| backgroundColor | string | "rgba(0, 0, 0, 0)" | The surface behind the cards; fully transparent shows the page through. |
| accentColor | string | "#2f72a6" | Icons, the eyebrow and the chips’ icons in the booking window. |
| buttonFromColor | string | "#a6cdea" | The top of the buttons’ gradient, also on the chosen time and the host’s badge. |
| buttonToColor | string | "#4f90c8" | The bottom of the buttons’ gradient; the focus ring and faces are mixed from it. |
| buttonTextColor | string | "#ffffff" | The text on the buttons. |
| surfaceColor | string | "#ffffff" | The booking window’s panel. |
| textColor | string | "#1b2a37" | The booking window’s text. |
| mutedColor | string | "#5b6b79" | The booking window’s quieter text. |
| chipColor | string | "#eef5fb" | Chips and the host row, and the cards’ fill while a picture loads. |
| lineColor | string | "#e1e8ee" | Field and time-slot outlines. |
| overlayColor | string | "rgba(15, 28, 40, 0.45)" | The dimming behind the booking window. |
| cardTextColor | string | "#ffffff" | The name and length on each card. |
| glassColor | string | "rgba(27, 42, 55, 0.16)" | The tint of the frosted strip behind the name in the glass style, and of the shade and the number’s chip in the index style. |
| pillColor | string | "#ffffff" | The Join pill on each card. |
| pillTextColor | string | "#1b2a37" | The Join pill’s text. |
| paperColor | string | "#ffffff" | The paper round the picture in the postcard style; its caption takes the text colors. |
| Prop | Type | Default | Description |
|---|---|---|---|
| timeSlots | string[] | ["Mon 7:00 am","Wed 6:30 pm","Fri 12:15 pm","Sat 9:00 am"] | The times offered in the booking window; none hides the choice. |
| font | FontValue | {"fontFamily":"Outfit"} | Every word except the headings. The component doesn’t load the font: add it to your app. |
| headingFont | FontValue | {"fontFamily":"DM Serif Display"} | The name over the picture and the confirmation’s title. The component doesn’t load the font: add it to your app. |
| cardStyle | 'glass' | 'postcard' | 'index' | "glass" | How each card is dressed: frosted glass over the picture, a paper postcard with a caption under it, or a numbered full-bleed print with its name set large and an arrow. |
| Prop | Type | Default | Description |
|---|---|---|---|
| cardHeight | number | 300 | A card’s height on a 1280 × 800 container; it scales with the container’s width or height, whichever is tighter, from 96px up to 1.75 times this. |
| cardRatio | number | 85 | A card’s width, of its height. |
| cornerRadius | number | 22 | How round the cards’ corners are. |
| arcRadius | number | 3.4 | The circle’s radius, in card heights: more is a flatter arc. |
| cardCount | number | 15 | How many cards fit round the whole circle: more sits them closer together. |
| topOffset | number | 40 | The gap above the top card. On a container taller than it is wide, such as a phone, the arc is centred instead, never closer to the top than this. |
| speed | number | 5 | How far the arc turns each second on its own; 0 holds it still between gestures. |
| scrollable | boolean | true | A scroll or vertical swipe over the parent turns the arc one card instead of scrolling the page. |
| Prop | Type | Default | Description |
|---|---|---|---|
| items | Array<{ image, title, duration, level, host, hostRole, rating, reviews, joined, spots, capacity, description, highlights, alt }> | [{"image":"/motionuikit/images/solace-yoga-vinyasa.webp","alt":"Woman reaching up in a warrior pose on a rug in a bright white studio hung with plants","title":"Vinyasa flow","duration":"60 min","level":"All levels","host":"Maya Reyes","hostRole":"Lead vinyasa teacher · 9 yrs","rating":"4.9","reviews":"312","joined":"1,240","spots":4,"capacity":16,"description":"Breath-led sequences that keep you moving.","highlights":"Sun salutations that build steady heat\nFlowing standing sequences, linked to the breath\nA long, quiet savasana to close"},{"image":"/motionuikit/images/solace-yoga-aerial.webp","alt":"Woman hanging upside down in a lilac aerial hammock in a pale studio","title":"Aerial","duration":"75 min","level":"Beginner","host":"Lena Kovač","hostRole":"Aerial & circus coach · 7 yrs","rating":"4.8","reviews":"186","joined":"640","spots":2,"capacity":8,"description":"Hammock work for strength and inversions.","highlights":"Safe hammock set-up and grips\nSupported inversions for the spine\nFloating relaxation in the silk"},{"image":"/motionuikit/images/solace-yoga-yin.webp","alt":"Woman sitting cross-legged in a gentle twist on a mat against a white wall","title":"Yin","duration":"60 min","level":"Slow","host":"Sara Mendes","hostRole":"Yin & restorative teacher · 11 yrs","rating":"4.9","reviews":"264","joined":"980","spots":7,"capacity":18,"description":"Long, quiet holds for deep release.","highlights":"Long floor holds of three to five minutes\nGentle work for hips, spine and fascia\nGuided breath to settle the mind"},{"image":"/motionuikit/images/solace-yoga-partner.webp","alt":"Couple in a partner backbend, he kneels holding her raised feet in a bright studio with plants","title":"Partner","duration":"60 min","level":"Pairs","host":"Noah & Ava Lind","hostRole":"Partner & acro duo · 6 yrs","rating":"4.7","reviews":"142","joined":"520","spots":6,"capacity":12,"description":"Balance and trust, practised in pairs.","highlights":"Trust-building balances in pairs\nAssisted stretches you can’t do alone\nCome with a friend or be paired up"},{"image":"/motionuikit/images/solace-yoga-meditation.webp","alt":"Woman meditating cross-legged between sheer white curtains","title":"Meditation","duration":"30 min","level":"Guided","host":"Ravi Patel","hostRole":"Meditation guide · 14 yrs","rating":"5.0","reviews":"408","joined":"2,130","spots":9,"capacity":24,"description":"Guided sits for a steadier mind.","highlights":"Seated breathwork to arrive\nA guided body scan and stillness\nSimple practices to take home"}] | The cards in order round the arc; they repeat to fill it. Each one opens its own booking window. |
| labels | { join, eyebrow, intro, highlightsTitle, pickTime, name, namePlaceholder, email, emailPlaceholder, submit, note, doneTitle, doneDetail, done, reviews, joined, spots, close } | {"join":"Join","eyebrow":"Join a class","intro":"Bring nothing but yourself, we have mats, blocks and water.","highlightsTitle":"In this class","pickTime":"Pick a time","name":"Name","namePlaceholder":"Your name","email":"Email","emailPlaceholder":"you@example.com","submit":"Reserve my spot","note":"Your first class is free. Cancel any time.","doneTitle":"You’re booked in","doneDetail":"We’ve sent the details to your inbox. See you on the mat.","done":"Done","reviews":"({count} reviews)","joined":"{count} joined","spots":"{spots} of {capacity} spots left","close":"Close"} | Every word in the booking window. |
| fade | boolean | true | The cards fade out as the arc falls away at the sides. |
| Prop | Type | Default | Description |
|---|---|---|---|
| onBook | (booking: { item: ArcPhotoWheelItem; slot: string; name: string; email: string }) => void | — | Called when a booking is sent, before the confirmation shows. |
Motion score
Measure before composite
- Category
- Image Gallery
- Framework
- React
- Published
- Dec 4, 2026
- Dependencies
- Variants
Arc Photo Wheel: a curved slider for React
Picture cards ride a wide arc that curves down at both sides and drifts slowly clockwise. Each scroll or swipe turns it one card along. Press the pill on a card and a booking window opens over the page.
Use Arc Photo Wheel as a curved slider for classes, tours, events or rooms for hire, where every card leads to a booking. Set the cards, the times, every label and the curve of the arc. It's a Pro React component for Next.js, Vite and Astro with Tailwind CSS v4. More in this category.
What is Arc Photo Wheel?#
Arc Photo Wheel is a curved slider for React that sets picture cards on a wide arc, with its center far below them. It works like a picture wheel: the cards drift clockwise on their own, and a scroll or swipe turns them one card along. Each card has a Join pill that opens a booking window, so browsing and booking happen in one place.
How Arc Photo Wheel works#
The arc turns speed degrees a second (5); set it to 0 and it only moves when someone scrolls or swipes. With scrollable on, a scroll or a vertical swipe over the parent turns the arc by one card instead of scrolling the page. arcRadius (3.4 card heights) sets the curve, and a higher value flattens the arc slider. cardCount (15) sets how many cards fit round the circle, and with fade on, cards fade out as the arc drops away at the sides. It's built with Motion and lucide-react icons, with no canvas or WebGL.
The booking window shows the card's picture, length, level, host, rating, description and highlights, then up to eight time slots and a name and email form. Sending it calls onBook with the card, time, name and email, then shows a confirmation. Focus moves into the window, Escape closes it, and focus goes back to the pill.
Customization options#
In the Customize panel, change the cards, time slots, booking labels, 16 colors, both fonts and cardStyle (glass, postcard or index). You can also set the card height, width and corners, the arc's curve and spacing, and how fast the picture wheel drifts, then save a look as a variant and install. In the source, connect onBook to your own booking service. The fonts aren't bundled, so load Outfit and DM Serif Display, or your own, in your app. While scrollable is on, scrolling over the component turns the wheel instead of the page, so turn it off if the wheel sits inside a long page.
Use cases#
- Fitness and yoga studios, with Default: class cards in frosted glass that open a booking for the next session.
- Travel companies, with Small-Group Tours: paper postcards dealt slightly askew round a flatter arc, on warm sand.
- Festivals and venues, with Festival Stages: square cards on a tight, faster arc in neon magenta on near-black.
- Studios and rooms for hire, with Shoot Locations: a photo wheel of numbered full-bleed prints on a flat, close-packed arc.
FAQs#
It's a slider whose items sit along a curve instead of a straight row, so the next ones peek in from the sides. Arc Photo Wheel curves its cards along a circle and turns them one card at a time.
No. The form calls onBook with the card, time, name and email, then shows its confirmation. Connect onBook to
your own backend or email service to receive bookings.
No. Arc Photo Wheel is a Pro component, included in every paid plan. Anything you install stays yours after your plan ends.
It's a React component for Next.js, Vite and Astro with Tailwind CSS v4. In a JavaScript project, the CLI converts
it to a .jsx file.