# Secure​Field95

A secure native text field with classic input styling.

SecureField95 keeps the system secure-entry behavior and styles the field without exposing or duplicating its private value.

![SecureField95 containing an obscured windows95 password](/images/securefield95-compact-macos.png)

The complete secure field rendered by the snippet below.

## Use it

```swift
import Swift95
import SwiftUI

struct SecureField95Example: View {
  @State private var password = "windows95"

  var body: some View {
    SecureField95("Password", text: $password)
      .swiftUI { field in
        field.textContentType(.password)
      }
      .frame(width: 380)
  }
}
```

## Essential behavior

**Privacy**Uses SwiftUI SecureField for native obscured text entry.

**Native APIs**Use swiftUI(\_:) for text content type and submit behavior.

**Sizing**Choose a width that fits the expected credential instead of filling an entire desktop form.

**State**Inherits enabled state, colors, fonts, and metrics from the environment.

## Related

- [TextField95](/components/text-field/)
- [Strings95](/components/strings/)
- [Theme95](/components/theme/)

[Open the complete SecureField95 API reference →](/api/documentation/swift95/securefield95)
