Skip to main content
Version: Next

Orbiter API

import { Orbiter } from '@editora/ui-react';

Props​

PropTypeDescription
animationOrbiterAnimation
centerSizenumber | string
childrenReact.ReactNode
delaynumber | string
directionOrbiterDirection
durationnumber | string
elevationOrbiterElevation
iconSizenumber | string
itemSizenumber | string
orbitRadiusnumber | string
paddingnumber | string
pathboolean
pausedboolean
pauseOnFocusboolean
pauseOnHoverboolean
pauseOnItemHoverboolean
radiusnumber | string
reverseboolean
ringGapnumber | string
ringsnumber | string
showPathsboolean
sizeOrbiterSize
speednumber | string
startAnglenumber | string
surfaceRadiusnumber | string
toneOrbiterTone
variantOrbiterVariant

Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).

Orbiter.Item props​

PropTypeDescription
askeyof JSX.IntrinsicElements
childrenReact.ReactNode
clickableboolean
disabledboolean
hrefstring
relstring
targetstring
type'button' | 'submit' | 'reset'

Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).

Orbiter.Center props​

PropTypeDescription
askeyof JSX.IntrinsicElements
childrenReact.ReactNode

Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).

Element: <ui-orbiter>​

Orbiter renders the ui-orbiter custom element from @editora/ui-core, which can also be used without React.

Attributes: animation, center-size, delay, direction, duration, elevation, icon-size, item-size, orbit-radius, padding, path, pause-on-focus, pause-on-hover, pause-on-item-hover, paused, radius, reverse, ring-gap, rings, show-paths, size, speed, start-angle, surface-radius, tone, variant