alt
説明
The HTMLImageElement
property alt
.
タイプ
string
Yamada UIにスターをあげる
スターAvatar
は、ユーザーを表すプロフィール写真やイニシャルのアイコンを表示するコンポーネントです。
説明
The HTMLImageElement
property alt
.
タイプ
string
説明
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"
説明
The key used to set the crossOrigin on the HTMLImageElement into which the image will be loaded. This tells the browser to request cross-origin access when trying to download the image data.
タイプ
"" | "anonymous" | "use-credentials"
説明
Function to get the initials to display.
タイプ
(name: string) => string
説明
The avatar icon to use.
タイプ
ReactElement<any, string | JSXElementConstructor<any>>
説明
If true
, opt out of the avatar's fallback
logic and renders the img
at all times.
タイプ
boolean
デフォルト
false
説明
Defines loading strategy.
タイプ
"eager" | "lazy"
説明
The name of the person in the avatar.
- If src
has loaded, the name will be used as the alt
attribute of the img
- If src
is not loaded, the name will be used to create the initials
タイプ
string
説明
Defining which referrer is sent when fetching the resource.
タイプ
HTMLAttributeReferrerPolicy
説明
The size of the Avatar.
タイプ
"2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl"
デフォルト
"md"
説明
The image url of the avatar.
タイプ
string
説明
List of sources to use for different screen resolutions.
タイプ
string
説明
The variant of the Avatar.
タイプ
string
説明
If true
, make an element scale and fade like a radar ping or ripple of water.
タイプ
boolean
デフォルト
false
説明
It is used for the color of the ping animation.
タイプ
UIValue<"border" | BackgroundColor | ({} & string) | "amber.50" | "amber.100" | "amber.200" | "amber.300" | "amber.400" | "amber.500" | "amber.600" | "amber.700" | ... 320 more ... | "yellow.950">
デフォルト
'["blackAlpha.400", "whiteAlpha.500"]'
説明
It is used for the count of the ping animation.
タイプ
AnimationIterationCount
デフォルト
infinite
説明
It is used for the duration of the ping animation.
タイプ
AnimationDirection
デフォルト
1.4s
説明
It is used for the scale of the ping animation.
タイプ
number
デフォルト
1.8
説明
The placement of the badge.
タイプ
"bottom-end" | "bottom-start" | "top-end" | "top-start"
デフォルト
'bottom-end'
説明
The maximum number of visible avatars.
タイプ
number
GitHubでこのページを編集する