Yamada UIにスターをあげる

スター
Yamada UIYamada UIv1.6.3

Skeleton

Skeletonは、コンテンツが読み込まれるまでのプレースホルダーとして機能するコンポーネントです。

ソース@yamada-ui/skeleton

Props

SkeletonProps

colorScheme

説明

The visual color appearance of the component.

タイプ

"blackAlpha" | "whiteAlpha" | "amber" | "blue" | "info" | "link" | "primary" | "cyan" | "emerald" | "flashy" | "fuchsia" | "gray" | "green" | "success" | "indigo" | "lime" | "neutral" | "orange" | "warning" | "pink" | "purple" | "red" | "danger" | "rose" | "sky" | "teal" | "violet" | "secondary" | "yellow"

endColor

説明

The color at the animation end.

タイプ

UIValue<"border" | Color | ({} & string) | "amber.50" | "amber.100" | "amber.200" | "amber.300" | "amber.400" | "amber.500" | "amber.600" | "amber.700" | "amber.800" | "amber.900" | ... 318 more ... | "yellow.950">

fadeDuration

説明

The fadeIn duration in seconds. Requires isLoaded toggled to true in order to see the transition.

タイプ

string | number

デフォルト

0.4

isFitContent

説明

If true, the skeleton will take the width of it's children.

タイプ

boolean

デフォルト

false

isLoaded

説明

If true, it'll render its children with a nice fade transition.

タイプ

boolean

デフォルト

false

size

説明

The size of the Skeleton.

タイプ

string

speed

説明

The animation speed in seconds.

タイプ

string | number

デフォルト

0.8

startColor

説明

The color at the animation start.

タイプ

UIValue<"border" | Color | ({} & string) | "amber.50" | "amber.100" | "amber.200" | "amber.300" | "amber.400" | "amber.500" | "amber.600" | "amber.700" | "amber.800" | "amber.900" | ... 318 more ... | "yellow.950">

variant

説明

The variant of the Skeleton.

タイプ

string

SkeletonCircleProps

endColor

説明

The color at the animation end.

タイプ

UIValue<"border" | Color | ({} & string) | "amber.50" | "amber.100" | "amber.200" | "amber.300" | "amber.400" | "amber.500" | "amber.600" | "amber.700" | "amber.800" | "amber.900" | ... 318 more ... | "yellow.950">

fadeDuration

説明

The fadeIn duration in seconds. Requires isLoaded toggled to true in order to see the transition.

タイプ

string | number

デフォルト

0.4

isFitContent

説明

If true, the skeleton will take the width of it's children.

タイプ

boolean

デフォルト

false

isLoaded

説明

If true, it'll render its children with a nice fade transition.

タイプ

boolean

デフォルト

false

speed

説明

The animation speed in seconds.

タイプ

string | number

デフォルト

0.8

startColor

説明

The color at the animation start.

タイプ

UIValue<"border" | Color | ({} & string) | "amber.50" | "amber.100" | "amber.200" | "amber.300" | "amber.400" | "amber.500" | "amber.600" | "amber.700" | "amber.800" | "amber.900" | ... 318 more ... | "yellow.950">

SkeletonTextProps

endColor

説明

The color at the animation end.

タイプ

UIValue<"border" | Color | ({} & string) | "amber.50" | "amber.100" | "amber.200" | "amber.300" | "amber.400" | "amber.500" | "amber.600" | "amber.700" | "amber.800" | "amber.900" | ... 318 more ... | "yellow.950">

fadeDuration

説明

The fadeIn duration in seconds. Requires isLoaded toggled to true in order to see the transition.

タイプ

string | number

デフォルト

0.4

isLoaded

説明

If true, it'll render its children with a nice fade transition.

タイプ

boolean

デフォルト

false

speed

説明

The animation speed in seconds.

タイプ

string | number

デフォルト

0.8

startColor

説明

The color at the animation start.

タイプ

UIValue<"border" | Color | ({} & string) | "amber.50" | "amber.100" | "amber.200" | "amber.300" | "amber.400" | "amber.500" | "amber.600" | "amber.700" | "amber.800" | "amber.900" | ... 318 more ... | "yellow.950">

textHeight

説明

The CSS height property.

タイプ

UIValue<number | "px" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | (string & {}) | "2xl" | "lg" | "md" | "sm" | "xl" | ({} & string) | "-moz-max-content" | ... 68 more ... | "xs">

GitHubでこのページを編集する

LoadingProgress