AvatarOptions
The owner's photo with Edit and Remove laid over its lower edge, revealed on hover.
AvatarOptions
AvatarOptions is the owner's photo in the editor's Profile photo row, with Edit and Remove as two buttons over its lower edge. The host owns the photo and both actions. A pointer that can hover sees the buttons on hover or focus. A touch screen always sees them, because a hover-only control is unreachable there. The buttons overhang the photo by half their height, so the parent leaves room below it. The events carry the button labels and never the name or the photo URL, because both identify a person.
Storybook
Loading
Props
Prop
Type
Also takes the attributes of the element it renders.
Tokens
Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.
--augds-background-inverse--augds-radius-primitive-999--augds-shadow-sm-element
Source
src/components/ui/avatar-options/avatar-options.tsx