Yamada UIにスターをあげる

スター
Yamada UIYamada UIv1.5.1

ScaleFade

ScaleFadeは、要素を次第に拡大して表示または縮小して非表示にするコンポーネントです。

ソース@yamada-ui/transitions

Props

ScaleFadeProps

as

タイプ

"symbol" | "object" | "clipPath" | "filter" | "mask" | "marker" | "text" | "g" | "p" | "big" | "link" | "small" | "sub" | "sup" | "style" | "animate" | "div" | "a" | "abbr" | "address" | ... 148 more ... | "textPath"

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"

delay

説明

Custom delay definition for enter and exit.

タイプ

number | Partial<Record<"exit" | "enter", number>>

duration

説明

Custom duration definition for enter and exit.

タイプ

number | Partial<Record<"exit" | "enter", number>>

enter

説明

Custom enter.

タイプ

any

isOpen

説明

Show the component. triggers when enter or exit states.

タイプ

boolean

reverse

説明

If true, the element will transition back to exit state.

タイプ

boolean

デフォルト

true

scale

説明

The initial scale of the element.

タイプ

number

デフォルト

0.95

size

説明

The size of the ScaleFade.

タイプ

string

transition

説明

Custom transition definition for enter and exit.

タイプ

Partial<Record<"exit" | "enter", Transition$1>>

transitionEnd

説明

Custom transitionEnd definition for enter and exit.

タイプ

Partial<Record<"exit" | "enter", MakeCustomValueType<TargetProperties>>>

unmountOnExit

説明

If true, the element will unmount when isOpen={false} and animation is done.

タイプ

boolean

variant

説明

The variant of the ScaleFade.

タイプ

string

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

FadeSlide