Yamada UIにスターをあげる

スター
Yamada UIYamada UIv1.5.1

Stepper

Stepperは、複数のステップのプロセスの進行状況を表示するコンポーネントです。

ソース@yamada-ui/stepper

Props

StepperProps

index

必須

説明

The active step index.

タイプ

number

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"

デフォルト

primary

orientation

説明

The orientation of the stepper.

タイプ

"horizontal" | "vertical"

デフォルト

'horizontal'

showLastSeparator

説明

Whether to show or not the last separator while in vertical orientation.

タイプ

boolean

デフォルト

false

size

説明

The size of the Stepper.

タイプ

"sm" | "md" | "lg"

デフォルト

md

steps

説明

If provided, generate step components based on steps.

タイプ

Steps

variant

説明

The variant of the Stepper.

タイプ

string

UseStepsProps

count

タイプ

number

index

タイプ

number

StepProps

StepTitleProps

StepDescriptionProps

StepSeparatorProps

StepStatusProps

active

タイプ

string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | ((props: Omit<...>) => ReactNode)

complete

タイプ

string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | ((props: Omit<...>) => ReactNode)

incomplete

タイプ

string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | ((props: Omit<...>) => ReactNode)

StepNumberProps

StepIconProps

size

非推奨

説明

The CSS font-size property.

非推奨

Use fontSize instead.

タイプ

UIValue<number | (string & {}) | "small" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "large" | "medium" | "x-large" | "x-small" | "xx-large" | "xx-small" | ... 16 more ... | "9xl">

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

Paginationディスクロージャー