---
title: slash
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/symbolvariants/slash-swift.property
---

# slash

A slashed version of the variant.

## Declaration

```swift
var slash: SymbolVariants { get }
```

## Discussion

Discussion Use this property to modify a shape variant like circle so that it’s also covered by a slash: Label("Circle Slash", systemImage: "flag")     .symbolVariant(.circle.slash)

## See Also

### Modifying a variant

- [circle](swiftui/symbolvariants/circle-swift.property.md)
- [square](swiftui/symbolvariants/square-swift.property.md)
- [rectangle](swiftui/symbolvariants/rectangle-swift.property.md)
- [fill](swiftui/symbolvariants/fill-swift.property.md)
