chromium/chrome/browser/resources/settings/people_page/manage_profile.html

<style include="cr-shared-style settings-shared iron-flex">
  cr-input {
    --cr-input-error-display: none;
  }

  .cr-row.manage-profile-section {
    display: block;
    padding-bottom: 24px;
  }

  .cr-row:not(.first) {
    padding-top: 4px;
  }

  .content {
    padding-inline-start: var(--cr-section-indent-width);
    padding-top: 4px;
  }

  #name {
    width: 288px;
  }

  .grid-container {
    --icon-grid-gap: 25px;
    --icon-size: 72px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
  }

  cr-theme-color-picker,
  cr-profile-avatar-selector {
    margin-bottom: 10px;
  }

  cr-theme-color-picker {
    --selected-border: 9px; /* Selected border per side: 4.5px*/
    --cr-theme-color-picker-column-width: calc(var(--icon-size) +
        var(--selected-border));
    --cr-theme-color-picker-grid-gap: calc(var(--icon-grid-gap) -
        var(--selected-border));
    --cr-theme-color-picker-grid-padding: 0;
    /* With display: block, the bottom margin collapses. */
    display: inline-block;
  }

  #profileAvatarSelector {
    --avatar-size: var(--icon-size);
    --avatar-spacing: var(--icon-grid-gap);
    padding: 4px;
  }

  #outerRow {
    align-items: center;
    display: flex;
    min-height: var(--cr-section-two-line-min-height);
    padding: 0 var(--cr-section-padding);
  }

  #labelWrapper {
    padding: var(--cr-section-vertical-padding) 0;
  }
</style>

<div class="cr-row first manage-profile-section">
  <h1 class="cr-title-text">$i18n{nameYourProfile}</h1>
  <div class="content">
    <cr-input id="name" value="[[profileName]]" pattern="[[pattern_]]"
        on-change="onProfileNameChanged_"
        on-keydown="onProfileNameKeydown_"
        maxlength="500"
        aria-label="$i18n{nameInputLabel}" auto-validate required
        spellcheck="false">
    </cr-input>
  </div>
</div>
<div class="cr-row manage-profile-section">
  <h1 class="cr-title-text">$i18n{pickThemeColor}</h1>
  <div class="content grid-container">
    <cr-theme-color-picker columns="6"></cr-theme-color-picker>
 </div>
</div>
<div class="cr-row manage-profile-section">
  <h1 class="cr-title-text">$i18n{pickAvatar}</h1>
  <div class="content grid-container">
    <cr-profile-avatar-selector
        id="profileAvatarSelector" avatars="[[availableIcons]]"
        selected-avatar="{{profileAvatar_}}" ignore-modified-key-events>
    </cr-profile-avatar-selector>
 </div>
</div>
<template is="dom-if" if="[[isProfileShortcutSettingVisible_]]">
  <div id="outerRow" class="hr">
    <div class="flex" id="labelWrapper">
      <div>$i18n{createShortcutTitle}</div>
      <div class="secondary">$i18n{createShortcutSubtitle}</div>
    </div>
    <cr-toggle id="hasShortcutToggle"
        checked="{{hasProfileShortcut_}}"
        on-change="onHasProfileShortcutChange_"
        aria-labelledby="labelWrapper">
    </cr-toggle>
  </div>
  <div class="hr"></div>
</template>