Payroc Design logo
  • Our brand
    Mission statement Personality Values Assets
  • Content guidelines
    Voice and tone Grammar and formatting Inclusive language Writing style guides
  • Design system
    Get started Essentials Components Patterns
Submit a design request
  1. Payroc design
  2. Design system
  3. Components
  4. Notes

Notes

Use this component to show notes, or comments, between users in an application.

Anatomy

Diagram of a button menu component.
  1. Avatar
  2. Author
  3. Date and time
  4. Note content
  5. Reply

Example

Coded example

BP
  • Bill Posters
  • 24 May 2022 09:35 BST

This is an example of a note/comment left on an item. It can be used to provide further information on the current application.

S
  • Support
  • 24 May 2022 10:06 BST

This is an example of a note/comment left on an item. It can be used to provide further information on the current application.

Code snippet

HTML JavaScript
									
<div class="note">
  <div class="note-avatar">
    <div class="avatar avatar-text">
      BP
    </div>
  </div>
  <div class="note-body">
    <ul class="note-detail">
      <li class="note-user">Bill Posters</li>
      <li>24 May 2022 09:35 BST</li>
    </ul>
    <div class="note-text">
      <p>This is an example of a note/comment left on an item. It can be used to provide further information on the current application.</p>
    </div>
  </div>
</div>
<div class="note note-reply note-support">
  <div class="note-avatar">
    <div class="avatar avatar-text">
      S
    </div>
  </div>
  <div class="note-body">
    <ul class="note-detail">
      <li class="note-user text-primary">Support</li>
      <li>24 May 2022 10:06 BST</li>
    </ul>
    <div class="note-text">
      <p>This is an example of a note/comment left on an item. It can be used to provide further information on the current application.</p>
    </div>
  </div>
</div>
                  
								
									
  None required
          
								

Figma prototype

Usage guide

Dos and don'ts

Ensure replies use the correct classes to differentiate from initial notes.

Payroc Design logo

Copyright © Payroc

    Our brand
  • Mission statement
  • Personality
  • Values
  • Assets
  • Brand Guide for Sales Partners
    Content guidelines
  • Voice and tone
  • Grammar and formatting
  • Inclusive lanugage
  • Writing style guides
    Design system
  • Get started
  • Essentials
  • Components
  • Patterns