Augeo AI Docs
Augeo Design SystemComponents

AvatarEditButton

The owner's own avatar with a pencil badge, drawn as one button that opens the photo editor.

AvatarEditButton

AvatarEditButton is the owner's avatar and a pencil badge, drawn as one button. A press asks the host to open its photo editor, and the host owns the photo and the editor. The event carries the button's label 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-foreground-primary
  • --augds-interaction-focus-ring
  • --augds-radius-primitive-999
  • --augds-shadow-primary-button-shadows
  • --augds-surface-current

Source

  • src/components/ui/avatar-edit-button/avatar-edit-button.tsx