Skip to content

SwiftUI field custom search field with animation effect SwiftUI field, custom styling and theming, search bar implementation

License

Notifications You must be signed in to change notification settings

igor11191708/swiftui-search-field-shell-line

Repository files navigation

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