# User Settings
User Settings component allows your registered customers to edit the content of their profile. It takes advantage of Reflow's Store Registrations feature.
The component has two states depending on the customer status:
- Guest - Shown when the customer is not logged in. This state displays a button for signing in with an existing account or creating a new one.
- Authenticated - For logged in users, the
User Settingscomponent shows a form with a number of inputs for changing the user's profile photo, name, email, shipping address and more.
- Adding a basic User Settings component to a page: Demo (opens new window) | Source Code (opens new window)
# How to Embed
To embed this component on your website include the reflow library, and add the following tag somewhere in the
<body> of your page:
# Supported Attributes
You can configure the auth button behavior and the way it's rendered by specifying additional
|data-reflow-type|| ||Must always be set.|
|data-reflow-show|| ||(optional) Comma separated list of form sections to display when the user is logged in. The sections not in the list will be hidden. |