Skip to main content
Version: Next

IconCloud API

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

Props​

PropTypeDescription
autoFitboolean
centerSizenumber | string
childrenReact.ReactNode
depthnumber | string
directionIconCloudDirection
elevationIconCloudElevation
interactiveboolean
itemSizenumber | string
paddingnumber | string
pausedboolean
pauseOnFocusboolean
pauseOnHoverboolean
pauseOnItemHoverboolean
perspectivenumber | string
radiusnumber | string
sizeIconCloudSize
speednumber | string
surfaceRadiusnumber | string
toneIconCloudTone
variantIconCloudVariant

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

IconCloud.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).

IconCloud.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-icon-cloud>​

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

Attributes: auto-fit, center-size, depth, direction, elevation, interactive, item-size, padding, pause-on-focus, pause-on-hover, pause-on-item-hover, paused, perspective, radius, size, speed, surface-radius, tone, variant