Pittaya UI
Pittaya UI
Links

Search Components

Search for components by name, description, category or tags

Componentsstable

Orbit images

A scroll-activated orbit animation that places images around concentric circles and keeps them rotating once fully visible.

Profile 1
Profile 2
Profile 3
Profile 4
Profile 5
Profile 6

Build trust and highlight your community with a dynamic orbit.

Installation

Install the component directly into your project using the Pittaya CLI.

npx pittaya@latest add orbit-images

When to use

Use this orbit animation to showcase testimonials, team avatars, or brand logos in a dynamic way that reacts to the user's scroll position.

It is ideal for hero sections where you want to highlight motion and visual storytelling without relying on heavy video assets.

Best practices

  • Provide at least four images to ensure the orbit feels balanced and avoid uneven clustering.
  • Prefer square assets with generous borders to preserve clarity in smaller device breakpoints.
  • Combine the component with contrasting background colors so the animated borders remain visible in both light and dark mode.

Accessibility

Ensure that every orbit image includes descriptive alternative text so screen readers can communicate who or what is represented in the animation.

The call-to-action button inherits focus styles from the design system. Keep the contrast ratio high and verify that keyboard users can reach the button without interference from the animated layers.

Avoid relying solely on motion to convey meaning. Pair the orbit with supporting copy that clarifies the intent of the showcased community or logos.

Examples

Combine variants and sizes to meet your needs.

Basic orbit

Scroll until the orbit reaches 80% of the viewport to expand the circles and trigger the rotation.

Profile 1
Profile 2
Profile 3
Profile 4
Profile 5
Profile 6

Build trust and highlight your community with a dynamic orbit.

Properties

TSX interface that combines variants and default attributes.

PropTypeDefaultDescription
titleRequired
stringSupporting copy rendered inside the orbit to reinforce the visual message.
buttonTextRequired
stringCall to action label displayed below the orbit title.
classNameButton
stringTailwind classes to extend the CTA button styling.
outsideBorderColor
stringborder-rose-400/60Utility classes to customize the outer circle border color.
middleBorderColor
stringborder-rose-400/80Utility classes to customize the middle circle border color.
innerBorderColor
stringborder-rose-400Utility classes to customize the inner circle border color.
imagesRequired
string[]List of image URLs to distribute evenly around the orbit. Accepts any length.
autoPlay
booleanfalseWhen true, starts the animation immediately without requiring scroll. Useful for previews and demos.