<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/SymbolVariants/none",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI14SymbolVariantsV4noneACvpZ"
  },
  "title" : "none"
}
-->

# none

No variant for a symbol.

```
static let none: SymbolVariants
```

## Discussion

Using this variant with the [`symbolVariant(_:)`](/documentation/SwiftUI/View/symbolVariant(_:)) modifier doesn’t
have any effect. Instead, to show a symbol that ignores the current
variant, directly set the [`symbolVariants`](/documentation/SwiftUI/EnvironmentValues/symbolVariants)
environment value to `none` using the [`environment(_:_:)`](/documentation/SwiftUI/View/environment(_:_:))
modifer:

```
HStack {
    Image(systemName: "heart")
    Image(systemName: "heart")
        .environment(\.symbolVariants, .none)
}
.symbolVariant(.fill)
```

![A screenshot of two heart symbols. The first is filled while the](images/com.apple.SwiftUI/SymbolVariants-none-1@2x.png)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)