isOpen
必須説明
If true
, the open will be opened.
タイプ
boolean
Yamada UIにスターをあげる
スターModal
は、主要なコンテンツに重ねて表示され、ユーザーの注意を情報のみに集中させるコンポーネントです。
説明
If true
, the open will be opened.
タイプ
boolean
タイプ
string
タイプ
string
説明
Handle zoom or pinch gestures on iOS devices when scroll locking is enabled.
タイプ
boolean
デフォルト
false.
説明
The animation of the tooltip.
タイプ
"none" | "bottom" | "left" | "right" | "top" | "scale"
デフォルト
'scale'
タイプ
string
タイプ
Booleanish
タイプ
"list" | "none" | "inline" | "both"
タイプ
string
タイプ
string
タイプ
Booleanish
タイプ
boolean | "true" | "false" | "mixed"
タイプ
number
タイプ
number
タイプ
string
タイプ
number
タイプ
string
タイプ
type ONLY_FOR_FORMAT =
| boolean
| "time"
| "true"
| "false"
| "step"
| "page"
| "location"
| "date"
タイプ
string
タイプ
string
タイプ
string
タイプ
Booleanish
タイプ
"link" | "none" | "copy" | "execute" | "move" | "popup"
タイプ
string
タイプ
Booleanish
タイプ
string
タイプ
Booleanish
タイプ
type ONLY_FOR_FORMAT =
| boolean
| "dialog"
| "menu"
| "true"
| "false"
| "grid"
| "listbox"
| "tree"
タイプ
boolean | "true" | "false" | "grammar" | "spelling"
タイプ
string
タイプ
string
タイプ
string
タイプ
number
タイプ
"off" | "assertive" | "polite"
タイプ
Booleanish
タイプ
Booleanish
タイプ
Booleanish
タイプ
"horizontal" | "vertical"
タイプ
string
タイプ
string
タイプ
number
タイプ
boolean | "true" | "false" | "mixed"
タイプ
Booleanish
タイプ
type ONLY_FOR_FORMAT =
| "text"
| "all"
| "additions"
| "additions removals"
| "additions text"
| "removals"
| "removals additions"
| "removals text"
| "text additions"
| "text removals"
タイプ
Booleanish
タイプ
string
タイプ
number
タイプ
number
タイプ
string
タイプ
number
タイプ
Booleanish
タイプ
number
タイプ
"none" | "ascending" | "descending" | "other"
タイプ
number
タイプ
number
タイプ
number
タイプ
string
タイプ
"symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | ... 149 more ... | "view"
タイプ
string
タイプ
string
説明
If true
, the first focusable element within the children
will auto-focused once FocusLock
mounts.
タイプ
boolean
デフォルト
false
タイプ
string
説明
If true
, scrolling will be disabled on the body
when the modal opens.
タイプ
boolean
デフォルト
true
タイプ
string
説明
If true
, the modal will close when the Esc
key is pressed.
タイプ
boolean
デフォルト
true
説明
If true
, the modal will close when the overlay is clicked.
タイプ
boolean
デフォルト
true
説明
The visual color appearance of the component.
タイプ
"whiteAlpha" | "blackAlpha" | "gray" | "neutral" | "red" | "rose" | "pink" | "flashy" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia"
タイプ
string
タイプ
"inherit" | Booleanish | "plaintext-only"
タイプ
string
タイプ
{ __html: string | TrustedHTML }
タイプ
string
タイプ
boolean
タイプ
string | number | readonly string[]
タイプ
string
タイプ
Booleanish
説明
The animation duration.
タイプ
number | Partial<Record<"exit" | "enter", number>>
説明
ref
of the element to return focus to when FocusLock
unmounts.
タイプ
RefObject<FocusableElement>
タイプ
string
説明
ref
of the element to receive focus initially.
タイプ
RefObject<FocusableElement>
タイプ
any
タイプ
type ONLY_FOR_FORMAT =
| "search"
| "text"
| "none"
| "tel"
| "url"
| "email"
| "numeric"
| "decimal"
タイプ
string
タイプ
string
タイプ
string
タイプ
string
タイプ
boolean
タイプ
string
タイプ
string
説明
Enables aggressive focus capturing within iframes.
- If true
: keep focus in the lock, no matter where lock is active.
- If false
: allows focus to move outside of iframe.
タイプ
boolean
デフォルト
false
タイプ
string
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
AnimationEventHandler<HTMLElement>
タイプ
AnimationEventHandler<HTMLElement>
タイプ
AnimationEventHandler<HTMLElement>
タイプ
AnimationEventHandler<HTMLElement>
タイプ
AnimationEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
FormEventHandler<HTMLElement>
タイプ
FormEventHandler<HTMLElement>
タイプ
FocusEventHandler<HTMLElement>
タイプ
FocusEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
FormEventHandler<HTMLElement>
タイプ
FormEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
説明
Callback invoked to close the modal.
タイプ
() => void
説明
Callback function to run side effects after the modal has closed.
タイプ
() => void
タイプ
CompositionEventHandler<HTMLElement>
タイプ
CompositionEventHandler<HTMLElement>
タイプ
CompositionEventHandler<HTMLElement>
タイプ
CompositionEventHandler<HTMLElement>
タイプ
CompositionEventHandler<HTMLElement>
タイプ
CompositionEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
ClipboardEventHandler<HTMLElement>
タイプ
ClipboardEventHandler<HTMLElement>
タイプ
ClipboardEventHandler<HTMLElement>
タイプ
ClipboardEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
DragEventHandler<HTMLElement>
タイプ
DragEventHandler<HTMLElement>
タイプ
DragEventHandler<HTMLElement>
タイプ
DragEventHandler<HTMLElement>
タイプ
DragEventHandler<HTMLElement>
タイプ
DragEventHandler<HTMLElement>
タイプ
DragEventHandler<HTMLElement>
タイプ
DragEventHandler<HTMLElement>
タイプ
DragEventHandler<HTMLElement>
タイプ
DragEventHandler<HTMLElement>
タイプ
DragEventHandler<HTMLElement>
タイプ
DragEventHandler<HTMLElement>
タイプ
DragEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
説明
Callback fired when the escape key is pressed and focus is within modal.
タイプ
() => void
タイプ
FocusEventHandler<HTMLElement>
タイプ
FocusEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
FormEventHandler<HTMLElement>
タイプ
FormEventHandler<HTMLElement>
タイプ
FormEventHandler<HTMLElement>
タイプ
FormEventHandler<HTMLElement>
タイプ
KeyboardEventHandler<HTMLElement>
タイプ
KeyboardEventHandler<HTMLElement>
タイプ
KeyboardEventHandler<HTMLElement>
タイプ
KeyboardEventHandler<HTMLElement>
タイプ
KeyboardEventHandler<HTMLElement>
タイプ
KeyboardEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
タイプ
MouseEventHandler<HTMLElement>
説明
Callback fired when the overlay is clicked.
タイプ
() => void
タイプ
ClipboardEventHandler<HTMLElement>
タイプ
ClipboardEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
PointerEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
FormEventHandler<HTMLElement>
タイプ
FormEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
UIEventHandler<HTMLElement>
タイプ
UIEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
FormEventHandler<HTMLElement>
タイプ
FormEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
TouchEventHandler<HTMLElement>
タイプ
TouchEventHandler<HTMLElement>
タイプ
TouchEventHandler<HTMLElement>
タイプ
TouchEventHandler<HTMLElement>
タイプ
TouchEventHandler<HTMLElement>
タイプ
TouchEventHandler<HTMLElement>
タイプ
TouchEventHandler<HTMLElement>
タイプ
TouchEventHandler<HTMLElement>
タイプ
TransitionEventHandler<HTMLElement>
タイプ
TransitionEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
ReactEventHandler<HTMLElement>
タイプ
WheelEventHandler<HTMLElement>
タイプ
WheelEventHandler<HTMLElement>
説明
The CSS padding
property.
タイプ
UIValue<number | "initial" | "inherit" | (string & {}) | "px" | "-moz-initial" | "revert" | "revert-layer" | "unset" | "normal" | "sm" | "md" | "lg" | "xl" | "2xl" | "1" | "-1" | "2" | "-2" | ... 72 more ... | "-3.5">
説明
The placement of the modal.
タイプ
UIValue<| "center"
| "bottom"
| "left"
| "right"
| "top"
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right">
デフォルト
'center'
説明
Props to be forwarded to the portal component.
タイプ
Omit<PortalProps, "children">
タイプ
string
タイプ
string
タイプ
string
タイプ
string
タイプ
string
説明
If true
, focus will be restored to the element that triggered the FocusLock
once it unmounts.
タイプ
boolean
デフォルト
false
タイプ
number
タイプ
string
タイプ
AriaRole
説明
Where scroll behavior should originate.
- inside
: scroll only occurs within the ModalBody
.
- outside
: the entire ModalContent
will scroll within the viewport.
タイプ
"outside" | "inside"
デフォルト
'inside'
タイプ
string
説明
The size of the Modal.
タイプ
"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full"
デフォルト
md
タイプ
string
タイプ
Booleanish
タイプ
boolean
タイプ
boolean
タイプ
number
タイプ
string
タイプ
"yes" | "no"
タイプ
string
タイプ
"on" | "off"
説明
The variant of the Modal.
タイプ
string
タイプ
string
説明
If true
, display the modal close button.
タイプ
boolean
デフォルト
true
説明
If true
, display the modal overlay.
タイプ
boolean
デフォルト
true
説明
If true
, disable ripple effects when pressing a element.
タイプ
boolean
デフォルト
false
説明
If true
, the button is disabled.
タイプ
boolean
デフォルト
false
説明
If true, the button is full rounded.
タイプ
boolean
デフォルト
false
GitHubでこのページを編集する