Contextual Save Bar

Display the contextual save bar to indicate that a form on the current page contains unsaved information, or when the merchant is in the process of creating a new object, such as a product or customer. The contextual save bar provides save and discard buttons to a merchant.

There are 3 ways to use the contextual save bar:

  1. Plain JavaScript
  2. React hook
  3. React component