Yamada UIにスターをあげる

スター
Yamada UIYamada UIv1.5.1

Skeleton

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

ソース@yamada-ui/skeleton

Props

SkeletonProps

colorScheme

説明

The visual color appearance of the component.

タイプ

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

endColor

説明

The color at the animation end.

タイプ

UIValue<"border" | "link" | Color | "current" | "focus" | "whiteAlpha.50" | "whiteAlpha.100" | "whiteAlpha.200" | "whiteAlpha.300" | "whiteAlpha.400" | "whiteAlpha.500" | ... 319 more ... | "link.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" | "link" | Color | "current" | "focus" | "whiteAlpha.50" | "whiteAlpha.100" | "whiteAlpha.200" | "whiteAlpha.300" | "whiteAlpha.400" | "whiteAlpha.500" | ... 319 more ... | "link.950">

variant

説明

The variant of the Skeleton.

タイプ

string

SkeletonCircleProps

endColor

説明

The color at the animation end.

タイプ

UIValue<"border" | "link" | Color | "current" | "focus" | "whiteAlpha.50" | "whiteAlpha.100" | "whiteAlpha.200" | "whiteAlpha.300" | "whiteAlpha.400" | "whiteAlpha.500" | ... 319 more ... | "link.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" | "link" | Color | "current" | "focus" | "whiteAlpha.50" | "whiteAlpha.100" | "whiteAlpha.200" | "whiteAlpha.300" | "whiteAlpha.400" | "whiteAlpha.500" | ... 319 more ... | "link.950">

SkeletonTextProps

endColor

説明

The color at the animation end.

タイプ

UIValue<"border" | "link" | Color | "current" | "focus" | "whiteAlpha.50" | "whiteAlpha.100" | "whiteAlpha.200" | "whiteAlpha.300" | "whiteAlpha.400" | "whiteAlpha.500" | ... 319 more ... | "link.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" | "link" | Color | "current" | "focus" | "whiteAlpha.50" | "whiteAlpha.100" | "whiteAlpha.200" | "whiteAlpha.300" | "whiteAlpha.400" | "whiteAlpha.500" | ... 319 more ... | "link.950">

textHeight

説明

The CSS height property.

タイプ

UIValue<number | (string & {}) | "px" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "sm" | "md" | "lg" | "xl" | "2xl" | "1" | "2" | "3" | "4" | "5" | "6" | ... 63 more ... | "9xl">

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

LoadingProgress