IconCloud API
import { IconCloud } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
autoFit | boolean | |
centerSize | number | string | |
children | React.ReactNode | |
depth | number | string | |
direction | IconCloudDirection | |
elevation | IconCloudElevation | |
interactive | boolean | |
itemSize | number | string | |
padding | number | string | |
paused | boolean | |
pauseOnFocus | boolean | |
pauseOnHover | boolean | |
pauseOnItemHover | boolean | |
perspective | number | string | |
radius | number | string | |
size | IconCloudSize | |
speed | number | string | |
surfaceRadius | number | string | |
tone | IconCloudTone | |
variant | IconCloudVariant |
Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).
IconCloud.Item props
| Prop | Type | Description |
|---|---|---|
as | keyof JSX.IntrinsicElements | |
children | React.ReactNode | |
clickable | boolean | |
disabled | boolean | |
href | string | |
rel | string | |
target | string | |
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
| Prop | Type | Description |
|---|---|---|
as | keyof JSX.IntrinsicElements | |
children | React.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