View Source Modifier Index

accessibilityAction

accessibilityAction(action:label:)

See SwiftUI.View/accessibilityAction(action:label:) for more details on this ViewModifier. Example:

<Element style='accessibilityAction(action: event("action"), label: :label)'>
  <Child template="label" />
</Element>
def handle_event("action", params, socket)

accessibilityActions

accessibilityActions(_:)

See SwiftUI.View/accessibilityActions(_:) for more details on this ViewModifier. Example:

<Element style="accessibilityActions(:content)">
  <Child template="content" />
</Element>

accessibilityChildren

accessibilityChildren(children:)

See SwiftUI.View/accessibilityChildren(children:) for more details on this ViewModifier. Example:

<Element style="accessibilityChildren(children: :children)">
  <Child template="children" />
</Element>

accessibilityIgnoresInvertColors

accessibilityIgnoresInvertColors(_:)

  • active: attr("...") or Bool

See SwiftUI.View/accessibilityIgnoresInvertColors(_:) for more details on this ViewModifier. Example:

<Element style='accessibilityIgnoresInvertColors(attr("active"))' active={@active} />

accessibilityRepresentation

accessibilityRepresentation(representation:)

See SwiftUI.View/accessibilityRepresentation(representation:) for more details on this ViewModifier. Example:

<Element style="accessibilityRepresentation(representation: :representation)">
  <Child template="representation" />
</Element>

accessibilityShowsLargeContentViewer

accessibilityShowsLargeContentViewer(_:)

See SwiftUI.View/accessibilityShowsLargeContentViewer(_:) for more details on this ViewModifier. Example:

<Element style="accessibilityShowsLargeContentViewer(:largeContentView)">
  <Child template="largeContentView" />
</Element>

accessibilityShowsLargeContentViewer()

See SwiftUI.View/accessibilityShowsLargeContentViewer() for more details on this ViewModifier. Example:

alert

alert(_:isPresented:actions:)

  • titleKey: SwiftUI/LocalizedStringKey (required)
  • isPresented: attr("...") for a Bool (required, change tracked)
  • actions: ViewReference

See SwiftUI.View/alert(_:isPresented:actions:) for more details on this ViewModifier. Example:

<Element style='alert(_LocalizedStringKey_, isPresented: attr("isPresented"), actions: :actions)' isPresented={@isPresented} phx-change="isPresented-changed">
  <Child template="actions" />
</Element>
def handle_event("isPresented-changed", params, socket)

alert(_:isPresented:actions:)

  • title: attr("...") or String (required)
  • isPresented: attr("...") for a Bool (required, change tracked)
  • actions: ViewReference

See SwiftUI.View/alert(_:isPresented:actions:) for more details on this ViewModifier. Example:

<Element style='alert(attr("title"), isPresented: attr("isPresented"), actions: :actions)' title={@title} isPresented={@isPresented} phx-change="isPresented-changed">
  <Child template="actions" />
</Element>
def handle_event("isPresented-changed", params, socket)

alert(_:isPresented:actions:)

See SwiftUI.View/alert(_:isPresented:actions:) for more details on this ViewModifier. Example:

<Element style='alert(:title, isPresented: attr("isPresented"), actions: :actions)' isPresented={@isPresented} phx-change="isPresented-changed">
  <Text template="title">...</Text>
  <Child template="actions" />
</Element>
def handle_event("isPresented-changed", params, socket)

alert(_:isPresented:actions:message:)

  • titleKey: SwiftUI/LocalizedStringKey (required)
  • isPresented: attr("...") for a Bool (required, change tracked)
  • actions: ViewReference
  • message: ViewReference

See SwiftUI.View/alert(_:isPresented:actions:message:) for more details on this ViewModifier. Example:

<Element style='alert(_LocalizedStringKey_, isPresented: attr("isPresented"), actions: :actions, message: :message)' isPresented={@isPresented} phx-change="isPresented-changed">
  <Child template="actions" />
  <Child template="message" />
</Element>
def handle_event("isPresented-changed", params, socket)

alert(_:isPresented:actions:message:)

See SwiftUI.View/alert(_:isPresented:actions:message:) for more details on this ViewModifier. Example:

<Element style='alert(attr("title"), isPresented: attr("isPresented"), actions: :actions, message: :message)' title={@title} isPresented={@isPresented} phx-change="isPresented-changed">
  <Child template="actions" />
  <Child template="message" />
</Element>
def handle_event("isPresented-changed", params, socket)

alert(_:isPresented:actions:message:)

See SwiftUI.View/alert(_:isPresented:actions:message:) for more details on this ViewModifier. Example:

<Element style='alert(:title, isPresented: attr("isPresented"), actions: :actions, message: :message)' isPresented={@isPresented} phx-change="isPresented-changed">
  <Text template="title">...</Text>
  <Child template="actions" />
  <Child template="message" />
</Element>
def handle_event("isPresented-changed", params, socket)

alert(isPresented:error:actions:)

See SwiftUI.View/alert(isPresented:error:actions:) for more details on this ViewModifier. Example:

<Element style='alert(isPresented: attr("isPresented"), error: _AnyLocalizedError_, actions: :actions)' isPresented={@isPresented} phx-change="isPresented-changed">
  <Child template="actions" />
</Element>
def handle_event("isPresented-changed", params, socket)

allowsHitTesting

allowsHitTesting(_:)

  • enabled: attr("...") or Bool (required)

See SwiftUI.View/allowsHitTesting(_:) for more details on this ViewModifier. Example:

<Element style='allowsHitTesting(attr("enabled"))' enabled={@enabled} />

allowsWindowActivationEvents

autocapitalization

autocorrectionDisabled

autocorrectionDisabled(_:)

  • disable: attr("...") or Bool

See SwiftUI.View/autocorrectionDisabled(_:) for more details on this ViewModifier. Example:

<Element style='autocorrectionDisabled(attr("disable"))' disable={@disable} />

badge

Badge(_:)

  • count: attr("...") or Int (required)

See SwiftUI.View/badge(_:) for more details on this ViewModifier. Example:

<Element style='badge(attr("count"))' count={@count} />

badge(_:)

See SwiftUI.View/badge(_:) for more details on this ViewModifier. Example:

<Element style="badge(:label)">
  <Text template="label">...</Text>
</Element>

badge(_:)

  • key: SwiftUI/LocalizedStringKey or nil (required)

See SwiftUI.View/badge(_:) for more details on this ViewModifier. Example:

badge(_:)

  • label: attr("...") or String (required)

See SwiftUI.View/badge(_:) for more details on this ViewModifier. Example:

<Element style='badge(attr("label"))' label={@label} />

badgeProminence

badgeProminence(_:)

See SwiftUI.View/badgeProminence(_:) for more details on this ViewModifier. Example:

baselineOffset

baselineOffset(_:)

  • baselineOffset: attr("...") or CGFloat (required)

See SwiftUI.View/baselineOffset(_:) for more details on this ViewModifier. Example:

<Element style='baselineOffset(attr("baselineOffset"))' baselineOffset={@baselineOffset} />

bold

Bold(_:)

  • isActive: attr("...") or Bool

See SwiftUI.View/bold(_:) for more details on this ViewModifier. Example:

<Element style='bold(attr("isActive"))' isActive={@isActive} />

buttonBorderShape

buttonBorderShape(_:)

See SwiftUI.View/buttonBorderShape(_:) for more details on this ViewModifier. Example:

buttonStyle

buttonStyle(_:)

See SwiftUI.View/buttonStyle(_:) for more details on this ViewModifier. Example:

buttonStyle(_:)

See SwiftUI.View/buttonStyle(_:) for more details on this ViewModifier. Example:

confirmationDialog

confirmationDialog(_:isPresented:titleVisibility:actions:)

  • titleKey: SwiftUI/LocalizedStringKey (required)
  • isPresented: attr("...") for a Bool (required, change tracked)
  • titleVisibility: attr("...") or SwiftUI/Visibility
  • actions: ViewReference

See SwiftUI.View/confirmationDialog(_:isPresented:titleVisibility:actions:) for more details on this ViewModifier. Example:

<Element style='confirmationDialog(_LocalizedStringKey_, isPresented: attr("isPresented"), titleVisibility: attr("titleVisibility"), actions: :actions)' isPresented={@isPresented} titleVisibility={@titleVisibility} phx-change="isPresented-changed">
  <Child template="actions" />
</Element>
def handle_event("isPresented-changed", params, socket)

confirmationDialog(_:isPresented:titleVisibility:actions:)

  • title: attr("...") or String (required)
  • isPresented: attr("...") for a Bool (required, change tracked)
  • titleVisibility: attr("...") or SwiftUI/Visibility
  • actions: ViewReference

See SwiftUI.View/confirmationDialog(_:isPresented:titleVisibility:actions:) for more details on this ViewModifier. Example:

<Element style='confirmationDialog(attr("title"), isPresented: attr("isPresented"), titleVisibility: attr("titleVisibility"), actions: :actions)' title={@title} isPresented={@isPresented} titleVisibility={@titleVisibility} phx-change="isPresented-changed">
  <Child template="actions" />
</Element>
def handle_event("isPresented-changed", params, socket)

confirmationDialog(_:isPresented:titleVisibility:actions:)

  • title: TextReference (required)
  • isPresented: attr("...") for a Bool (required, change tracked)
  • titleVisibility: attr("...") or SwiftUI/Visibility
  • actions: ViewReference

See SwiftUI.View/confirmationDialog(_:isPresented:titleVisibility:actions:) for more details on this ViewModifier. Example:

<Element style='confirmationDialog(:title, isPresented: attr("isPresented"), titleVisibility: attr("titleVisibility"), actions: :actions)' isPresented={@isPresented} titleVisibility={@titleVisibility} phx-change="isPresented-changed">
  <Text template="title">...</Text>
  <Child template="actions" />
</Element>
def handle_event("isPresented-changed", params, socket)

confirmationDialog(_:isPresented:titleVisibility:actions:message:)

  • titleKey: SwiftUI/LocalizedStringKey (required)
  • isPresented: attr("...") for a Bool (required, change tracked)
  • titleVisibility: attr("...") or SwiftUI/Visibility
  • actions: ViewReference
  • message: ViewReference

See SwiftUI.View/confirmationDialog(_:isPresented:titleVisibility:actions:message:) for more details on this ViewModifier. Example:

<Element style='confirmationDialog(_LocalizedStringKey_, isPresented: attr("isPresented"), titleVisibility: attr("titleVisibility"), actions: :actions, message: :message)' isPresented={@isPresented} titleVisibility={@titleVisibility} phx-change="isPresented-changed">
  <Child template="actions" />
  <Child template="message" />
</Element>
def handle_event("isPresented-changed", params, socket)

confirmationDialog(_:isPresented:titleVisibility:actions:message:)

  • title: attr("...") or String (required)
  • isPresented: attr("...") for a Bool (required, change tracked)
  • titleVisibility: attr("...") or SwiftUI/Visibility
  • actions: ViewReference
  • message: ViewReference

See SwiftUI.View/confirmationDialog(_:isPresented:titleVisibility:actions:message:) for more details on this ViewModifier. Example:

<Element style='confirmationDialog(attr("title"), isPresented: attr("isPresented"), titleVisibility: attr("titleVisibility"), actions: :actions, message: :message)' title={@title} isPresented={@isPresented} titleVisibility={@titleVisibility} phx-change="isPresented-changed">
  <Child template="actions" />
  <Child template="message" />
</Element>
def handle_event("isPresented-changed", params, socket)

confirmationDialog(_:isPresented:titleVisibility:actions:message:)

See SwiftUI.View/confirmationDialog(_:isPresented:titleVisibility:actions:message:) for more details on this ViewModifier. Example:

<Element style='confirmationDialog(:title, isPresented: attr("isPresented"), titleVisibility: attr("titleVisibility"), actions: :actions, message: :message)' isPresented={@isPresented} titleVisibility={@titleVisibility} phx-change="isPresented-changed">
  <Text template="title">...</Text>
  <Child template="actions" />
  <Child template="message" />
</Element>
def handle_event("isPresented-changed", params, socket)

containerRelativeFrame

containerRelativeFrame(_:alignment:)

  • axes: SwiftUI/Axis/Set (required)
  • alignment: attr("...") or SwiftUI/Alignment

See SwiftUI.View/containerRelativeFrame(_:alignment:) for more details on this ViewModifier. Example:

<Element style='containerRelativeFrame(_Set_, alignment: attr("alignment"))' alignment={@alignment} />

containerRelativeFrame(_:count:span:spacing:alignment:)

  • axes: SwiftUI/Axis/Set (required)
  • count: attr("...") or Int (required)
  • span: attr("...") or Int
  • spacing: attr("...") or CGFloat (required)
  • alignment: attr("...") or SwiftUI/Alignment

See SwiftUI.View/containerRelativeFrame(_:count:span:spacing:alignment:) for more details on this ViewModifier. Example:

<Element style='containerRelativeFrame(_Set_, count: attr("count"), span: attr("span"), spacing: attr("spacing"), alignment: attr("alignment"))' count={@count} span={@span} spacing={@spacing} alignment={@alignment} />

contentMargins

contentMargins(::for:)

See SwiftUI.View/contentMargins(_:_:for:) for more details on this ViewModifier. Example:

contentMargins(::for:)

See SwiftUI.View/contentMargins(_:_:for:) for more details on this ViewModifier. Example:

<Element style='contentMargins(_Set_, attr("length"), for: .automatic)' length={@length} />

contentMargins(_:for:)

See SwiftUI.View/contentMargins(_:for:) for more details on this ViewModifier. Example:

<Element style='contentMargins(attr("length"), for: .automatic)' length={@length} />

contentShape

contentShape(_:eoFill:)

  • shape: AnyShape (required)
  • eoFill: attr("...") or Bool

See SwiftUI.View/contentShape(_:eoFill:) for more details on this ViewModifier. Example:

<Element style='contentShape(_AnyShape_, eoFill: attr("eoFill"))' eoFill={@eoFill} />

contentShape(::eoFill:)

  • kind: SwiftUI/ContentShapeKinds (required)
  • shape: AnyShape (required)
  • eoFill: attr("...") or Bool

See SwiftUI.View/contentShape(_:_:eoFill:) for more details on this ViewModifier. Example:

<Element style='contentShape(.interaction, _AnyShape_, eoFill: attr("eoFill"))' eoFill={@eoFill} />

contextMenu

contextMenu(menuItems:)

See SwiftUI.View/contextMenu(menuItems:) for more details on this ViewModifier. Example:

<Element style="contextMenu(menuItems: :menuItems)">
  <Child template="menuItems" />
</Element>

contextMenu(menuItems:preview:)

See SwiftUI.View/contextMenu(menuItems:preview:) for more details on this ViewModifier. Example:

<Element style="contextMenu(menuItems: :menuItems, preview: :preview)">
  <Child template="menuItems" />
  <Child template="preview" />
</Element>

controlGroupStyle

controlGroupStyle(_:)

See SwiftUI.View/controlGroupStyle(_:) for more details on this ViewModifier. Example:

coordinateSpace

coordinateSpace(_:)

  • name: SwiftUI/NamedCoordinateSpace (required)

See SwiftUI.View/coordinateSpace(_:) for more details on this ViewModifier. Example:

datePickerStyle

datePickerStyle(_:)

See SwiftUI.View/datePickerStyle(_:) for more details on this ViewModifier. Example:

defaultAdaptableTabBarPlacement

defaultHoverEffect

defaultHoverEffect(_:)

See SwiftUI.View/defaultHoverEffect(_:) for more details on this ViewModifier. Example:

defaultScrollAnchor

defaultScrollAnchor(_:)

  • anchor: attr("...") or SwiftUI/UnitPoint or nil (required)

See SwiftUI.View/defaultScrollAnchor(_:) for more details on this ViewModifier. Example:

<Element style='defaultScrollAnchor(attr("anchor"))' anchor={@anchor} />

defaultWheelPickerItemHeight

defaultWheelPickerItemHeight(_:)

  • height: attr("...") or CGFloat (required)

See SwiftUI.View/defaultWheelPickerItemHeight(_:) for more details on this ViewModifier. Example:

<Element style='defaultWheelPickerItemHeight(attr("height"))' height={@height} />

defersSystemGestures

defersSystemGestures(on:)

  • on: SwiftUI/Edge/Set (required)

See SwiftUI.View/defersSystemGestures(on:) for more details on this ViewModifier. Example:

deleteDisabled

deleteDisabled(_:)

  • isDisabled: attr("...") or Bool (required)

See SwiftUI.View/deleteDisabled(_:) for more details on this ViewModifier. Example:

<Element style='deleteDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />

dialogSuppressionToggle

dialogSuppressionToggle(_:isSuppressed:)

  • titleKey: SwiftUI/LocalizedStringKey (required)
  • isSuppressed: attr("...") for a Bool (required, change tracked)

See SwiftUI.View/dialogSuppressionToggle(_:isSuppressed:) for more details on this ViewModifier. Example:

<Element style='dialogSuppressionToggle(_LocalizedStringKey_, isSuppressed: attr("isSuppressed"))' isSuppressed={@isSuppressed} phx-change="isSuppressed-changed" />
def handle_event("isSuppressed-changed", params, socket)

dialogSuppressionToggle(_:isSuppressed:)

  • title: attr("...") or String (required)
  • isSuppressed: attr("...") for a Bool (required, change tracked)

See SwiftUI.View/dialogSuppressionToggle(_:isSuppressed:) for more details on this ViewModifier. Example:

<Element style='dialogSuppressionToggle(attr("title"), isSuppressed: attr("isSuppressed"))' title={@title} isSuppressed={@isSuppressed} phx-change="isSuppressed-changed" />
def handle_event("isSuppressed-changed", params, socket)

dialogSuppressionToggle(_:isSuppressed:)

  • label: TextReference (required)
  • isSuppressed: attr("...") for a Bool (required, change tracked)

See SwiftUI.View/dialogSuppressionToggle(_:isSuppressed:) for more details on this ViewModifier. Example:

<Element style='dialogSuppressionToggle(:label, isSuppressed: attr("isSuppressed"))' isSuppressed={@isSuppressed} phx-change="isSuppressed-changed">
  <Text template="label">...</Text>
</Element>
def handle_event("isSuppressed-changed", params, socket)

dialogSuppressionToggle(isSuppressed:)

  • isSuppressed: attr("...") for a Bool (required, change tracked)

See SwiftUI.View/dialogSuppressionToggle(isSuppressed:) for more details on this ViewModifier. Example:

<Element style='dialogSuppressionToggle(isSuppressed: attr("isSuppressed"))' isSuppressed={@isSuppressed} phx-change="isSuppressed-changed" />
def handle_event("isSuppressed-changed", params, socket)

digitalCrownAccessory

digitalCrownAccessory(content:)

See SwiftUI.View/digitalCrownAccessory(content:) for more details on this ViewModifier. Example:

<Element style="digitalCrownAccessory(content: :content)">
  <Child template="content" />
</Element>

digitalCrownAccessory(_:)

  • visibility: attr("...") or SwiftUI/Visibility (required)

See SwiftUI.View/digitalCrownAccessory(_:) for more details on this ViewModifier. Example:

<Element style='digitalCrownAccessory(attr("visibility"))' visibility={@visibility} />

disableAutocorrection

dismissalConfirmationDialog

fileDialogCustomizationID

fileDialogCustomizationID(_:)

  • id: attr("...") or String (required)

See SwiftUI.View/fileDialogCustomizationID(_:) for more details on this ViewModifier. Example:

<Element style='fileDialogCustomizationID(attr("id"))' id={@id} />

fileDialogImportsUnresolvedAliases

fileDialogImportsUnresolvedAliases(_:)

  • imports: attr("...") or Bool (required)

See SwiftUI.View/fileDialogImportsUnresolvedAliases(_:) for more details on this ViewModifier. Example:

<Element style='fileDialogImportsUnresolvedAliases(attr("imports"))' imports={@imports} />

fileImporter

fileImporter(isPresented:allowedContentTypes:allowsMultipleSelection:onCompletion:)

  • isPresented: attr("...") (required)
  • allowedContentTypes: attr("...") or list of UTType (required)
  • allowsMultipleSelection: attr("...") or Bool (required)

See SwiftUI.View/fileImporter(isPresented:allowedContentTypes:allowsMultipleSelection:onCompletion:) for more details on this ViewModifier. Example:

<.live_file_input upload={@uploads.avatar} />

fill

Fill(_:Style:)

  • content: SwiftUI/AnyShapeStyle
  • style: SwiftUI/FillStyle

See SwiftUI.Shape/fill(_:style:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  fill(AnyShapeStyle, style: FillStyle)
end

findDisabled

findDisabled(_:)

  • isDisabled: attr("...") or Bool

See SwiftUI.View/findDisabled(_:) for more details on this ViewModifier. Example:

<Element style='findDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />

findNavigator

findNavigator(isPresented:)

  • isPresented: attr("...") for a Bool (required, change tracked)

See SwiftUI.View/findNavigator(isPresented:) for more details on this ViewModifier. Example:

<Element style='findNavigator(isPresented: attr("isPresented"))' isPresented={@isPresented} phx-change="isPresented-changed" />
def handle_event("isPresented-changed", params, socket)

flipsForRightToLeftLayoutDirection

flipsForRightToLeftLayoutDirection(_:)

  • enabled: attr("...") or Bool (required)

See SwiftUI.View/flipsForRightToLeftLayoutDirection(_:) for more details on this ViewModifier. Example:

<Element style='flipsForRightToLeftLayoutDirection(attr("enabled"))' enabled={@enabled} />

focusEffectDisabled

focusEffectDisabled(_:)

  • disabled: attr("...") or Bool

See SwiftUI.View/focusEffectDisabled(_:) for more details on this ViewModifier. Example:

<Element style='focusEffectDisabled(attr("disabled"))' disabled={@disabled} />

focusScope

focusScope(_:)

  • namespace: attr("...") or String (required)

See SwiftUI.View/focusScope(_:) for more details on this ViewModifier. Example:

<Element style='focusScope(attr("namespace"))' namespace={@namespace} />

focusSection

focusSection()

See SwiftUI.View/focusSection() for more details on this ViewModifier. Example:

focusable

Focusable(_:)

  • isFocusable: attr("...") or Bool

See SwiftUI.View/focusable(_:) for more details on this ViewModifier. Example:

<Element style='focusable(attr("isFocusable"))' isFocusable={@isFocusable} />

focusable(_:interactions:)

See SwiftUI.View/focusable(_:interactions:) for more details on this ViewModifier. Example:

<Element style='focusable(attr("isFocusable"), interactions: .activate)' isFocusable={@isFocusable} />

font

Font(_:)

  • font: SwiftUI/Font or nil

See SwiftUI.View/font(_:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  font(.body)
end

fontDesign

fontDesign(_:)

  • design: SwiftUI/Font/Design or nil

See SwiftUI.View/fontDesign(_:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  fontDesign(.default)
end

fontWeight

fontWeight(_:)

  • weight: SwiftUI/Font/Weight or nil

See SwiftUI.View/fontWeight(_:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  fontWeight(.ultraLight)
end

fontWidth

fontWidth(_:)

  • width: SwiftUI/Font/Width or nil

See SwiftUI.View/fontWidth(_:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  fontWidth(.compressed)
end

foregroundStyle

foregroundStyle(_:)

  • style: SwiftUI/AnyShapeStyle (required)

See SwiftUI.View/foregroundStyle(_:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  foregroundStyle(AnyShapeStyle)
end

foregroundStyle(::)

  • primary: SwiftUI/AnyShapeStyle (required)
  • secondary: SwiftUI/AnyShapeStyle (required)

See SwiftUI.View/foregroundStyle(_:_:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  foregroundStyle(AnyShapeStyle, AnyShapeStyle)
end

foregroundStyle(::_:)

  • primary: SwiftUI/AnyShapeStyle (required)
  • secondary: SwiftUI/AnyShapeStyle (required)
  • tertiary: SwiftUI/AnyShapeStyle (required)

See SwiftUI.View/foregroundStyle(_:_:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  foregroundStyle(AnyShapeStyle, AnyShapeStyle, AnyShapeStyle)
end

formStyle

formStyle(_:)

See SwiftUI.View/formStyle(_:) for more details on this ViewModifier. Example:

frame

Frame(Depth:Alignment:)

  • depth: attr("...") or CGFloat or nil (required)
  • alignment: SwiftUI/DepthAlignment

See SwiftUI.View/frame(depth:alignment:) for more details on this ViewModifier. Example:

<Element style='frame(depth: attr("depth"), alignment: _DepthAlignment_)' depth={@depth} />

frame(minDepth:idealDepth:maxDepth:alignment:)

  • minDepth: attr("...") or CGFloat or nil
  • idealDepth: attr("...") or CGFloat or nil
  • maxDepth: attr("...") or CGFloat or nil
  • alignment: SwiftUI/DepthAlignment

See SwiftUI.View/frame(minDepth:idealDepth:maxDepth:alignment:) for more details on this ViewModifier. Example:

<Element style='frame(minDepth: attr("minDepth"), idealDepth: attr("idealDepth"), maxDepth: attr("maxDepth"), alignment: _DepthAlignment_)' minDepth={@minDepth} idealDepth={@idealDepth} maxDepth={@maxDepth} />

frame(width:height:alignment:)

  • width: attr("...") or CGFloat or nil
  • height: attr("...") or CGFloat or nil
  • alignment: attr("...") or SwiftUI/Alignment

See SwiftUI.View/frame(width:height:alignment:) for more details on this ViewModifier. Example:

<Element style='frame(width: attr("width"), height: attr("height"), alignment: attr("alignment"))' width={@width} height={@height} alignment={@alignment} />

frame()

See SwiftUI.View/frame() for more details on this ViewModifier. Example:

frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)

  • minWidth: attr("...") or CGFloat or nil
  • idealWidth: attr("...") or CGFloat or nil
  • maxWidth: attr("...") or CGFloat or nil
  • minHeight: attr("...") or CGFloat or nil
  • idealHeight: attr("...") or CGFloat or nil
  • maxHeight: attr("...") or CGFloat or nil
  • alignment: attr("...") or SwiftUI/Alignment

See SwiftUI.View/frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:) for more details on this ViewModifier. Example:

<Element style='frame(minWidth: attr("minWidth"), idealWidth: attr("idealWidth"), maxWidth: attr("maxWidth"), minHeight: attr("minHeight"), idealHeight: attr("idealHeight"), maxHeight: attr("maxHeight"), alignment: attr("alignment"))' minWidth={@minWidth} idealWidth={@idealWidth} maxWidth={@maxWidth} minHeight={@minHeight} idealHeight={@idealHeight} maxHeight={@maxHeight} alignment={@alignment} />

fullScreenCover

fullScreenCover(isPresented:onDismiss:content:)

  • isPresented: attr("...") for a Bool (required, change tracked)
  • onDismiss: event("...")
  • content: ViewReference

See SwiftUI.View/fullScreenCover(isPresented:onDismiss:content:) for more details on this ViewModifier. Example:

<Element style='fullScreenCover(isPresented: attr("isPresented"), onDismiss: event("onDismiss"), content: :content)' isPresented={@isPresented} phx-change="isPresented-changed">
  <Child template="content" />
</Element>
def handle_event("onDismiss", params, socket)
def handle_event("isPresented-changed", params, socket)

gaugeStyle

gaugeStyle(_:)

See SwiftUI.View/gaugeStyle(_:) for more details on this ViewModifier. Example:

glassBackgroundEffect

glassBackgroundEffect(displayMode:)

  • displayMode: SwiftUI/GlassBackgroundDisplayMode

See SwiftUI.View/glassBackgroundEffect(displayMode:) for more details on this ViewModifier. Example:

glassBackgroundEffect(in:displayMode:)

See SwiftUI.View/glassBackgroundEffect(in:displayMode:) for more details on this ViewModifier. Example:

gridCellAnchor

gridCellAnchor(_:)

  • anchor: attr("...") or SwiftUI/UnitPoint (required)

See SwiftUI.View/gridCellAnchor(_:) for more details on this ViewModifier. Example:

<Element style='gridCellAnchor(attr("anchor"))' anchor={@anchor} />

gridCellColumns

gridCellColumns(_:)

  • count: attr("...") or Int (required)

See SwiftUI.View/gridCellColumns(_:) for more details on this ViewModifier. Example:

<Element style='gridCellColumns(attr("count"))' count={@count} />

gridCellUnsizedAxes

gridCellUnsizedAxes(_:)

  • axes: SwiftUI/Axis/Set (required)

See SwiftUI.View/gridCellUnsizedAxes(_:) for more details on this ViewModifier. Example:

gridColumnAlignment

gridColumnAlignment(_:)

  • guide: attr("...") or SwiftUI/HorizontalAlignment (required)

See SwiftUI.View/gridColumnAlignment(_:) for more details on this ViewModifier. Example:

<Element style='gridColumnAlignment(attr("guide"))' guide={@guide} />

groupBoxStyle

groupBoxStyle(_:)

See SwiftUI.View/groupBoxStyle(_:) for more details on this ViewModifier. Example:

handGestureShortcut

handPointerBehavior

help

Help(_:)

  • textKey: SwiftUI/LocalizedStringKey (required)

See SwiftUI.View/help(_:) for more details on this ViewModifier. Example:

help(_:)

See SwiftUI.View/help(_:) for more details on this ViewModifier. Example:

<Element style="help(:text)">
  <Text template="text">...</Text>
</Element>

help(_:)

  • text: attr("...") or String (required)

See SwiftUI.View/help(_:) for more details on this ViewModifier. Example:

<Element style='help(attr("text"))' text={@text} />

hidden

Hidden()

See SwiftUI.View/hidden() for more details on this ViewModifier. Example:

horizontalRadioGroupLayout

horizontalRadioGroupLayout()

See SwiftUI.View/horizontalRadioGroupLayout() for more details on this ViewModifier. Example:

hoverEffect

hoverEffect(_:)

See SwiftUI.View/hoverEffect(_:) for more details on this ViewModifier. Example:

hoverEffect(_:isEnabled:)

See SwiftUI.View/hoverEffect(_:isEnabled:) for more details on this ViewModifier. Example:

<Element style='hoverEffect(.automatic, isEnabled: attr("isEnabled"))' isEnabled={@isEnabled} />

hoverEffectDisabled

hoverEffectDisabled(_:)

  • disabled: attr("...") or Bool

See SwiftUI.View/hoverEffectDisabled(_:) for more details on this ViewModifier. Example:

<Element style='hoverEffectDisabled(attr("disabled"))' disabled={@disabled} />

hoverEffectGroup

immersiveEnvironmentPicker

indexViewStyle

indexViewStyle(_:)

See SwiftUI.View/indexViewStyle(_:) for more details on this ViewModifier. Example:

inspector

inspector(isPresented:content:)

See SwiftUI.View/inspector(isPresented:content:) for more details on this ViewModifier. Example:

<Element style='inspector(isPresented: attr("isPresented"), content: :content)' isPresented={@isPresented} phx-change="isPresented-changed">
  <Child template="content" />
</Element>
def handle_event("isPresented-changed", params, socket)

inspectorColumnWidth

inspectorColumnWidth(min:ideal:max:)

  • min: attr("...") or CGFloat or nil
  • ideal: attr("...") or CGFloat (required)
  • max: attr("...") or CGFloat or nil

See SwiftUI.View/inspectorColumnWidth(min:ideal:max:) for more details on this ViewModifier. Example:

<Element style='inspectorColumnWidth(min: attr("min"), ideal: attr("ideal"), max: attr("max"))' min={@min} ideal={@ideal} max={@max} />

inspectorColumnWidth(_:)

  • width: attr("...") or CGFloat (required)

See SwiftUI.View/inspectorColumnWidth(_:) for more details on this ViewModifier. Example:

<Element style='inspectorColumnWidth(attr("width"))' width={@width} />

interactionActivityTrackingTag

interactionActivityTrackingTag(_:)

  • tag: attr("...") or String (required)

See SwiftUI.View/interactionActivityTrackingTag(_:) for more details on this ViewModifier. Example:

<Element style='interactionActivityTrackingTag(attr("tag"))' tag={@tag} />

interactiveDismissDisabled

interactiveDismissDisabled(_:)

  • isDisabled: attr("...") or Bool

See SwiftUI.View/interactiveDismissDisabled(_:) for more details on this ViewModifier. Example:

<Element style='interactiveDismissDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />

intersection

intersection(_:eoFill:)

  • other: SwiftUI/AnyShape (required)
  • eoFill: Bool

See SwiftUI.Shape/intersection(_:eoFill:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  intersection(.rect, eoFill: false)
end

invalidatableContent

invalidatableContent(_:)

  • invalidatable: attr("...") or Bool

See SwiftUI.View/invalidatableContent(_:) for more details on this ViewModifier. Example:

<Element style='invalidatableContent(attr("invalidatable"))' invalidatable={@invalidatable} />

italic

Italic(_:)

  • isActive: attr("...") or Bool

See SwiftUI.View/italic(_:) for more details on this ViewModifier. Example:

<Element style='italic(attr("isActive"))' isActive={@isActive} />

kerning

Kerning(_:)

  • kerning: attr("...") or CGFloat (required)

See SwiftUI.View/kerning(_:) for more details on this ViewModifier. Example:

<Element style='kerning(attr("kerning"))' kerning={@kerning} />

keyboardShortcut

keyboardShortcut(_:modifiers:)

See SwiftUI.View/keyboardShortcut(_:modifiers:) for more details on this ViewModifier. Example:

keyboardShortcut(_:)

See SwiftUI.View/keyboardShortcut(_:) for more details on this ViewModifier. Example:

keyboardShortcut(_:)

See SwiftUI.View/keyboardShortcut(_:) for more details on this ViewModifier. Example:

keyboardShortcut(_:modifiers:localization:)

See SwiftUI.View/keyboardShortcut(_:modifiers:localization:) for more details on this ViewModifier. Example:

keyboardType

keyboardType(_:)

See SwiftUI.View/keyboardType(_:) for more details on this ViewModifier. Example:

labelStyle

labelStyle(_:)

See SwiftUI.View/labelStyle(_:) for more details on this ViewModifier. Example:

labeledContentStyle

labeledContentStyle(_:)

See SwiftUI.View/labeledContentStyle(_:) for more details on this ViewModifier. Example:

labelsHidden

labelsHidden()

See SwiftUI.View/labelsHidden() for more details on this ViewModifier. Example:

labelsVisibility

lineIntersection

lineIntersection(_:eoFill:)

  • other: SwiftUI/AnyShape (required)
  • eoFill: Bool

See SwiftUI.Shape/lineIntersection(_:eoFill:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  lineIntersection(.rect, eoFill: false)
end

lineSubtraction

lineSubtraction(_:eoFill:)

  • other: SwiftUI/AnyShape (required)
  • eoFill: Bool

See SwiftUI.Shape/lineSubtraction(_:eoFill:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  lineSubtraction(.rect, eoFill: false)
end

listItemTint

listItemTint(_:)

  • tint: ListItemTint/Resolvable or nil (required)

See SwiftUI.View/listItemTint(_:) for more details on this ViewModifier. Example:

listItemTint(_:)

  • tint: Color/Resolvable or nil (required)

See SwiftUI.View/listItemTint(_:) for more details on this ViewModifier. Example:

listRowBackground

listRowBackground(_:)

  • view: InlineViewReference (required)

See SwiftUI.View/listRowBackground(_:) for more details on this ViewModifier. Example:

listRowHoverEffect

listRowHoverEffect(_:)

See SwiftUI.View/listRowHoverEffect(_:) for more details on this ViewModifier. Example:

listRowHoverEffectDisabled

listRowHoverEffectDisabled(_:)

  • disabled: attr("...") or Bool

See SwiftUI.View/listRowHoverEffectDisabled(_:) for more details on this ViewModifier. Example:

<Element style='listRowHoverEffectDisabled(attr("disabled"))' disabled={@disabled} />

listRowInsets

listRowInsets(_:)

  • insets: SwiftUI/EdgeInsets or nil (required)

See SwiftUI.View/listRowInsets(_:) for more details on this ViewModifier. Example:

listRowPlatterColor

listRowSeparator

listRowSeparator(_:edges:)

  • visibility: attr("...") or SwiftUI/Visibility (required)
  • edges: SwiftUI/VerticalEdge/Set

See SwiftUI.View/listRowSeparator(_:edges:) for more details on this ViewModifier. Example:

<Element style='listRowSeparator(attr("visibility"), edges: _Set_)' visibility={@visibility} />

listRowSeparatorTint

listRowSeparatorTint(_:edges:)

  • color: Color/Resolvable or nil (required)
  • edges: SwiftUI/VerticalEdge/Set

See SwiftUI.View/listRowSeparatorTint(_:edges:) for more details on this ViewModifier. Example:

listRowSpacing

listRowSpacing(_:)

  • spacing: attr("...") or CGFloat or nil (required)

See SwiftUI.View/listRowSpacing(_:) for more details on this ViewModifier. Example:

<Element style='listRowSpacing(attr("spacing"))' spacing={@spacing} />

listSectionSeparator

listSectionSeparator(_:edges:)

  • visibility: attr("...") or SwiftUI/Visibility (required)
  • edges: SwiftUI/VerticalEdge/Set

See SwiftUI.View/listSectionSeparator(_:edges:) for more details on this ViewModifier. Example:

<Element style='listSectionSeparator(attr("visibility"), edges: _Set_)' visibility={@visibility} />

listSectionSeparatorTint

listSectionSeparatorTint(_:edges:)

  • color: Color/Resolvable or nil (required)
  • edges: SwiftUI/VerticalEdge/Set

See SwiftUI.View/listSectionSeparatorTint(_:edges:) for more details on this ViewModifier. Example:

listSectionSpacing

listSectionSpacing(_:)

See SwiftUI.View/listSectionSpacing(_:) for more details on this ViewModifier. Example:

listSectionSpacing(_:)

  • spacing: attr("...") or CGFloat (required)

See SwiftUI.View/listSectionSpacing(_:) for more details on this ViewModifier. Example:

<Element style='listSectionSpacing(attr("spacing"))' spacing={@spacing} />

listStyle

listStyle(_:)

See SwiftUI.View/listStyle(_:) for more details on this ViewModifier. Example:

mask

Mask(Alignment:Mask:)

See SwiftUI.View/mask(alignment:mask:) for more details on this ViewModifier. Example:

<Element style='mask(alignment: .center, mask: :mask)'>
  <Child template="mask" />
</Element>

matchedGeometryEffect

matchedGeometryEffect(id:in:properties:anchor:isSource:)

  • id: attr("...") or String (required)
  • in: attr("...") or String (required)
  • properties: SwiftUI/MatchedGeometryProperties
  • anchor: SwiftUI/UnitPoint
  • isSource: attr("...") or Bool

See SwiftUI.View/matchedGeometryEffect(id:in:properties:anchor:isSource:) for more details on this ViewModifier. Example:

<Element style='matchedGeometryEffect(id: attr("id"), in: attr("namespace"), properties: .frame, anchor: .center, isSource: attr("isSource"))' id={@id} namespace={@namespace} isSource={@isSource} />

matchedTransitionSource

  • visibility: attr("...") or SwiftUI/Visibility (required)

See SwiftUI.View/menuIndicator(_:) for more details on this ViewModifier. Example:

<Element style='menuIndicator(attr("visibility"))' visibility={@visibility} />

See SwiftUI.View/menuOrder(_:) for more details on this ViewModifier. Example:

See SwiftUI.View/menuStyle(_:) for more details on this ViewModifier. Example:

modifierKeyAlternate

monospaced

Monospaced(_:)

  • isActive: attr("...") or Bool

See SwiftUI.View/monospaced(_:) for more details on this ViewModifier. Example:

<Element style='monospaced(attr("isActive"))' isActive={@isActive} />

monospacedDigit

monospacedDigit()

See SwiftUI.View/monospacedDigit() for more details on this ViewModifier. Example:

# stylesheet
"example" do
  monospacedDigit()
end

moveDisabled

moveDisabled(_:)

  • isDisabled: attr("...") or Bool (required)

See SwiftUI.View/moveDisabled(_:) for more details on this ViewModifier. Example:

<Element style='moveDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />
  • hidesBackButton: attr("...") or Bool

See SwiftUI.View/navigationBarBackButtonHidden(_:) for more details on this ViewModifier. Example:

<Element style='navigationBarBackButtonHidden(attr("hidesBackButton"))' hidesBackButton={@hidesBackButton} />

See SwiftUI.View/navigationBarTitleDisplayMode(_:) for more details on this ViewModifier. Example:

  • isPresented: attr("...") for a Bool (required, change tracked)
  • destination: ViewReference

See SwiftUI.View/navigationDestination(isPresented:destination:) for more details on this ViewModifier. Example:

<Element style='navigationDestination(isPresented: attr("isPresented"), destination: :destination)' isPresented={@isPresented} phx-change="isPresented-changed">
  <Child template="destination" />
</Element>
def handle_event("isPresented-changed", params, socket)
  • width: attr("...") or CGFloat (required)

See SwiftUI.View/navigationSplitViewColumnWidth(_:) for more details on this ViewModifier. Example:

<Element style='navigationSplitViewColumnWidth(attr("width"))' width={@width} />
  • min: attr("...") or CGFloat or nil
  • ideal: attr("...") or CGFloat (required)
  • max: attr("...") or CGFloat or nil

See SwiftUI.View/navigationSplitViewColumnWidth(min:ideal:max:) for more details on this ViewModifier. Example:

<Element style='navigationSplitViewColumnWidth(min: attr("min"), ideal: attr("ideal"), max: attr("max"))' min={@min} ideal={@ideal} max={@max} />

See SwiftUI.View/navigationSplitViewStyle(_:) for more details on this ViewModifier. Example:

See SwiftUI.View/navigationSubtitle(_:) for more details on this ViewModifier. Example:

<Element style="navigationSubtitle(:subtitle)">
  <Text template="subtitle">...</Text>
</Element>
  • subtitleKey: SwiftUI/LocalizedStringKey (required)

See SwiftUI.View/navigationSubtitle(_:) for more details on this ViewModifier. Example:

  • subtitle: attr("...") or String (required)

See SwiftUI.View/navigationSubtitle(_:) for more details on this ViewModifier. Example:

<Element style='navigationSubtitle(attr("subtitle"))' subtitle={@subtitle} />

See SwiftUI.View/navigationTitle(_:) for more details on this ViewModifier. Example:

<Element style="navigationTitle(:title)">
  <Text template="title">...</Text>
</Element>
  • titleKey: SwiftUI/LocalizedStringKey (required)

See SwiftUI.View/navigationTitle(_:) for more details on this ViewModifier. Example:

  • title: attr("...") or String (required)

See SwiftUI.View/navigationTitle(_:) for more details on this ViewModifier. Example:

<Element style='navigationTitle(attr("title"))' title={@title} />

See SwiftUI.View/navigationTitle(_:) for more details on this ViewModifier. Example:

<Element style="navigationTitle(:title)">
  <Child template="title" />
</Element>
  • title: attr("...") for a String (required, change tracked)

See SwiftUI.View/navigationTitle(_:) for more details on this ViewModifier. Example:

<Element style='navigationTitle(attr("title"))' title={@title} phx-change="title-changed" />
def handle_event("title-changed", params, socket)

Overview

  • style: AnyNavigationTransition (required)

Create a namespace with the <NamespaceContext> element. See SwiftUI.View/navigationTransition(_:) for more details on this ViewModifier. Example:

<NavigationLink
  destination="..."
  style='navigationTransition(.zoom(sourceID: attr("sourceID"), in: :namespace))'
  sourceID="target"
>
  <Rectangle
    id="target"
    style='matchedTransitionSource(id: attr("id"), in: :namespace)'
  />
</NavigationLink>

offset

Offset(_:)

  • offset: CoreFoundation/CGSize (required)

See SwiftUI.View/offset(_:) for more details on this ViewModifier. Example:

offset(x:y:)

See SwiftUI.View/offset(x:y:) for more details on this ViewModifier. Example:

<Element style='offset(x: attr("x"), y: attr("y"))' x={@x} y={@y} />

offset(z:)

  • z: attr("...") or CGFloat (required)

See SwiftUI.View/offset(z:) for more details on this ViewModifier. Example:

<Element style='offset(z: attr("z"))' z={@z} />

onDeleteCommand

onDeleteCommand(perform:)

  • perform: event("...")

See SwiftUI.View/onDeleteCommand(perform:) for more details on this ViewModifier. Example:

def handle_event("perform", params, socket)

onExitCommand

onExitCommand(perform:)

  • perform: event("...")

See SwiftUI.View/onExitCommand(perform:) for more details on this ViewModifier. Example:

def handle_event("perform", params, socket)

onHover

onHover(perform:)

  • perform: event("...") (required)

See SwiftUI.View/onHover(perform:) for more details on this ViewModifier. Example:

def handle_event("perform", params, socket)

onImmersionChange

onLongPressGesture

onLongPressGesture(minimumDuration:maximumDistance:perform:onPressingChanged:)

  • minimumDuration: attr("...") or Double
  • maximumDistance: attr("...") or CGFloat
  • perform: event("...") (required)
  • onPressingChanged: event("...")

See SwiftUI.View/onLongPressGesture(minimumDuration:maximumDistance:perform:onPressingChanged:) for more details on this ViewModifier. Example:

<Element style='onLongPressGesture(minimumDuration: attr("minimumDuration"), maximumDistance: attr("maximumDistance"), perform: event("perform"), onPressingChanged: event("onPressingChanged"))' minimumDuration={@minimumDuration} maximumDistance={@maximumDistance} />
def handle_event("perform", params, socket)
def handle_event("onPressingChanged", params, socket)

onLongPressGesture(minimumDuration:perform:onPressingChanged:)

  • minimumDuration: attr("...") or Double
  • perform: event("...") (required)
  • onPressingChanged: event("...")

See SwiftUI.View/onLongPressGesture(minimumDuration:perform:onPressingChanged:) for more details on this ViewModifier. Example:

<Element style='onLongPressGesture(minimumDuration: attr("minimumDuration"), perform: event("perform"), onPressingChanged: event("onPressingChanged"))' minimumDuration={@minimumDuration} />
def handle_event("perform", params, socket)
def handle_event("onPressingChanged", params, socket)

onLongTouchGesture

onLongTouchGesture(minimumDuration:perform:onTouchingChanged:)

  • minimumDuration: attr("...") or Double
  • perform: event("...") (required)
  • onTouchingChanged: event("...")

See SwiftUI.View/onLongTouchGesture(minimumDuration:perform:onTouchingChanged:) for more details on this ViewModifier. Example:

<Element style='onLongTouchGesture(minimumDuration: attr("minimumDuration"), perform: event("perform"), onTouchingChanged: event("onTouchingChanged"))' minimumDuration={@minimumDuration} />
def handle_event("perform", params, socket)
def handle_event("onTouchingChanged", params, socket)

onModifierKeysChanged

onMoveCommand

onMoveCommand(perform:)

  • perform: event("...")

See SwiftUI.View/onMoveCommand(perform:) for more details on this ViewModifier. Example:

def handle_event("perform", params, socket)

onPencilDoubleTap

onPencilDoubleTap(perform:)

  • perform: event("...") (required)

See SwiftUI.View/onPencilDoubleTap(perform:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  onPencilDoubleTap(perform: event("perform"))
end
# LiveView
def handle_event("perform", params, socket)

onPencilSqueeze

onPencilSqueeze(perform:)

  • perform: event("...") (required)

See SwiftUI.View/onPencilSqueeze(perform:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  onPencilSqueeze(perform: event("perform"))
end
# LiveView
def handle_event("perform", params, socket)

onPlayPauseCommand

onPlayPauseCommand(perform:)

  • perform: event("...")

See SwiftUI.View/onPlayPauseCommand(perform:) for more details on this ViewModifier. Example:

def handle_event("perform", params, socket)

onScrollPhaseChange

onScrollVisibilityChange

onSubmit

onSubmit(of:action:)

See SwiftUI.View/onSubmit(of:action:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  onSubmit(of: .text, action: event("action"))
end
# LiveView
def handle_event("action", params, socket)

onTapGesture

onTapGesture(count:perform:)

  • count: attr("...") or Int
  • perform: event("...") (required)

See SwiftUI.View/onTapGesture(count:perform:) for more details on this ViewModifier. Example:

<Element style='onTapGesture(count: attr("count"), perform: event("perform"))' count={@count} />
def handle_event("perform", params, socket)

onTapGesture(count:coordinateSpace:perform:)

See SwiftUI.View/onTapGesture(count:coordinateSpace:perform:) for more details on this ViewModifier. Example:

<Element style='onTapGesture(count: attr("count"), coordinateSpace: _AnyCoordinateSpaceProtocol_, perform: event("perform"))' count={@count} />
def handle_event("perform", params, socket)

onVolumeViewpointChange

ornament

ornament(visibility:attachmentAnchor:contentAlignment:ornament:)

  • visibility: attr("...") or SwiftUI/Visibility
  • attachmentAnchor: SwiftUI/OrnamentAttachmentAnchor (required)
  • contentAlignment: attr("...") or SwiftUI/Alignment
  • ornament: ViewReference

See SwiftUI.View/ornament(visibility:attachmentAnchor:contentAlignment:ornament:) for more details on this ViewModifier. Example:

<Element style='ornament(visibility: attr("visibility"), attachmentAnchor: _OrnamentAttachmentAnchor_, contentAlignment: attr("contentAlignment"), ornament: :ornament)' visibility={@visibility} contentAlignment={@contentAlignment}>
  <Child template="ornament" />
</Element>

padding3D

padding3D(_:)

  • insets: SwiftUI/EdgeInsets3D (required)

See SwiftUI.View/padding3D(_:) for more details on this ViewModifier. Example:

padding3D(::)

  • edges: SwiftUI/Edge3D/Set
  • length: attr("...") or CGFloat or nil

See SwiftUI.View/padding3D(_:_:) for more details on this ViewModifier. Example:

<Element style='padding3D(_Set_, attr("length"))' length={@length} />

padding3D(_:)

  • length: attr("...") or CGFloat (required)

See SwiftUI.View/padding3D(_:) for more details on this ViewModifier. Example:

<Element style='padding3D(attr("length"))' length={@length} />

persistentSystemOverlays

persistentSystemOverlays(_:)

  • visibility: attr("...") or SwiftUI/Visibility (required)

See SwiftUI.View/persistentSystemOverlays(_:) for more details on this ViewModifier. Example:

<Element style='persistentSystemOverlays(attr("visibility"))' visibility={@visibility} />

pickerStyle

pickerStyle(_:)

See SwiftUI.View/pickerStyle(_:) for more details on this ViewModifier. Example:

pointerStyle

pointerVisibility

popover

popover(isPresented:attachmentAnchor:arrowEdge:content:)

See SwiftUI.View/popover(isPresented:attachmentAnchor:arrowEdge:content:) for more details on this ViewModifier. Example:

<Element style='popover(isPresented: attr("isPresented"), attachmentAnchor: _PopoverAttachmentAnchor_, arrowEdge: _Edge_, content: :content)' isPresented={@isPresented} phx-change="isPresented-changed">
  <Child template="content" />
</Element>
def handle_event("isPresented-changed", params, socket)

position

Position(_:)

  • position: CoreFoundation/CGPoint (required)

See SwiftUI.View/position(_:) for more details on this ViewModifier. Example:

position(x:y:)

See SwiftUI.View/position(x:y:) for more details on this ViewModifier. Example:

<Element style='position(x: attr("x"), y: attr("y"))' x={@x} y={@y} />

preferredSurroundingsEffect

preferredSurroundingsEffect(_:)

  • effect: SwiftUI/SurroundingsEffect or nil (required)

See SwiftUI.View/preferredSurroundingsEffect(_:) for more details on this ViewModifier. Example:

prefersDefaultFocus

prefersDefaultFocus(_:in:)

  • prefersDefaultFocus: attr("...") or Bool (required)
  • in: attr("...") or String (required)

See SwiftUI.View/prefersDefaultFocus(_:in:) for more details on this ViewModifier. Example:

<Element style='prefersDefaultFocus(attr("prefersDefaultFocus"), in: attr("namespace"))' prefersDefaultFocus={@prefersDefaultFocus} namespace={@namespace} />

presentationBackground

presentationBackground(_:)

  • style: SwiftUI/AnyShapeStyle/Resolvable (required)

See SwiftUI.View/presentationBackground(_:) for more details on this ViewModifier. Example:

presentationBackground(alignment:content:)

  • alignment: attr("...") or SwiftUI/Alignment
  • content: ViewReference

See SwiftUI.View/presentationBackground(alignment:content:) for more details on this ViewModifier. Example:

<Element style='presentationBackground(alignment: attr("alignment"), content: :content)' alignment={@alignment}>
  <Child template="content" />
</Element>

presentationBackgroundInteraction

presentationBackgroundInteraction(_:)

See SwiftUI.View/presentationBackgroundInteraction(_:) for more details on this ViewModifier. Example:

presentationCompactAdaptation

presentationCompactAdaptation(_:)

See SwiftUI.View/presentationCompactAdaptation(_:) for more details on this ViewModifier. Example:

presentationCompactAdaptation(horizontal:vertical:)

See SwiftUI.View/presentationCompactAdaptation(horizontal:vertical:) for more details on this ViewModifier. Example:

presentationContentInteraction

presentationContentInteraction(_:)

See SwiftUI.View/presentationContentInteraction(_:) for more details on this ViewModifier. Example:

presentationCornerRadius

presentationCornerRadius(_:)

  • cornerRadius: attr("...") or CGFloat or nil (required)

See SwiftUI.View/presentationCornerRadius(_:) for more details on this ViewModifier. Example:

<Element style='presentationCornerRadius(attr("cornerRadius"))' cornerRadius={@cornerRadius} />

presentationDetents

presentationDetents(_:)

See SwiftUI.View/presentationDetents(_:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  presentationDetents([.medium, .large])
end

presentationDragIndicator

presentationDragIndicator(_:)

  • visibility: attr("...") or SwiftUI/Visibility (required)

See SwiftUI.View/presentationDragIndicator(_:) for more details on this ViewModifier. Example:

<Element style='presentationDragIndicator(attr("visibility"))' visibility={@visibility} />

presentationSizing

previewDisplayName

previewDisplayName(_:)

  • value: attr("...") or String or nil (required)

See SwiftUI.View/previewDisplayName(_:) for more details on this ViewModifier. Example:

<Element style='previewDisplayName(attr("value"))' value={@value} />

progressViewStyle

progressViewStyle(_:)

See SwiftUI.View/progressViewStyle(_:) for more details on this ViewModifier. Example:

projectionEffect

projectionEffect(_:)

  • transform: SwiftUI/ProjectionTransform (required)

See SwiftUI.View/projectionEffect(_:) for more details on this ViewModifier. Example:

refreshable

Refreshable(Action:)

  • action: event("...") (required)

See SwiftUI.View/refreshable(action:) for more details on this ViewModifier. Example:

def handle_event("action", params, socket)

renameAction

renameAction(_:)

  • action__0: event("...") (required)

See SwiftUI.View/renameAction(_:) for more details on this ViewModifier. Example:

def handle_event("action__0", params, socket)

renderingMode

renderingMode(_:)

  • renderingMode: SwiftUI/Image/TemplateRenderingMode or nil (required)

See SwiftUI.Image/renderingMode(_:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  renderingMode(.template)
end

replaceDisabled

replaceDisabled(_:)

  • isDisabled: attr("...") or Bool

See SwiftUI.View/replaceDisabled(_:) for more details on this ViewModifier. Example:

<Element style='replaceDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />

resizable

resizable(capInsets:resizingMode:)

  • capInsets: SwiftUI/EdgeInsets
  • resizingMode: SwiftUI/Image/ResizingMode

See SwiftUI.Image/resizable(capInsets:resizingMode:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  resizable(capInsets: EdgeInsets, resizingMode: .tile)
end

rotation

Rotation(_:Anchor:)

  • angle: SwiftUI/Angle (required)
  • anchor: SwiftUI/UnitPoint

See SwiftUI.Shape/rotation(_:anchor:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  rotation(.zero, style: .center)
end

rotation3DEffect

rotation3DEffect(_:axis:anchor:anchorZ:perspective:)

  • angle: SwiftUI/Angle (required)
  • axis: Tuple with structure (x: CGFloat, y: CGFloat, z: CGFloat) (required)
  • anchor: SwiftUI/UnitPoint
  • anchorZ: attr("...") or CGFloat
  • perspective: attr("...") or CGFloat

See SwiftUI.View/rotation3DEffect(_:axis:anchor:anchorZ:perspective:) for more details on this ViewModifier. Example:

<Element style='rotation3DEffect(.zero, axis: (x: 1, y: 0, z: 0), anchor: .center, anchorZ: attr("anchorZ"), perspective: attr("perspective"))' anchorZ={@anchorZ} perspective={@perspective} />

scale

Scale(X:Y:Anchor:)

  • x: attr("...") or CGFloat
  • y: attr("...") or CGFloat
  • anchor: SwiftUI/UnitPoint

See SwiftUI.Shape/scale(x:y:anchor:) for more details on this ViewModifier. Example:

<Element class='scale(x: attr("x"), y: attr("y"), anchor: .center)' x={@x} y={@y} />

scenePadding

scenePadding(_:)

  • edges: SwiftUI/Edge/Set

See SwiftUI.View/scenePadding(_:) for more details on this ViewModifier. Example:

scenePadding(_:edges:)

See SwiftUI.View/scenePadding(_:edges:) for more details on this ViewModifier. Example:

scrollBounceBehavior

scrollBounceBehavior(_:axes:)

See SwiftUI.View/scrollBounceBehavior(_:axes:) for more details on this ViewModifier. Example:

scrollClipDisabled

scrollClipDisabled(_:)

  • disabled: attr("...") or Bool

See SwiftUI.View/scrollClipDisabled(_:) for more details on this ViewModifier. Example:

<Element style='scrollClipDisabled(attr("disabled"))' disabled={@disabled} />

scrollContentBackground

scrollContentBackground(_:)

  • visibility: attr("...") or SwiftUI/Visibility (required)

See SwiftUI.View/scrollContentBackground(_:) for more details on this ViewModifier. Example:

<Element style='scrollContentBackground(attr("visibility"))' visibility={@visibility} />

scrollDisabled

scrollDisabled(_:)

  • disabled: attr("...") or Bool (required)

See SwiftUI.View/scrollDisabled(_:) for more details on this ViewModifier. Example:

<Element style='scrollDisabled(attr("disabled"))' disabled={@disabled} />

scrollDismissesKeyboard

scrollDismissesKeyboard(_:)

See SwiftUI.View/scrollDismissesKeyboard(_:) for more details on this ViewModifier. Example:

scrollIndicators

scrollIndicators(_:axes:)

See SwiftUI.View/scrollIndicators(_:axes:) for more details on this ViewModifier. Example:

scrollIndicatorsFlash

scrollIndicatorsFlash(trigger:)

  • trigger: attr("...") or String (required)

See SwiftUI.View/scrollIndicatorsFlash(trigger:) for more details on this ViewModifier. Example:

<Element style='scrollIndicatorsFlash(trigger: attr("trigger"))' trigger={@trigger} />

scrollIndicatorsFlash(onAppear:)

  • onAppear: attr("...") or Bool (required)

See SwiftUI.View/scrollIndicatorsFlash(onAppear:) for more details on this ViewModifier. Example:

<Element style='scrollIndicatorsFlash(onAppear: attr("onAppear"))' onAppear={@onAppear} />

scrollPosition

scrollPosition(id:anchor:)

  • id: attr("...") for a String or nil (required, change tracked)
  • anchor: attr("...") or SwiftUI/UnitPoint or nil

See SwiftUI.View/scrollPosition(id:anchor:) for more details on this ViewModifier. Example:

<Element style='scrollPosition(id: attr("id"), anchor: attr("anchor"))' id={@id} anchor={@anchor} phx-change="id-changed" />
def handle_event("id-changed", params, socket)

scrollTargetBehavior

scrollTargetBehavior(_:)

See SwiftUI.View/scrollTargetBehavior(_:) for more details on this ViewModifier. Example:

scrollTargetLayout

scrollTargetLayout(isEnabled:)

  • isEnabled: attr("...") or Bool

See SwiftUI.View/scrollTargetLayout(isEnabled:) for more details on this ViewModifier. Example:

<Element style='scrollTargetLayout(isEnabled: attr("isEnabled"))' isEnabled={@isEnabled} />

searchCompletion

searchCompletion(_:)

  • token: atom (required)

See SwiftUI.View/searchCompletion(_:) for more details on this ViewModifier. Example:

<Element style="searchCompletion(:token)" />

searchCompletion(_:)

  • completion: attr("...") or String (required)

See SwiftUI.View/searchCompletion(_:) for more details on this ViewModifier. Example:

<Element style='searchCompletion(attr("completion"))' completion={@completion} />

searchDictationBehavior

searchDictationBehavior(_:)

See SwiftUI.View/searchDictationBehavior(_:) for more details on this ViewModifier. Example:

searchPresentationToolbarBehavior

searchPresentationToolbarBehavior(_:)

See SwiftUI.View/searchPresentationToolbarBehavior(_:) for more details on this ViewModifier. Example:

searchScopes

searchScopes(_:activation:scopes:)

See SwiftUI.View/searchScopes(_:activation:scopes:) for more details on this ViewModifier. Example:

<Element style='searchScopes(attr("scope"), activation: .automatic, scopes: :scopes)' scope={@scope} phx-change="scope">
  <Child template="scopes" />
</Element>
def handle_event("scope", params, socket)

searchScopes(_:scopes:)

See SwiftUI.View/searchScopes(_:scopes:) for more details on this ViewModifier. Example:

<Element style='searchScopes(attr("scope"), scopes: :scopes)' scope={@scope} phx-change="scope">
  <Child template="scopes" />
</Element>
def handle_event("scope", params, socket)

searchSuggestions

searchSuggestions(_:)

See SwiftUI.View/searchSuggestions(_:) for more details on this ViewModifier. Example:

<Element style="searchSuggestions(:suggestions)">
  <Child template="suggestions" />
</Element>

searchSuggestions(_:for:)

See SwiftUI.View/searchSuggestions(_:for:) for more details on this ViewModifier. Example:

<Element style='searchSuggestions(attr("visibility"), for: _Set_)' visibility={@visibility} />

searchable

Searchable(Text:Placement:Prompt:)

See SwiftUI.View/searchable(text:placement:prompt:) for more details on this ViewModifier. Example:

<Element style='searchable(text: attr("text"), placement: _SearchFieldPlacement_, prompt: :prompt)' text={@text} phx-change="text-changed">
  <Text template="prompt">...</Text>
</Element>
def handle_event("text-changed", params, socket)

searchable(text:placement:prompt:)

  • text: attr("...") for a String (required, change tracked)
  • placement: SearchFieldPlacement
  • prompt: SwiftUI/LocalizedStringKey (required)

See SwiftUI.View/searchable(text:placement:prompt:) for more details on this ViewModifier. Example:

<Element style='searchable(text: attr("text"), placement: _SearchFieldPlacement_, prompt: _LocalizedStringKey_)' text={@text} phx-change="text-changed" />
def handle_event("text-changed", params, socket)

searchable(text:placement:prompt:)

See SwiftUI.View/searchable(text:placement:prompt:) for more details on this ViewModifier. Example:

<Element style='searchable(text: attr("text"), placement: _SearchFieldPlacement_, prompt: attr("prompt"))' text={@text} prompt={@prompt} phx-change="text-changed" />
def handle_event("text-changed", params, socket)

searchable(text:isPresented:placement:prompt:)

See SwiftUI.View/searchable(text:isPresented:placement:prompt:) for more details on this ViewModifier. Example:

<Element style='searchable(text: attr("text"), isPresented: attr("isPresented"), placement: _SearchFieldPlacement_, prompt: :prompt)' text={@text} isPresented={@isPresented} phx-change="searchable-changed">
  <Text template="prompt">...</Text>
</Element>
def handle_event("searchable-changed", params, socket)

searchable(text:isPresented:placement:prompt:)

  • text: attr("...") for a String (required, change tracked)
  • isPresented: attr("...") for a Bool (required, change tracked)
  • placement: SearchFieldPlacement
  • prompt: SwiftUI/LocalizedStringKey (required)

See SwiftUI.View/searchable(text:isPresented:placement:prompt:) for more details on this ViewModifier. Example:

<Element style='searchable(text: attr("text"), isPresented: attr("isPresented"), placement: _SearchFieldPlacement_, prompt: _LocalizedStringKey_)' text={@text} isPresented={@isPresented} phx-change="searchable-changed" />
def handle_event("searchable-changed", params, socket)

searchable(text:isPresented:placement:prompt:)

  • text: attr("...") for a String (required, change tracked)
  • isPresented: attr("...") for a Bool (required, change tracked)
  • placement: SearchFieldPlacement
  • prompt: attr("...") or String (required)

See SwiftUI.View/searchable(text:isPresented:placement:prompt:) for more details on this ViewModifier. Example:

<Element style='searchable(text: attr("text"), isPresented: attr("isPresented"), placement: _SearchFieldPlacement_, prompt: attr("prompt"))' text={@text} isPresented={@isPresented} prompt={@prompt} phx-change="searchable-changed" />
def handle_event("searchable-changed", params, socket)

sectionActions

selectionDisabled

selectionDisabled(_:)

  • isDisabled: attr("...") or Bool

See SwiftUI.View/selectionDisabled(_:) for more details on this ViewModifier. Example:

<Element style='selectionDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />

sheet

sheet(isPresented:onDismiss:content:)

  • isPresented: attr("...") for a Bool (required, change tracked)
  • onDismiss: event("...")
  • content: ViewReference

See SwiftUI.View/sheet(isPresented:onDismiss:content:) for more details on this ViewModifier. Example:

<Element style='sheet(isPresented: attr("isPresented"), onDismiss: event("onDismiss"), content: :content)' isPresented={@isPresented} phx-change="isPresented-changed">
  <Child template="content" />
</Element>
def handle_event("onDismiss", params, socket)
def handle_event("isPresented-changed", params, socket)

speechAdjustedPitch

speechAdjustedPitch(_:)

  • value: attr("...") or Double (required)

See SwiftUI.View/speechAdjustedPitch(_:) for more details on this ViewModifier. Example:

<Element style='speechAdjustedPitch(attr("value"))' value={@value} />

speechAlwaysIncludesPunctuation

speechAlwaysIncludesPunctuation(_:)

  • value: attr("...") or Bool

See SwiftUI.View/speechAlwaysIncludesPunctuation(_:) for more details on this ViewModifier. Example:

<Element style='speechAlwaysIncludesPunctuation(attr("value"))' value={@value} />

speechAnnouncementsQueued

speechAnnouncementsQueued(_:)

  • value: attr("...") or Bool

See SwiftUI.View/speechAnnouncementsQueued(_:) for more details on this ViewModifier. Example:

<Element style='speechAnnouncementsQueued(attr("value"))' value={@value} />

speechSpellsOutCharacters

speechSpellsOutCharacters(_:)

  • value: attr("...") or Bool

See SwiftUI.View/speechSpellsOutCharacters(_:) for more details on this ViewModifier. Example:

<Element style='speechSpellsOutCharacters(attr("value"))' value={@value} />

statusBar

statusBarHidden

statusBarHidden(_:)

  • hidden: attr("...") or Bool

See SwiftUI.View/statusBarHidden(_:) for more details on this ViewModifier. Example:

<Element style='statusBarHidden(attr("hidden"))' hidden={@hidden} />

strikethrough

Strikethrough(_:Pattern:Color:)

  • isActive: attr("...") or Bool
  • pattern: SwiftUI/Text/LineStyle/Pattern
  • color: attr("...") or SwiftUI/Color or nil

See SwiftUI.View/strikethrough(_:pattern:color:) for more details on this ViewModifier. Example:

<Element style='strikethrough(attr("isActive"), pattern: .solid, color: attr("color"))' isActive={@isActive} color={@color} />

stroke

Stroke(_:Style:Antialiased:)

  • content: SwiftUI/AnyShapeStyle (required)
  • style: SwiftUI/StrokeStyle (required)
  • antialiased: attr("...") or Bool

See SwiftUI.Shape/stroke(_:style:antialiased:) for more details on this ViewModifier. Example:

<Element style='stroke(AnyShapeStyle, style: StrokeStyle, antialiased: attr("antialiased"))' antialiased={@antialiased} />

stroke(_:lineWidth:antialiased:)

  • content: SwiftUI/AnyShapeStyle (required)
  • lineWidth: attr("...") or CGFloat
  • antialiased: attr("...") or Bool

See SwiftUI.Shape/stroke(_:lineWidth:antialiased:) for more details on this ViewModifier. Example:

<Element style='stroke(AnyShapeStyle, lineWidth: attr("lineWidth"), antialiased: attr("antialiased"))' lineWidth={@lineWidth} antialiased={@antialiased} />

submitLabel

submitLabel(_:)

See SwiftUI.View/submitLabel(_:) for more details on this ViewModifier. Example:

submitScope

submitScope(_:)

  • isBlocking: attr("...") or Bool

See SwiftUI.View/submitScope(_:) for more details on this ViewModifier. Example:

<Element style='submitScope(attr("isBlocking"))' isBlocking={@isBlocking} />

subtracting

subtracting(_:eoFill:)

  • other: SwiftUI/AnyShape (required)
  • eoFill: Bool

See SwiftUI.Shape/subtracting(_:eoFill:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  subtracting(.rect, eoFill: false)
end

supportedVolumeViewpoints

swipeActions

swipeActions(edge:allowsFullSwipe:content:)

  • edge: SwiftUI/HorizontalEdge
  • allowsFullSwipe: attr("...") or Bool
  • content: ViewReference

See SwiftUI.View/swipeActions(edge:allowsFullSwipe:content:) for more details on this ViewModifier. Example:

<Element style='swipeActions(edge: .leading, allowsFullSwipe: attr("allowsFullSwipe"), content: :content)' allowsFullSwipe={@allowsFullSwipe}>
  <Child template="content" />
</Element>

symbolEffect

symbolEffect(_:options:isActive:)

See SwiftUI.View/symbolEffect(_:options:isActive:) for more details on this ViewModifier. Example:

<Element style='symbolEffect(_AnyIndefiniteSymbolEffect_, options: _SymbolEffectOptions_, isActive: attr("isActive"))' isActive={@isActive} />

symbolEffect(_:options:value:)

See SwiftUI.View/symbolEffect(_:options:value:) for more details on this ViewModifier. Example:

<Element style='symbolEffect(_AnyDiscreteSymbolEffect_, options: _SymbolEffectOptions_, value: attr("value"))' value={@value} />

symbolEffectsRemoved

symbolEffectsRemoved(_:)

  • isEnabled: attr("...") or Bool

See SwiftUI.View/symbolEffectsRemoved(_:) for more details on this ViewModifier. Example:

<Element style='symbolEffectsRemoved(attr("isEnabled"))' isEnabled={@isEnabled} />

symmetricDifference

symmetricDifference(_:eoFill:)

  • other: SwiftUI/AnyShape (required)
  • eoFill: Bool

See SwiftUI.Shape/symmetricDifference(_:eoFill:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  symmetricDifference(.rect, eoFill: false)
end

tabItem

tabItem(_:)

See SwiftUI.View/tabItem(_:) for more details on this ViewModifier. Example:

<Element style="tabItem(:label)">
  <Child template="label" />
</Element>

tabViewSidebarBottomBar

tabViewSidebarFooter

tabViewSidebarHeader

tabViewStyle

tabViewStyle(_:)

See SwiftUI.View/tabViewStyle(_:) for more details on this ViewModifier. Example:

tableStyle

tableStyle(_:)

See SwiftUI.View/tableStyle(_:) for more details on this ViewModifier. Example:

textContentType

textContentType(_:)

See SwiftUI.View/textContentType(_:) for more details on this ViewModifier. Example:

textEditorStyle

textEditorStyle(_:)

See SwiftUI.View/textEditorStyle(_:) for more details on this ViewModifier. Example:

textFieldStyle

textFieldStyle(_:)

See SwiftUI.View/textFieldStyle(_:) for more details on this ViewModifier. Example:

textInputAutocapitalization

textInputAutocapitalization(_:)

See SwiftUI.View/textInputAutocapitalization(_:) for more details on this ViewModifier. Example:

textInputCompletion

textInputSuggestions

textScale

textScale(_:isEnabled:)

  • scale: SwiftUI/Text/Scale
  • isEnabled: attr("...") or Bool

See SwiftUI.View/textScale(_:isEnabled:) for more details on this ViewModifier. Example:

<Element style='textScale(.default, isEnabled: attr("isEnabled"))' isEnabled={@isEnabled} />

textSelection

textSelection(_:)

See SwiftUI.View/textSelection(_:) for more details on this ViewModifier. Example:

textSelectionAffinity

toggleStyle

toggleStyle(_:)

See SwiftUI.View/toggleStyle(_:) for more details on this ViewModifier. Example:

toolbar

Toolbar(_:For:)

  • visibility: attr("...") or SwiftUI/Visibility (required)
  • for: ToolbarPlacement (required)

See SwiftUI.View/toolbar(_:for:) for more details on this ViewModifier. Example:

<Element style='toolbar(attr("visibility"), for: _ToolbarPlacement_)' visibility={@visibility} />

toolbar(removing:)

See SwiftUI.View/toolbar(removing:) for more details on this ViewModifier. Example:

toolbar(content:)

See SwiftUI.View/toolbar(content:) for more details on this ViewModifier. Example:

toolbar(id:content:)

See SwiftUI.View/toolbar(id:content:) for more details on this ViewModifier. Example:

<Element style='toolbar(id: attr("id"), content: _CustomizableToolbarContentReference_)' id={@id} />

toolbarBackground

toolbarBackground(_:for:)

  • style: SwiftUI/AnyShapeStyle/Resolvable (required)
  • for: ToolbarPlacement (required)

See SwiftUI.View/toolbarBackground(_:for:) for more details on this ViewModifier. Example:

toolbarBackground(_:for:)

  • visibility: attr("...") or SwiftUI/Visibility (required)
  • for: ToolbarPlacement (required)

See SwiftUI.View/toolbarBackground(_:for:) for more details on this ViewModifier. Example:

<Element style='toolbarBackground(attr("visibility"), for: _ToolbarPlacement_)' visibility={@visibility} />

toolbarBackgroundVisibility

toolbarColorScheme

toolbarColorScheme(_:for:)

  • colorScheme: attr("...") or SwiftUI/ColorScheme or nil (required)
  • for: ToolbarPlacement (required)

See SwiftUI.View/toolbarColorScheme(_:for:) for more details on this ViewModifier. Example:

<Element style='toolbarColorScheme(attr("colorScheme"), for: _ToolbarPlacement_)' colorScheme={@colorScheme} />

toolbarForegroundStyle

toolbarItemHidden

toolbarRole

toolbarRole(_:)

See SwiftUI.View/toolbarRole(_:) for more details on this ViewModifier. Example:

toolbarTitleDisplayMode

toolbarTitleDisplayMode(_:)

See SwiftUI.View/toolbarTitleDisplayMode(_:) for more details on this ViewModifier. Example:

toolbarTitleMenu

toolbarVisibility

touchBarCustomizationLabel

touchBarCustomizationLabel(_:)

See SwiftUI.View/touchBarCustomizationLabel(_:) for more details on this ViewModifier. Example:

<Element style="touchBarCustomizationLabel(:label)">
  <Text template="label">...</Text>
</Element>

touchBarItemPrincipal

touchBarItemPrincipal(_:)

  • principal: attr("...") or Bool

See SwiftUI.View/touchBarItemPrincipal(_:) for more details on this ViewModifier. Example:

<Element style='touchBarItemPrincipal(attr("principal"))' principal={@principal} />

tracking

Tracking(_:)

  • tracking: attr("...") or CGFloat (required)

See SwiftUI.View/tracking(_:) for more details on this ViewModifier. Example:

<Element style='tracking(attr("tracking"))' tracking={@tracking} />

transform

Transform(_:)

  • transform: CoreGraphics/CGAffineTransform (required)

See SwiftUI.Shape/transform(_:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  transform(.identity)
end

transform3DEffect

transform3DEffect(_:)

  • transform: Spatial/AffineTransform3D (required)

See SwiftUI.View/transform3DEffect(_:) for more details on this ViewModifier. Example:

transformEffect

transformEffect(_:)

See SwiftUI.View/transformEffect(_:) for more details on this ViewModifier. Example:

underline

Underline(_:Pattern:Color:)

  • isActive: attr("...") or Bool
  • pattern: SwiftUI/Text/LineStyle/Pattern
  • color: attr("...") or SwiftUI/Color or nil

See SwiftUI.View/underline(_:pattern:color:) for more details on this ViewModifier. Example:

<Element style='underline(attr("isActive"), pattern: .solid, color: attr("color"))' isActive={@isActive} color={@color} />

union

union(_:eoFill:)

  • other: SwiftUI/AnyShape (required)
  • eoFill: Bool

See SwiftUI.Shape/union(_:eoFill:) for more details on this ViewModifier. Example:

# stylesheet
"example" do
  union(.rect, eoFill: false)
end

upperLimbVisibility

upperLimbVisibility(_:)

  • preferredVisibility: attr("...") or SwiftUI/Visibility (required)

See SwiftUI.View/upperLimbVisibility(_:) for more details on this ViewModifier. Example:

<Element style='upperLimbVisibility(attr("preferredVisibility"))' preferredVisibility={@preferredVisibility} />

volumeBaseplateVisibility

windowDismissBehavior

windowFullScreenBehavior

windowMinimizeBehavior

windowResizeBehavior

windowToolbarFullScreenVisibility

writingToolsBehavior

Types