SwiftUI Search field

Search field with wrap and unwrap animation effect

Features

  • Setting custom colors for the component
  • iOS and macOS support
  • Dark and light scheme support

Creation

      @State var text : String = ""
      
      SearchFieldShell(text: $text)

Optional

  • size– The height of the component
  • color – Lines color
  • imageName – Any icon name from SF symbols
  • durationScale – Duration of scale animation
  • durationMove – Duration of movement animation

SwiftUI example of using package

click to watch expected UI behavior for the example

click to watch expected UI behavior for the example

click to watch expected UI behavior for the example

click to watch expected UI behavior for the example

Documentation(API)

  • You need to have Xcode 13 installed in order to have access to Documentation Compiler (DocC)
  • Go to Product > Build Documentation or โŒƒโ‡งโŒ˜ D

GitHub

View Github