Avatar

Ein Avatar dient der visuellen Repräsentation von Usern oder anderen Inhalten, etwa durch ein Image, Initials oder ein Icon.GitHubMarkdown
Gopher

Properties

PropertyTypeDefaultDescription
size"s" | "xs" | "m" | "l""m"The size of the avatar.
color"violet" | "green" | "blue" | "teal" | "lilac"-The color of icons and initials inside the avatar.
status"info" | "success" | "warning" | "danger" | "unavailable"-Adds status icon and color to the avatar. May only be used if the status is explained by an element (like text or label) nearby.
childrenReactNode-
classNamestring-The elements class name.
wrapWithReactElement<unknown, string | JSXElementConstructor<any>>-
refRef<HTMLSpanElement>-Allows getting a ref to the component instance. Once the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref). @see React Docs
keyKey-

Auf dieser Seite