Account dropdown menu
Last updated
Last updated
You can customize the account dropdown menu in our top bar with your own menu items. Options to switch to another account and sign out are always present at the end of the list. The rest, depends on your needs. We provide a couple of common menu item components you may add, and one component for you to include anything you need.
Renders a menu item in the account dropdown menu to open the CSPR.live account page in a new tab.
Renders a menu item in the account dropdown menu to copy the connected public key to the clipboard.
Renders a menu item in the account dropdown menu to open the Topper by Uphold widget on a new tab. This widget allows the user to top-up his account with a credit card payment.
Renders a menu item in the account dropdown menu with a custom text, icon, and handler action.
Optionally, you can add a small badge right to the menu item title. Valid variation values are green
, blue
, violet
, and gray
.
To customize the account dropdown menu, add the menu items you want to display into an array:
Then, add the array to the <ClickUI>
component: