Swift95

Bevel95

Theme-aware raised, sunken, and input edge treatment.

bevel95(_:) applies the classic multi-edge surface without changing layout or hit testing.

Use it

import Swift95
import SwiftUI

struct Bevel95Example: View {
  var body: some View {
    Text95("Status: Ready")
      .padding(8)
      .bevel95(.raised)
  }
}

Essential behavior

StylesRaised, sunken, and input styles select edge direction and default background.
LayoutThe effect draws inside the existing bounds.
ThemeBorder width, border colors, and surface colors come from Theme95.

Related

Open the complete Bevel95 API reference →