Edit page

Account Tile

The AccountTile component can be used when the user needs to frequently switch between or manage different accounts.

Import Syntax

Basic Usage

Esri Professional Services

Joey Harig

jharig

Not Clickable

Esri Professional Services

Joey Harig

jharig

Multiple Accounts

Esri Professional Services

Joey Harig

jharig

SE
A

Another Organization

Someone Else

selse

With the useAccountManager hook

No accounts added yet

Props

PropertyTypeRequiredDefaultDescription
actionsArrayoffalse[]Actions to be included in the dropdown. Each action should describe a label and an onClick method.
isAuthenticatedBoolfalsefalseIs the user currently logged in or has their authentication expired?
widthStringfalse100%Style prop to define the width of the tile.
authenticatedTextStringfalseSigned inText to show when the account is authenticated.
expiredTextStringfalseSession expiredText to show when the account has expired (is not authenticated).
clickableBoolfalsetrueCan the time be clicked (false will disable hover effects and pointer events)
hideAuthenticationBoolfalsefalseShould the account tile authentication be hidden
userObjecttrue-The ArcGIS user object.
orgNameStringfalse-Name of the user's organization.
userThumbnailShapetrue-Object containing thumbnail url and fallback letters for the avatar. If url is falsy, the avatar will show letters instead.
orgThumbnailShapefalse-Object containing thumbnail url and fallback letters for the avatar. If url is falsy, the avatar will show letters instead. If orgThumbnail or orgName are not given, no org avatar will be shown.