Swift95

Text95

SwiftUI text rendered with the active Swift95 typography and colors.

Text95 is the direct choice for labels and copy that should inherit the library’s body font and state-aware colors.

Text95 labels in enabled and disabled states
The enabled and disabled labels rendered by the snippet below.

Use it

import Swift95
import SwiftUI

struct Text95Example: View {
  var body: some View {
    VStack(alignment: .leading, spacing: 10) {
      Text95("Ready")
      Text95("Unavailable")
        .disabled(true)
    }
  }
}

Essential behavior

TypographyUses the active theme’s body font by default.
StateAutomatically switches to disabled foreground tokens.
CompositionUse ordinary SwiftUI layout and modifiers around Text95.

Related

Open the complete Text95 API reference →