settings

Settings

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

States: Default

Parts

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

Install

Writes 3 files into components/sections/settings/. For agents, npx @frontic/ui docs settings prints this reference as markdown; the MCP server serves the same.

Built from

API reference

Settings Settings.vue

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

PropTypeDefault
groups*SettingsGroup[]—
titlestring'Settings'
descriptionstring—
resetLabelstring'Reset'
saveLabelstring'Save changes'
surface'raised' | 'bare''raised'
classClassValue—
modelValueRecord<string, boolean>{}
EventPayload
update:modelValuevalue: Record<string, boolean>
saveenabled: Record<string, boolean>
Data attributeValues
data-surface'raised' | 'bare'
Example