account-access

Account Access

Sign-in and security settings card: a pending-change notice, email and password with change actions, a two-factor switch, and account deletion behind a confirmation dialog.

Parts

PartFileDoes
AccountAccessAccountAccess.vueLets the shopper change email and password, switch two-factor on and delete the account.

Styling

All of Account Access’s styles live in account-access.json. New to styling in Frontic UI? How styling works →

Install

npm packages
@lucide/vue

Built from

API reference

AccountAccess.vue

Lets the shopper change email and password, switch two-factor on and delete the account.

Props 26

PropTypeDefault
titlestring'Sign-in & security'
descriptionstring'How you get into your account.'
noticeTitlestring—
noticeDescriptionstring—
currentEmailstring—
emailLabelstring'Email'
passwordLabelstring'Password'
passwordHintstring—
changeLabelstring'Change'
changeEmailLabelstring'Change email'
changePasswordLabelstring'Change password'
twoFactorLabelstring'Two-factor authentication'
twoFactorHintstring—
deleteTitlestring'Delete account'
deleteDescriptionstring'Erases orders and saved addresses.'
deleteLabelstring'Delete'
confirmbooleantrue
confirmTitlestring'Delete your account?'
confirmDescriptionstring'Your orders and saved addresses are erased for good. This cannot be undone.'
cancelLabelstring'Keep account'
confirmLabelstring'Delete account'
surface'raised' | 'bare''raised'
classClassValue—
emailstring''
passwordstring''
twoFactorbooleanfalse

Events 6

EventPayload
delete—
update:emailvalue: string
update:passwordvalue: string
update:twoFactorvalue: boolean
changeEmailemail: string
changePasswordpassword: string

Data attributes 1

Data attributeValues
data-surface'raised' | 'bare'

Recipe account-access-delete-title 1 group

Account Access