Skip to content

Vuetify

Imitates: Vuetify 3 · Vue 3, default theme (Material Design 2 blueprint) 3.x · Pack id: vuetify · Selected by: pack="vuetify", import Vuetify, import Vue · Default device: desktop (browser chrome)

141 own elements, plus 134 core elements in this pack's style. Each entry shows the element rendered with sample arguments (and, for the pack's own elements, each of its variants), the role it maps onto, its positional arguments, its defaults and variants.

Pack elements

Td

Td("value") — a table cell

role text · arguments content

Content
Source
Td("Content")

Tr

A table row (children are cells)

role tablerow

Source
Tr()

VAlert

VAlert("Saved.", type: "success", title:, variant: "tonal" | "outlined" | "flat", closable: true, density:)

role alert · arguments message · defaults variant: "flat" · variants elevated, flat, tonal, outlined, text, plain

elevated
flat
tonal
outlined
text
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VAlert("Message").variant("elevated"); Text("elevated").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAlert("Message").variant("flat"); Text("flat").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAlert("Message").variant("tonal"); Text("tonal").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAlert("Message").variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAlert("Message").variant("text"); Text("text").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAlert("Message").variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VAlertTitle

Bold first line of a VAlert

role text · arguments content

Content
Source
VAlertTitle("Content")

VApp

Root of every Vuetify app: a full-height column on the theme background

role vstack · defaults alignment: "stretch", spacing: 0

ContentAction
Source
VApp() { Text("Content"); Button("Action") }

VAppBar

VAppBar(title: "Inbox", color: "primary", density: "compact") { VBtn(icon: "mdi-magnify") } — 64px top bar, elevation 4; leading: { VAppBarNavIcon() }

role appbar · arguments title

Source
VAppBar("Title") { Text("Content"); Button("Action") }

VAppBarNavIcon

The ☰ icon button at the start of a VAppBar

role button · defaults icon: "mdi-menu", iconOnly: True, variant: "text"

Source
VAppBarNavIcon()

VAppBarTitle

Title text of a VAppBar (1.25rem)

role text · arguments content

Content
Source
VAppBarTitle("Content")

VAutocomplete

VAutocomplete("State", items: [..], modelValue: [..]) — filterable select; multiple values render chips

role select · arguments label · defaults variant: "filled" · variants filled, outlined, underlined, solo, solo-filled, solo-inverted, plain

filled
outlined
underlined
solo
solo-filled
solo-inverted
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VAutocomplete("Label").variant("filled"); Text("filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAutocomplete("Label").variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAutocomplete("Label").variant("underlined"); Text("underlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAutocomplete("Label").variant("solo"); Text("solo").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAutocomplete("Label").variant("solo-filled"); Text("solo-filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAutocomplete("Label").variant("solo-inverted"); Text("solo-inverted").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAutocomplete("Label").variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VAvatar

VAvatar(image: "avatar-1.svg", size: 40) · VAvatar("Ana Lima", color: "primary") · VAvatar(icon: "mdi-account", rounded: 0)

role avatar · arguments name · variants elevated, flat, tonal, outlined, text, plain

ALelevated
ALflat
ALtonal
ALoutlined
ALtext
ALplain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VAvatar("Ana Lima").variant("elevated"); Text("elevated").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAvatar("Ana Lima").variant("flat"); Text("flat").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAvatar("Ana Lima").variant("tonal"); Text("tonal").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAvatar("Ana Lima").variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAvatar("Ana Lima").variant("text"); Text("text").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VAvatar("Ana Lima").variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VBadge

VBadge(content: 6, color: "error") { VIcon("mdi-bell") } · dot: true

role badge · arguments content

Content
Source
VBadge("Content")

VBanner

VBanner("No internet connection", icon: "mdi-wifi-strength-alert-outline") actions: { VBtn("Retry", variant: "text") } — full-width strip with a bottom border

role alert · arguments message · defaults severity: "info"

Source
VBanner("Message")

VBannerActions

Action buttons of a VBanner

role hstack

ContentAction
Source
VBannerActions() { Text("Content"); Button("Action") }

VBannerText

Text of a VBanner

role text · arguments content

Content
Source
VBannerText("Content")

VBottomNavigation

VBottomNavigation(value: 0, color: "primary", items: [["title": "Home", "icon": "mdi-home"], …]) — 56px bar, icon above label (or VTab children)

role tabs · defaults placement: "bottom"

OneTwo
First tab
Source
VBottomNavigation() { Text("First tab").tabItem { Text("One") }; Text("Second tab").tabItem { Text("Two") } }

VBottomSheet

VBottomSheet { VList … } — sheet sliding up from the bottom

role dialog · arguments title · defaults variant: "sheet"

Source
VBottomSheet("Title") { Text("Content"); Button("Action") }

VBreadcrumbs

VBreadcrumbs(items: ["Dashboard", "Orders", "#10423"], divider: "/")

role breadcrumb · arguments items

Source
VBreadcrumbs(["One", "Two", "Three"])

VBreadcrumbsItem

One item of a VBreadcrumbs

role link · arguments label

Label
Source
VBreadcrumbsItem("Label")

VBtn

VBtn("Save", color: "primary", variant: "tonal", size: "small", density: "compact", rounded: "pill", prependIcon: "mdi-content-save") · VBtn(icon: "mdi-heart")

role button · arguments label · defaults variant: "elevated" · variants elevated, flat, tonal, outlined, text, plain

Labelelevated
Labelflat
Labeltonal
Labeloutlined
Labeltext
Labelplain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VBtn("Label").variant("elevated"); Text("elevated").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VBtn("Label").variant("flat"); Text("flat").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VBtn("Label").variant("tonal"); Text("tonal").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VBtn("Label").variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VBtn("Label").variant("text"); Text("text").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VBtn("Label").variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VBtnGroup

VBtnGroup(variant: "outlined", divided: true) { VBtn … } — joined buttons

role toolbar · defaults variant: "elevated" · variants elevated, flat, tonal, outlined, text, plain

elevated
flat
tonal
outlined
text
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VBtnGroup() { Button("Save"); Button("Share") }.variant("elevated"); Text("elevated").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VBtnGroup() { Button("Save"); Button("Share") }.variant("flat"); Text("flat").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VBtnGroup() { Button("Save"); Button("Share") }.variant("tonal"); Text("tonal").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VBtnGroup() { Button("Save"); Button("Share") }.variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VBtnGroup() { Button("Save"); Button("Share") }.variant("text"); Text("text").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VBtnGroup() { Button("Save"); Button("Share") }.variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VBtnToggle

VBtnToggle(variant: "outlined", divided: true) { VBtn(icon: "mdi-format-bold").selected() … } — joined toggle buttons

role toolbar · defaults variant: "text" · variants elevated, flat, tonal, outlined, text, plain

elevated
flat
tonal
outlined
text
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VBtnToggle() { Button("Save"); Button("Share") }.variant("elevated"); Text("elevated").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VBtnToggle() { Button("Save"); Button("Share") }.variant("flat"); Text("flat").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VBtnToggle() { Button("Save"); Button("Share") }.variant("tonal"); Text("tonal").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VBtnToggle() { Button("Save"); Button("Share") }.variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VBtnToggle() { Button("Save"); Button("Share") }.variant("text"); Text("text").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VBtnToggle() { Button("Save"); Button("Share") }.variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VCard

VCard(title:, subtitle:, prependIcon:, image:, variant: "outlined") { VCardText … } actions: { VBtn("Ok", variant: "text") }

role card · arguments title · defaults variant: "elevated" · variants elevated, flat, tonal, outlined, text, plain

Title
ContentAction
elevated
Title
ContentAction
flat
Title
ContentAction
tonal
Title
ContentAction
outlined
Title
ContentAction
text
Title
ContentAction
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VCard("Title") { Text("Content"); Button("Action") }.variant("elevated"); Text("elevated").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VCard("Title") { Text("Content"); Button("Action") }.variant("flat"); Text("flat").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VCard("Title") { Text("Content"); Button("Action") }.variant("tonal"); Text("tonal").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VCard("Title") { Text("Content"); Button("Action") }.variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VCard("Title") { Text("Content"); Button("Action") }.variant("text"); Text("text").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VCard("Title") { Text("Content"); Button("Action") }.variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VCardActions

VCardActions { VSpacer(); VBtn("Cancel", variant: "text") … } — 8px-padded button row

role hstack · defaults spacing: 8

ContentAction
Source
VCardActions() { Text("Content"); Button("Action") }

VCardItem

Header block of a VCard (title, subtitle, prepend/append)

role vstack · defaults alignment: "stretch"

ContentAction
Source
VCardItem() { Text("Content"); Button("Action") }

VCardSubtitle

VCardSubtitle("…") — medium-emphasis 0.875rem line under the title

role text · arguments content

Content
Source
VCardSubtitle("Content")

VCardText

VCardText { … } — 16px-padded body of a VCard (0.875rem)

role vstack · arguments text · defaults alignment: "stretch"

ContentAction
Source
VCardText("Text") { Text("Content"); Button("Action") }

VCardTitle

VCardTitle("Title") — 1.25rem / 500 heading of a VCard

role text · arguments content

Content
Source
VCardTitle("Content")

VCarousel

VCarousel("photo.svg") — slideshow (shows its first slide)

role image · arguments src

Source
VCarousel().frame(width: 160, height: 96)

VCarouselItem

VCarouselItem(src: "photo.svg")

role image · arguments src

Source
VCarouselItem().frame(width: 160, height: 96)

VCheckbox

VCheckbox("Remember me", modelValue: true, color: "primary", density: "compact")

role checkbox · arguments label

Label
Source
VCheckbox("Label")

VCheckboxBtn

The bare checkbox control (no label)

role checkbox · arguments label

Label
Source
VCheckboxBtn("Label")

VChip

VChip("Active", color: "success", variant: "tonal" | "flat" | "outlined" | "elevated" | "text", size: "small", closable: true, prependIcon:, label: true)

role chip · arguments label · defaults variant: "tonal" · variants elevated, flat, tonal, outlined, text, plain

Labelelevated
Labelflat
Labeltonal
Labeloutlined
Labeltext
Labelplain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VChip("Label").variant("elevated"); Text("elevated").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VChip("Label").variant("flat"); Text("flat").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VChip("Label").variant("tonal"); Text("tonal").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VChip("Label").variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VChip("Label").variant("text"); Text("text").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VChip("Label").variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VChipGroup

VChipGroup(selectedClass: "text-primary", column: true) { VChip … }

role hstack · defaults spacing: 8

ContentAction
Source
VChipGroup() { Text("Content"); Button("Action") }

VCode

Inline code

role code · arguments code

1let total = items.count
Source
VCode("let total = items.count")

VCol

VCol(cols: 6) — column spanning cols/12 of a VRow (cols: 0 = auto grow)

role vstack · arguments size · defaults alignment: "stretch"

ContentAction
Source
VCol() { Text("Content"); Button("Action") }

VColorPicker

Colour picker (swatch grid)

role swatches

Source
VColorPicker()

VCombobox

VCombobox("Tags", items: [..], modelValue: [..], chips: true) — select that accepts new values

role select · arguments label · defaults variant: "filled" · variants filled, outlined, underlined, solo, solo-filled, solo-inverted, plain

filled
outlined
underlined
solo
solo-filled
solo-inverted
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VCombobox("Label").variant("filled"); Text("filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VCombobox("Label").variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VCombobox("Label").variant("underlined"); Text("underlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VCombobox("Label").variant("solo"); Text("solo").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VCombobox("Label").variant("solo-filled"); Text("solo-filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VCombobox("Label").variant("solo-inverted"); Text("solo-inverted").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VCombobox("Label").variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VConfirmEdit

Save / Cancel wrapper around an editable value

role hstack

ContentAction
Source
VConfirmEdit() { Text("Content"); Button("Action") }

VContainer

Centered, padded (16px) content column; fluid: true for full width

role vstack · defaults alignment: "stretch"

ContentAction
Source
VContainer() { Text("Content"); Button("Action") }

VDataIterator

Custom layout over items with the data-table plumbing

role vstack · defaults alignment: "stretch"

ContentAction
Source
VDataIterator() { Text("Content"); Button("Action") }

VDataTable

VDataTable(headers: [..], items: [[..]], search:, sortBy: 2, showSelect: true, selectedRows: [1], itemsPerPage: 10) — sortable table with footer

role table

NameStatus
Ana LimaActive
Ben OkaforAway
Source
VDataTable(columns: ["Name", "Status"], rows: [["Ana Lima", "Active"], ["Ben Okafor", "Away"]])

VDataTableFooter

VDataTableFooter("Items per page: 10 ▾ 1-10 of 42") — the table footer with first/prev/next/last

role pagination · arguments summary

Source
VDataTableFooter("Summary")

VDataTableServer

Server-side VDataTable (same look)

role table

NameStatus
Ana LimaActive
Ben OkaforAway
Source
VDataTableServer(columns: ["Name", "Status"], rows: [["Ana Lima", "Active"], ["Ben Okafor", "Away"]])

VDataTableVirtual

Virtualised VDataTable (no footer)

role table

NameStatus
Ana LimaActive
Ben OkaforAway
Source
VDataTableVirtual(columns: ["Name", "Status"], rows: [["Ana Lima", "Active"], ["Ben Okafor", "Away"]])

VDateInput

VDateInput("Delivery date", modelValue: "2026-11-23") — text field opening a VDatePicker

role datepicker · arguments label · defaults variant: "filled" · variants filled, outlined, underlined, solo, solo-filled, solo-inverted, plain

filled
outlined
underlined
solo
solo-filled
solo-inverted
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VDateInput("Label").variant("filled"); Text("filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VDateInput("Label").variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VDateInput("Label").variant("underlined"); Text("underlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VDateInput("Label").variant("solo"); Text("solo").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VDateInput("Label").variant("solo-filled"); Text("solo-filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VDateInput("Label").variant("solo-inverted"); Text("solo-inverted").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VDateInput("Label").variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VDatePicker

VDatePicker(modelValue: "2026-11-23", title: "Select date", showAdjacentMonths: true)

role calendar

November 2026
SuMoTuWeThFrSa12345678910111213141516171819202122232425262728293012345
Source
VDatePicker()

VDefaultsProvider

Sets default props for its subtree (renders its children)

role group

ContentAction
Source
VDefaultsProvider() { Text("Content"); Button("Action") }

VDialog

VDialog(title: "Delete file?", maxWidth: 400) { VCardText … } actions: { VBtn … } — modal card over a scrim

role dialog · arguments title

Source
VDialog("Title") { Text("Content"); Button("Action") }

VDivider

VDivider() · VDivider(vertical: true) · inset: true · thickness:

role divider · variants inset

inset
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VDivider().variant("inset"); Text("inset").font(.caption).foregroundStyle(.secondary) }
}

VEmptyState

VEmptyState(headline: "No orders yet", title:, text:, icon: "mdi-cart") { VBtn … }

role emptystate · arguments title

Title
Source
VEmptyState("Title")

VExpansionPanel

VExpansionPanel(title: "Shipping", text: "…", expanded: true) { content }

role accordion · arguments title

Title
Source
VExpansionPanel("Title") { Text("Content"); Button("Action") }

VExpansionPanelText

Body of a VExpansionPanel

role vstack · defaults alignment: "stretch"

ContentAction
Source
VExpansionPanelText() { Text("Content"); Button("Action") }

VExpansionPanelTitle

Header of a VExpansionPanel

role text · arguments content

Content
Source
VExpansionPanelTitle("Content")

VExpansionPanels

VExpansionPanels(variant: "accordion" | "inset" | "popout") { VExpansionPanel(title:, text:) … }

role vstack · defaults alignment: "stretch", spacing: 0 · variants default, accordion, inset, popout

ContentAction
default
ContentAction
accordion
ContentAction
inset
ContentAction
popout
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VExpansionPanels() { Text("Content"); Button("Action") }.variant("default"); Text("default").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VExpansionPanels() { Text("Content"); Button("Action") }.variant("accordion"); Text("accordion").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VExpansionPanels() { Text("Content"); Button("Action") }.variant("inset"); Text("inset").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VExpansionPanels() { Text("Content"); Button("Action") }.variant("popout"); Text("popout").font(.caption).foregroundStyle(.secondary) }
}

VFab

VFab(icon: "mdi-plus", color: "primary") · extended: VFab(icon:, label: "Compose")

role fab · arguments icon · defaults color: "primary" · variants elevated, flat, tonal, outlined, text, plain

elevated
flat
tonal
outlined
text
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VFab("star").variant("elevated"); Text("elevated").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VFab("star").variant("flat"); Text("flat").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VFab("star").variant("tonal"); Text("tonal").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VFab("star").variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VFab("star").variant("text"); Text("text").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VFab("star").variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VField

The bare field box of an input

role textfield · arguments label · defaults variant: "filled" · variants filled, outlined, underlined, solo, solo-filled, solo-inverted, plain

filled
outlined
underlined
solo
solo-filled
solo-inverted
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VField("Label").variant("filled"); Text("filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VField("Label").variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VField("Label").variant("underlined"); Text("underlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VField("Label").variant("solo"); Text("solo").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VField("Label").variant("solo-filled"); Text("solo-filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VField("Label").variant("solo-inverted"); Text("solo-inverted").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VField("Label").variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VFileInput

VFileInput("Attachment", modelValue: "report.pdf", chips: true) — file field with a paperclip prepend icon

role textfield · arguments label · defaults icon: "mdi-paperclip", variant: "filled" · variants filled, outlined, underlined, solo, solo-filled, solo-inverted, plain

filled
outlined
underlined
solo
solo-filled
solo-inverted
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VFileInput("Label").variant("filled"); Text("filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VFileInput("Label").variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VFileInput("Label").variant("underlined"); Text("underlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VFileInput("Label").variant("solo"); Text("solo").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VFileInput("Label").variant("solo-filled"); Text("solo-filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VFileInput("Label").variant("solo-inverted"); Text("solo-inverted").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VFileInput("Label").variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VFileUpload

VFileUpload(title: "Drag and drop files") — drop zone with browse button

role dropzone · arguments label

Label
Source
VFileUpload("Label")

VFooter

VFooter(border: true) { Text("© 2026 Acme") } — footer bar at the bottom of the app

role toolbar

Source
VFooter() { Button("Save"); Button("Share") }

VForm

VForm { VTextField … } — a column of fields with 8px gaps

role vstack · defaults alignment: "stretch"

ContentAction
Source
VForm() { Text("Content"); Button("Action") }

VHotkey

Keyboard shortcut display

role kbd · arguments keys

⌘K
Source
VHotkey(["⌘", "K"])

VHover

Hover state provider (renders its children)

role group

ContentAction
Source
VHover() { Text("Content"); Button("Action") }

VIcon

VIcon("mdi-home", color: "primary", size: "large") — Material Design Icons by name

role icon · arguments name

Source
VIcon("star")

VIconBtn

VIconBtn(icon: "mdi-cog") — compact icon-only button

role button · arguments icon · defaults iconOnly: True, variant: "text"

Source
VIconBtn("star")

VImg

VImg(src: "photo.svg", height: 200, cover: true)

role image · arguments src

Source
VImg().frame(width: 160, height: 96)

VInfiniteScroll

VInfiniteScroll(height: 300) { items … VProgressCircular } — scroll area that loads more at its end

role scroll

ContentAction
Source
VInfiniteScroll() { Text("Content"); Button("Action") }

VInput

Base input wrapper

role textfield · arguments label · defaults variant: "plain"

Source
VInput("Label")

VItem

One selectable item of a VItemGroup

role group

ContentAction
Source
VItem() { Text("Content"); Button("Action") }

VItemGroup

Selection group around VItem children

role hstack

ContentAction
Source
VItemGroup() { Text("Content"); Button("Action") }

VKbd

VKbd("Ctrl") — keyboard key

role kbd · arguments keys

⌘K
Source
VKbd(["⌘", "K"])

VLabel

Medium-emphasis form label

role text · arguments content

Content
Source
VLabel("Content")

VLayout

Layout container for app bar / drawer / main (row; nest VLayout for columns)

role hstack · defaults alignment: "top", spacing: 0

ContentAction
Source
VLayout() { Text("Content"); Button("Action") }

VLazy

Renders its children when visible

role group

ContentAction
Source
VLazy() { Text("Content"); Button("Action") }

VList

VList(nav: true, density: "compact", lines: "two") { VListSubheader("…"); VListItem(title:, subtitle:, prependIcon:) }

role list

First item
Second item
Source
VList() { Text("First item"); Text("Second item") }

VListGroup

VListGroup("Admin", prependIcon:, expanded: true) { VListItem … } — collapsible group in a nav list

role navitem · arguments label

Label
Source
VListGroup("Label")

VListImg

Image inside a VList

role image · arguments src

Source
VListImg().frame(width: 160, height: 96)

VListItem

VListItem(title: "Inbox", subtitle:, prependIcon: "mdi-inbox", value:, active: true) — 48px row; prepend: / append: slots

role listitem · arguments title

Title
Source
VListItem("Title")

VListItemAction

Trailing action area of a VListItem

role hstack

ContentAction
Source
VListItemAction() { Text("Content"); Button("Action") }

VListItemSubtitle

Subtitle text of a VListItem

role text · arguments content

Content
Source
VListItemSubtitle("Content")

VListItemTitle

Title text of a VListItem

role text · arguments content

Content
Source
VListItemTitle("Content")

VListSubheader

VListSubheader("REPORTS") — 0.875rem / 500 label inside a VList

role text · arguments content

Content
Source
VListSubheader("Content")

VLocaleProvider

Applies a locale to its subtree

role group

ContentAction
Source
VLocaleProvider() { Text("Content"); Button("Action") }

VMain

Main content area beside VNavigationDrawer and under VAppBar

role vstack · defaults alignment: "stretch"

ContentAction
Source
VMain() { Text("Content"); Button("Action") }

VMenu

VMenu("Options", open: true) { VListItem(title: "Edit", prependIcon: "mdi-pencil") … } · VMenu(icon: "mdi-dots-vertical")

role menu · arguments label

Label
Source
VMenu("Label") { Button("Open"); Button("Save"); Divider(); Button("Close") }

VMessages

Hint / error line under a control

role text · arguments content

Content
Source
VMessages("Content")

VNavigationDrawer

VNavigationDrawer(title:) { VList(nav: true) { VListItem(title:, prependIcon:) } } — 256px drawer; rail: true for 56px

role sidebar · arguments title · variants permanent, temporary, rail

permanent
temporary
rail
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VNavigationDrawer("Title") { Text("Content"); Button("Action") }.variant("permanent"); Text("permanent").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VNavigationDrawer("Title") { Text("Content"); Button("Action") }.variant("temporary"); Text("temporary").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VNavigationDrawer("Title") { Text("Content"); Button("Action") }.variant("rail"); Text("rail").font(.caption).foregroundStyle(.secondary) }
}

VNoSsr

Client-only children

role group

ContentAction
Source
VNoSsr() { Text("Content"); Button("Action") }

VNumberInput

VNumberInput("Quantity", modelValue: 2) — number field with − / + controls

role textfield · arguments label · defaults trailingIcon: "mdi-unfold-more-horizontal", variant: "filled" · variants filled, outlined, underlined, solo, solo-filled, solo-inverted, plain

filled
outlined
underlined
solo
solo-filled
solo-inverted
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VNumberInput("Label").variant("filled"); Text("filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VNumberInput("Label").variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VNumberInput("Label").variant("underlined"); Text("underlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VNumberInput("Label").variant("solo"); Text("solo").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VNumberInput("Label").variant("solo-filled"); Text("solo-filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VNumberInput("Label").variant("solo-inverted"); Text("solo-inverted").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VNumberInput("Label").variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VOtpInput

One-time-code field

role textfield · arguments label · defaults variant: "outlined" · variants filled, outlined, underlined, solo, solo-filled, solo-inverted, plain

filled
outlined
underlined
solo
solo-filled
solo-inverted
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VOtpInput("Label").variant("filled"); Text("filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VOtpInput("Label").variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VOtpInput("Label").variant("underlined"); Text("underlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VOtpInput("Label").variant("solo"); Text("solo").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VOtpInput("Label").variant("solo-filled"); Text("solo-filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VOtpInput("Label").variant("solo-inverted"); Text("solo-inverted").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VOtpInput("Label").variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VOverlay

Scrim with centred content

role dialog · defaults variant: "backdrop"

Source
VOverlay() { Text("Content"); Button("Action") }

VPagination

VPagination(length: 10, modelValue: 2, totalVisible: 7, rounded: "circle", activeColor: "primary")

role pagination

Source
VPagination()

VParallax

VParallax(src:) — scrolling background image

role image · arguments src

Source
VParallax().frame(width: 160, height: 96)

VProgressCircular

VProgressCircular(modelValue: 70, size: 48, width: 4, color: "primary") · indeterminate: true

role progress · defaults kind: "circular"

Source
VProgressCircular()

VProgressLinear

VProgressLinear(modelValue: 40, color: "primary", height: 6, rounded: true) · indeterminate: true

role progress

Source
VProgressLinear()

VRadio

VRadio("Express", value:) inside VRadioGroup

role radio · arguments label

Label
Source
VRadio("Label")

VRadioGroup

VRadioGroup("Shipping", items: [..], modelValue: "Express", inline: true) — or VRadio children

role radiogroup · arguments label

Label
Source
VRadioGroup("Label")

VRangeSlider

VRangeSlider(modelValue: [20, 60], max: 100)

role slider · arguments label

Label
Source
VRangeSlider("Label")

VRating

VRating(modelValue: 3.5, halfIncrements: true, color: "amber", density: "compact", size: "small")

role rating · arguments value

Source
VRating(60)

VResponsive

Aspect-ratio box

role vstack · defaults alignment: "stretch"

ContentAction
Source
VResponsive() { Text("Content"); Button("Action") }

VRow

Flex row of VCol in a 12-column grid (24px gutters)

role hstack · defaults alignment: "top"

ContentAction
Source
VRow() { Text("Content"); Button("Action") }

VSelect

VSelect("Country", items: ["France", "Peru"], modelValue: "Peru", chips: true, multiple: true, open: true)

role select · arguments label · defaults variant: "filled" · variants filled, outlined, underlined, solo, solo-filled, solo-inverted, plain

filled
outlined
underlined
solo
solo-filled
solo-inverted
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VSelect("Label").variant("filled"); Text("filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VSelect("Label").variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VSelect("Label").variant("underlined"); Text("underlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VSelect("Label").variant("solo"); Text("solo").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VSelect("Label").variant("solo-filled"); Text("solo-filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VSelect("Label").variant("solo-inverted"); Text("solo-inverted").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VSelect("Label").variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VSheet

VSheet(elevation: 2, rounded: true, color:) { … } — plain surface with no padding

role card · defaults elevation: 0 · variants elevated, flat, tonal, outlined, text, plain

ContentAction
elevated
ContentAction
flat
ContentAction
tonal
ContentAction
outlined
ContentAction
text
ContentAction
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VSheet() { Text("Content"); Button("Action") }.variant("elevated"); Text("elevated").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VSheet() { Text("Content"); Button("Action") }.variant("flat"); Text("flat").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VSheet() { Text("Content"); Button("Action") }.variant("tonal"); Text("tonal").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VSheet() { Text("Content"); Button("Action") }.variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VSheet() { Text("Content"); Button("Action") }.variant("text"); Text("text").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VSheet() { Text("Content"); Button("Action") }.variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VSkeletonLoader

VSkeletonLoader(type: "list-item-avatar") — use avatar: true, lines: 3, image: true

role skeleton

Source
VSkeletonLoader().frame(width: 160, height: 96)

VSlideGroup

Horizontally scrolling group with arrows

role hstack

ContentAction
Source
VSlideGroup() { Text("Content"); Button("Action") }

VSlideGroupItem

One item of a VSlideGroup

role group

ContentAction
Source
VSlideGroupItem() { Text("Content"); Button("Action") }

VSlider

VSlider(modelValue: 40, min: 0, max: 100, step: 10, thumbLabel: true, color:)

role slider · arguments label

Label
Source
VSlider("Label")

VSnackbar

VSnackbar("Saved", action: "Undo", color:, location: .bottom) — 344px dark message bar

role toast · arguments message

Message
Source
VSnackbar("Message")

VSnackbarQueue

A queue of VSnackbar messages (shows the first)

role toast · arguments message

Message
Source
VSnackbarQueue("Message")

VSpacer

Flexible space in a VToolbar, VCardActions or VRow

role spacer

Source
VSpacer()

VSparkline

VSparkline(modelValue: [1, 4, 2, 6], color: "primary", fill: true, smooth: true) — trend line

role chart · arguments values · defaults kind: "sparkline"

Source
VSparkline([3, 5, 2, 6, 4], values: [3, 5, 2, 6, 4])

VSpeedDial

Fab that opens a list of action buttons

role fab · arguments icon · defaults color: "primary"

Source
VSpeedDial("star")

VStepper

VStepper(items: ["Cart", "Shipping", "Payment"], modelValue: 1, altLabels: true) — numbered header; modelValue is the 0-based current step

role steps · arguments steps

1Cart
2Shipping
3Payment
Source
VStepper(["Cart", "Shipping", "Payment"])

VStepperActions

VStepperActions() — Previous / Next buttons of a VStepper

role hstack

ContentAction
Source
VStepperActions() { Text("Content"); Button("Action") }

VStepperHeader

Header row of a VStepper

role hstack

ContentAction
Source
VStepperHeader() { Text("Content"); Button("Action") }

VStepperItem

One step of a VStepperHeader

role text · arguments content

Content
Source
VStepperItem("Content")

VStepperVertical

Vertical stepper

role steps · arguments steps · defaults orientation: "vertical"

1Cart
2Shipping
3Payment
Source
VStepperVertical(["Cart", "Shipping", "Payment"])

VStepperWindow

Pane area of a VStepper

role vstack · defaults alignment: "stretch"

ContentAction
Source
VStepperWindow() { Text("Content"); Button("Action") }

VStepperWindowItem

One step's pane

role vstack · defaults alignment: "stretch"

ContentAction
Source
VStepperWindowItem() { Text("Content"); Button("Action") }

VSubheader

Section label (Vuetify 2 name; use VListSubheader)

role text · arguments content

Content
Source
VSubheader("Content")

VSwitch

VSwitch("Wi-Fi", modelValue: true, color: "primary", inset: true, hideDetails: true)

role toggle · arguments label

Label
Source
VSwitch("Label")

VSystemBar

VSystemBar { VIcon("mdi-wifi") … } — 24px status strip at the top of a mobile app

role toolbar · defaults density: "compact"

Source
VSystemBar() { Button("Save"); Button("Share") }

VTab

VTab("Favorites", prependIcon: "mdi-heart") { pane }

role tab · arguments label

Source
VTab("Label")

VTable

VTable(density:) { thead/tbody as TableRow children } — or columns:, rows:

role table

NameStatus
Ana LimaActive
Ben OkaforAway
Source
VTable(columns: ["Name", "Status"], rows: [["Ana Lima", "Active"], ["Ben Okafor", "Away"]])

VTabs

VTabs(value: 0, color: "primary", grow: true, alignTabs: "center") { VTab("Profile", prependIcon:) … } or VTabs(items: [..])

role tabs · arguments items · defaults placement: "top"

OneTwo
First tab
Source
VTabs(["One", "Two", "Three"]) { Text("First tab").tabItem { Text("One") }; Text("Second tab").tabItem { Text("Two") } }

VTabsWindow

Panes of a VTabs

role vstack · defaults alignment: "stretch"

ContentAction
Source
VTabsWindow() { Text("Content"); Button("Action") }

VTabsWindowItem

One pane of a VTabsWindow

role vstack · defaults alignment: "stretch"

ContentAction
Source
VTabsWindowItem() { Text("Content"); Button("Action") }

VTextField

VTextField("Email", modelValue:, variant: "outlined", density: "compact", prependInnerIcon:, hint:, errorMessages: "…", clearable: true)

role textfield · arguments label · defaults variant: "filled" · variants filled, outlined, underlined, solo, solo-filled, solo-inverted, plain

filled
outlined
underlined
solo
solo-filled
solo-inverted
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VTextField("Label").variant("filled"); Text("filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VTextField("Label").variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VTextField("Label").variant("underlined"); Text("underlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VTextField("Label").variant("solo"); Text("solo").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VTextField("Label").variant("solo-filled"); Text("solo-filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VTextField("Label").variant("solo-inverted"); Text("solo-inverted").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VTextField("Label").variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VTextarea

VTextarea("Notes", rows: 3, counter: 200, autoGrow: true)

role textfield · arguments label · defaults kind: "multiline", variant: "filled" · variants filled, outlined, underlined, solo, solo-filled, solo-inverted, plain

filled
outlined
underlined
solo
solo-filled
solo-inverted
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VTextarea("Label").variant("filled"); Text("filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VTextarea("Label").variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VTextarea("Label").variant("underlined"); Text("underlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VTextarea("Label").variant("solo"); Text("solo").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VTextarea("Label").variant("solo-filled"); Text("solo-filled").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VTextarea("Label").variant("solo-inverted"); Text("solo-inverted").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VTextarea("Label").variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VThemeProvider

Applies a theme to its subtree (renders its children)

role group

ContentAction
Source
VThemeProvider() { Text("Content"); Button("Action") }

VTimePicker

Time picker field

role datepicker · arguments label · defaults kind: "time", variant: "filled"

Source
VTimePicker("Label")

VTimeline

VTimeline(side: "end", density: "compact") { VTimelineItem("Order placed", dotColor: "primary") }

role timeline

Created
Shipped
Source
VTimeline() { TimelineItem("Created"); TimelineItem("Shipped") }

VTimelineItem

VTimelineItem("Shipped", time:, description:, dotColor: "success", icon:)

role timelineitem · arguments title

Title
Source
VTimelineItem("Title")

VToolbar

VToolbar(title:, color:, density:) { VBtn … } — 64px bar (surface-light by default)

role toolbar · arguments title · variants elevated, flat, tonal, outlined, text, plain

elevated
flat
tonal
outlined
text
plain
Source
HStack(alignment: .top, spacing: 16) {
  VStack(alignment: .leading, spacing: 4) { VToolbar("Title") { Button("Save"); Button("Share") }.variant("elevated"); Text("elevated").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VToolbar("Title") { Button("Save"); Button("Share") }.variant("flat"); Text("flat").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VToolbar("Title") { Button("Save"); Button("Share") }.variant("tonal"); Text("tonal").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VToolbar("Title") { Button("Save"); Button("Share") }.variant("outlined"); Text("outlined").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VToolbar("Title") { Button("Save"); Button("Share") }.variant("text"); Text("text").font(.caption).foregroundStyle(.secondary) }
  VStack(alignment: .leading, spacing: 4) { VToolbar("Title") { Button("Save"); Button("Share") }.variant("plain"); Text("plain").font(.caption).foregroundStyle(.secondary) }
}

VToolbarItems

Full-height buttons inside a VToolbar

role hstack · defaults spacing: 0

ContentAction
Source
VToolbarItems() { Text("Content"); Button("Action") }

VToolbarTitle

Title text of a VToolbar

role text · arguments content

Content
Source
VToolbarTitle("Content")

VTooltip

VTooltip("Delete", location: .bottom) { VBtn(icon: "mdi-delete") }

role tooltip · arguments text

ContentActionText
Source
VTooltip("Text") { Text("Content"); Button("Action") }

VTreeview

VTreeview { VTreeviewItem("src", expanded: true) { … } } — hierarchical list

role tree

Folder
File
Source
VTreeview() { TreeItem("Folder") { TreeItem("File") } }

VTreeviewItem

VTreeviewItem("main.ts", icon: "mdi-language-typescript", expanded:, selected:)

role treeitem · arguments label

Label
Source
VTreeviewItem("Label")

VVirtualScroll

Virtualised scroll area of items

role scroll

ContentAction
Source
VVirtualScroll() { Text("Content"); Button("Action") }

VWindow

VWindow { VWindowItem { … } } — the visible pane of a VTabs/VStepper

role vstack · defaults alignment: "stretch"

ContentAction
Source
VWindow() { Text("Content"); Button("Action") }

VWindowItem

One pane of a VWindow / VTabsWindow

role vstack · defaults alignment: "stretch"

ContentAction
Source
VWindowItem() { Text("Content"); Button("Action") }

Core vocabulary in this style

Accordion

role accordion · arguments title

Title
Source
Accordion("Title") { Text("Content"); Button("Action") }

Alert

role dialog · arguments title · defaults variant: "alert"

Source
Alert("Title") { Text("Content"); Button("Action") }

AppBar

role appbar · arguments title

Source
AppBar("Title") { Text("Content"); Button("Action") }

AreaChart

role chart · defaults kind: "area"

Source
AreaChart(values: [3, 5, 2, 6, 4])

AsyncImage

role image · arguments url

Source
AsyncImage().frame(width: 160, height: 96)

Avatar

role avatar · arguments name

AL
Source
Avatar("Ana Lima")

Badge

role badge · arguments text

Text
Source
Badge("Text")

role alert · arguments title

Source
Banner("Title")

BarChart

role chart · defaults kind: "bar"

Source
BarChart(values: [3, 5, 2, 6, 4])

Board

Kanban board of BoardColumn children

role board

To do1
Write copy
Add card
Source
Board() { BoardColumn("To do") { KanbanCard("Write copy") } }

BoardColumn

BoardColumn("To do", count:, color:) { KanbanCard(…) }

role boardcolumn · arguments title

Title2
Write copy
Review
Add card
Source
BoardColumn("Title") { KanbanCard("Write copy"); KanbanCard("Review") }

role breadcrumb · arguments items

Source
Breadcrumb(["One", "Two", "Three"])

BubbleChart

role chart · defaults kind: "bubble"

Source
BubbleChart(values: [3, 5, 2, 6, 4])

Button

Button("Save", systemImage:) · .buttonStyle(…)

role button · arguments label

Label
Source
Button("Label")

Calendar

role calendar

November 2026
SuMoTuWeThFrSa12345678910111213141516171819202122232425262728293012345
Source
Calendar()

Callout

a numbered annotation; place with .position(x:y:)

role callout · arguments number, text

1Text
Source
Callout(1, "Text")

CandlestickChart

role chart · defaults kind: "candlestick"

Source
CandlestickChart(values: [3, 5, 2, 6, 4])

Canvas

free-form area; place children with .position(x:y:); grid: .dots|.lines

role canvas

ContentAction
Source
Canvas() { Text("Content"); Button("Action") }.frame(width: 160, height: 96)

Capsule

role shape · defaults shape: "capsule"

Source
Capsule().frame(width: 160, height: 96)

Card

role card · arguments title

Title
ContentAction
Source
Card("Title") { Text("Content"); Button("Action") }

Chart

kind: .bar|.line|.area|.pie|.donut|.scatter|.bubble|.radar|.heatmap|.funnel|.treemap|.gauge|.candlestick|.combo|.sparkline; values:/series:/labels:/points:/matrix:

role chart

Source
Chart(values: [3, 5, 2, 6, 4])

Checkbox

role checkbox · arguments label

Label
Source
Checkbox("Label")

Chip

role chip · arguments label

Label
Source
Chip("Label")

Circle

role shape · defaults shape: "circle"

Source
Circle().frame(width: 160, height: 96)

CodeBlock

role code · arguments code · defaults lineNumbers: False

let total = items.count
Source
CodeBlock("let total = items.count")

CodeEditor

CodeEditor("…", language: "swift", lineNumbers:, highlight: [3], tabs: [..])

role code · arguments code

1let total = items.count
Source
CodeEditor("let total = items.count")

Color

role color · arguments color

Source
Color(.blue).frame(width: 160, height: 96)

ColorSwatches

colors: [.red, "#0af", …], selection:

role swatches

Source
ColorSwatches()

ComboChart

role chart · defaults kind: "combo"

Source
ComboChart(values: [3, 5, 2, 6, 4])

Comment

author:, time:, avatar:

role message · arguments text · defaults variant: "comment"

Text
Source
Comment("Text")

ControlGroup

role toolbar · defaults variant: "group"

Source
ControlGroup() { Button("Save"); Button("Share") }

DatePicker

selection: "2026-11-23"; .datePickerStyle(.graphical)

role datepicker · arguments label

Source
DatePicker("Label")

Dialog

role dialog · arguments title

Source
Dialog("Title") { Text("Content"); Button("Action") }

DisclosureGroup

role accordion · arguments title

Title
Source
DisclosureGroup("Title") { Text("Content"); Button("Action") }

Divider

role divider

Source
Divider()

DonutChart

role chart · defaults kind: "donut"

Source
DonutChart(values: [3, 5, 2, 6, 4])

Dropzone

role dropzone · arguments label

Label
Source
Dropzone("Label")

Ellipse

role shape · defaults shape: "ellipse"

Source
Ellipse().frame(width: 160, height: 96)

EmptyState

title, systemImage:, description: { actions }

role emptystate · arguments title

Title
Source
EmptyState("Title")

FloatingActionButton

role fab · arguments icon

Source
FloatingActionButton("star")

Form

role form

Name
Notifications
Source
Form() { TextField("Name"); Toggle("Notifications", isOn: true) }

FunnelChart

role chart · defaults kind: "funnel"

Source
FunnelChart(values: [3, 5, 2, 6, 4])

Gantt

scale: ["W1",…], tasks: [("Design", 0, 2, 0.6), …], today:

role gantt

1234567
Design
Build
Source
Gantt(tasks: [("Design", 0, 3), ("Build", 2, 5)])

Gauge

role progress · arguments value · defaults variant: "gauge"

Source
Gauge(60)

GaugeChart

role chart · defaults kind: "gauge"

Source
GaugeChart(values: [3, 5, 2, 6, 4])

Grid

Grid of GridRow children, or columns: n

role grid

ContentAction
Source
Grid() { Text("Content"); Button("Action") }

GridRow

role gridrow

ContentAction
Source
GridRow() { Text("Content"); Button("Action") }

Group

role group

ContentAction
Source
Group() { Text("Content"); Button("Action") }

GroupBox

role card · arguments title

Title
ContentAction
Source
GroupBox("Title") { Text("Content"); Button("Action") }

HStack

Horizontal stack. spacing:, alignment: .top|.center|.bottom

role hstack

ContentAction
Source
HStack() { Text("Content"); Button("Action") }

Heatmap

role chart · defaults kind: "heatmap"

Source
Heatmap(values: [3, 5, 2, 6, 4])

Histogram

role chart · defaults kind: "histogram"

Source
Histogram(values: [3, 5, 2, 6, 4])

Icon

role icon · arguments name

Source
Icon("star")

IconButton

role button · arguments icon · defaults iconOnly: True

Source
IconButton("star")

Image

Image("path.png") or Image(systemName: "star")

role image · arguments name

Source
Image().frame(width: 160, height: 96)

KanbanCard

title, description:, tags: [..], assignees: [..], due:, comments:, priority:

role kanbancard · arguments title

Title
Source
KanbanCard("Title")

Kbd

Kbd(["⌘", "K"]) or Kbd("Esc")

role kbd · arguments keys

⌘K
Source
Kbd(["⌘", "K"])

Label

Label("Inbox", systemImage: "tray")

role label · arguments title

Title
Source
Label("Title")

LabeledContent

role labeled · arguments label, value

LabelContentAction
Source
LabeledContent("Label", "Value") { Text("Content"); Button("Action") }

LazyHGrid

role grid

ContentAction
Source
LazyHGrid() { Text("Content"); Button("Action") }

LazyHStack

role hstack

ContentAction
Source
LazyHStack() { Text("Content"); Button("Action") }

LazyVGrid

columns: [GridItem(.flexible()), …] or a count

role grid

ContentAction
Source
LazyVGrid() { Text("Content"); Button("Action") }

LazyVStack

role vstack

ContentAction
Source
LazyVStack() { Text("Content"); Button("Action") }

LineChart

role chart · defaults kind: "line"

Source
LineChart(values: [3, 5, 2, 6, 4])

role link · arguments label, destination

Label
Source
Link("Label")

List

.listStyle(.insetGrouped|.plain|.sidebar|…)

role list

First item
Second item
Source
List() { Text("First item"); Text("Second item") }

ListItem

role listitem · arguments title

Title
Source
ListItem("Title")

Map

pins: [(x%, y%, "label")], route:, showsUserLocation:, height:

role map

Source
Map().frame(width: 160, height: 96)

role menu · arguments label

Label
Source
Menu("Label") { Button("Open"); Button("Save"); Divider(); Button("Close") }

role menuitem · arguments label

Source
MenuItem("Label")

MessageBubble

MessageBubble("Hi", from: .me|.them, author:, time:, status:, reactions: [..])

role message · arguments text

Text
Source
MessageBubble("Text")

role navitem · arguments label

Label
Source
NavItem("Label")

role listitem · arguments title · defaults chevron: True

Title
Source
NavigationLink("Title")

{ sidebar } content: { … } detail: { … }

role split

Content
Action
Source
NavigationSplitView() { Text("Content"); Button("Action") }

Content's .navigationTitle / .toolbar form the bar

role navstack

ContentAction
Source
NavigationStack() { Text("Content"); Button("Action") }

role navstack

ContentAction
Source
NavigationView() { Text("Content"); Button("Action") }

Pagination

role pagination

Source
Pagination()

Picker

Picker("Size", selection: "M") { Text("S") … }

role select · arguments label

Source
Picker("Label")

PieChart

role chart · defaults kind: "pie"

Source
PieChart(values: [3, 5, 2, 6, 4])

Placeholder

A labelled box for maps, charts, media

role placeholder · arguments label

Label
Source
Placeholder("Label").frame(width: 160, height: 96)

Pointer

Pointer(.arrow|.hand|.ibeam|.grab|.crosshair|.touch); place with .position

role pointer · arguments kind

Source
Pointer(.arrow)

ProgressView

value: 0…1 (or total:); none = indeterminate

role progress · arguments label

Label
Source
ProgressView("Label")

RadarChart

role chart · defaults kind: "radar"

Source
RadarChart(values: [3, 5, 2, 6, 4])

RadioButton

role radio · arguments label

Label
Source
RadioButton("Label")

RadioGroup

role radiogroup · arguments label

Label
Source
RadioGroup("Label")

Rating

role rating · arguments value

Source
Rating(60)

Rectangle

role shape · defaults shape: "rectangle"

Source
Rectangle().frame(width: 160, height: 96)

RoundedRectangle

role shape · defaults shape: "rounded"

Source
RoundedRectangle().frame(width: 160, height: 96)

Row

title, subtitle:, detail:, systemImage:, chevron:

role listitem · arguments title

Title
Source
Row("Title")

ScatterChart

role chart · defaults kind: "scatter"

Source
ScatterChart(values: [3, 5, 2, 6, 4])

Schedule

days: [..], startHour:, endHour:, events: [("Standup", "Mon", 9, 9.5, .blue)], now:

role schedule

8:009:0010:0011:0012:0013:0014:0015:0016:0017:00
Mon
Tue
Wed
Thu
Fri
Source
Schedule()

ScrollView

role scroll · arguments axes

ContentAction
Source
ScrollView() { Text("Content"); Button("Action") }

SearchField

role textfield · arguments placeholder · defaults kind: "search"

Placeholder
Source
SearchField("Placeholder")

Section

Section("Header") { … } footer: { … }

role section · arguments title

Title
First itemSecond item
Source
Section("Title") { Text("First item"); Text("Second item") }

SecureField

role textfield · arguments placeholder · defaults kind: "password"

Placeholder
Source
SecureField("Placeholder")

SegmentedControl

role segmented · arguments items

OneTwoThree
Source
SegmentedControl(["One", "Two", "Three"])

SelectionRect

a drag-selection rectangle; size with .frame, place with .position

role marquee

Source
SelectionRect()

Sheet

role dialog · arguments title · defaults variant: "sheet"

Source
Sheet("Title") { Text("Content"); Button("Action") }

role sidebar · arguments title

Source
Sidebar("Title") { Text("Content"); Button("Action") }

Skeleton

lines:, avatar:, image:, shape: .circle|.rectangle|.text

role skeleton

Source
Skeleton().frame(width: 160, height: 96)

Slider

Slider(value: 0.4) or Slider(value: 30, in: 0...100)

role slider

Source
Slider()

Spacer

role spacer

Source
Spacer()

Sparkline

role chart · arguments values · defaults kind: "sparkline"

Source
Sparkline([3, 5, 2, 6, 4], values: [3, 5, 2, 6, 4])

Spreadsheet

rows: [[…]], selection: "B2:C4", active:, formula:, sheets: [..], highlight: ["B3": .yellow]

role spreadsheet

AB
1AB
212
334
Source
Spreadsheet(columns: ["A", "B"], rows: [[1, 2], [3, 4]])

Stat

Stat("Revenue", "$48k", change: "+12%", trend: [..], systemImage:)

role stat · arguments label, value

Label
60
Source
Stat("Label", 60)

Stepper

role stepper · arguments label

Label
Source
Stepper("Label")

Steps

role steps · arguments steps

1Cart
2Shipping
3Payment
Source
Steps(["Cart", "Shipping", "Payment"])

StickyNote

StickyNote("Call Ana", color: .yellow, rotation: -2, author:)

role stickynote · arguments text

Text
Source
StickyNote("Text")

Tab

Tab("Home", systemImage: "house") { … }

role tab · arguments label

Source
Tab("Label")

TabView

Children with .tabItem { Label } or Tab(…)

role tabs · defaults placement: "bottom"

OneTwo
First tab
Source
TabView() { Text("First tab").tabItem { Text("One") }; Text("Second tab").tabItem { Text("Two") } }

Table

columns: ["Name", …], rows: [[…], …] or TableRow children

role table

NameStatus
Ana LimaActive
Ben OkaforAway
Source
Table(columns: ["Name", "Status"], rows: [["Ana Lima", "Active"], ["Ben Okafor", "Away"]])

TableColumn

role tablecolumn · arguments title

Source
TableColumn("Title")

TableRow

role tablerow

Source
TableRow()

Tabs

role tabs · arguments items · defaults placement: "top"

OneTwo
First tab
Source
Tabs(["One", "Two", "Three"]) { Text("First tab").tabItem { Text("One") }; Text("Second tab").tabItem { Text("Two") } }

Tag

role chip · arguments label

Label
Source
Tag("Label")

Terminal

lines starting with "$ " are commands

role code · arguments code · defaults variant: "terminal"

Terminal
let total = items.count
Source
Terminal("let total = items.count")

Text

Text with bold, italic, code Markdown

role text · arguments content

Content
Source
Text("Content")

TextEditor

role textfield · arguments text · defaults kind: "multiline"

Text
Source
TextEditor("Text")

TextField

TextField("Placeholder", text: "value")

role textfield · arguments placeholder

Placeholder
Source
TextField("Placeholder")

Timeline

role timeline

Created
Shipped
Source
Timeline() { TimelineItem("Created"); TimelineItem("Shipped") }

TimelineItem

title, time:, description:, systemImage:, status:

role timelineitem · arguments title

Title
Source
TimelineItem("Title")

Toast

role toast · arguments message

Message
Source
Toast("Message")

Toggle

Toggle("Wi-Fi", isOn: true)

role toggle · arguments label

Label
Source
Toggle("Label")

Toolbar

role toolbar

Source
Toolbar() { Button("Save"); Button("Share") }

ToolbarItem

ToolbarItem(placement: .topBarTrailing) { … }

role toolbaritem

ContentAction
Source
ToolbarItem() { Text("Content"); Button("Action") }

ToolbarItemGroup

role toolbaritem

ContentAction
Source
ToolbarItemGroup() { Text("Content"); Button("Action") }

Tooltip

role tooltip · arguments text

ContentActionText
Source
Tooltip("Text") { Text("Content"); Button("Action") }

Tree

Tree { TreeItem("src") { TreeItem("main.swift") } }

role tree

Folder
File
Source
Tree() { TreeItem("Folder") { TreeItem("File") } }

TreeItem

label, systemImage:, folder:, expanded:, selected:, detail:

role treeitem · arguments label

Label
Source
TreeItem("Label")

Treemap

role chart · defaults kind: "treemap"

Source
Treemap(values: [3, 5, 2, 6, 4])

VStack

Vertical stack. spacing:, alignment: .leading|.center|.trailing

role vstack

ContentAction
Source
VStack() { Text("Content"); Button("Action") }

VideoPlayer

poster image, progress: 0…1, time:, duration:, playing:

role media · arguments image

Source
VideoPlayer().frame(width: 160, height: 96)

Whiteboard

role canvas · defaults grid: "dots"

ContentAction
Source
Whiteboard() { Text("Content"); Button("Action") }.frame(width: 160, height: 96)

ZStack

Overlapping layers. alignment:

role zstack

ContentAction
Source
ZStack() { Text("Content"); Button("Action") }