settings

Settings

Settings card: switches in titled groups, each with a hint, disabled where an option is not available, and reset and save actions.

Parts

PartFileDoes
SettingsSettings.vueLets the shopper turn grouped options on or off, then save or reset the changes.

Install

Built from

API reference

Settings.vue

Lets the shopper turn grouped options on or off, then save or reset the changes.

Props 8

PropTypeDefault
groups*SettingsGroup[]—
titlestring'Settings'
descriptionstring—
resetLabelstring'Reset'
saveLabelstring'Save changes'
surface'raised' | 'bare''raised'
classClassValue—
modelValueRecord<string, boolean>{}

Events 2

EventPayload
update:modelValuevalue: Record<string, boolean>
saveenabled: Record<string, boolean>

Data attributes 1

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