DropletSettingsToolbarSearchField

A search over the page, as a pill in Droppy's Settings toolbar (DroppyKit 1.18.0).

@MainActor struct DropletSettingsToolbarSearchField

Always open, the way the Store's search is: a magnifier, the field, and a clear button while there is text. Escape clears it. width is the field's; keep it narrow, since the toolbar also holds the page title.

Initializers

init(text:prompt:width:)

@MainActor init(text: Binding<String>, prompt: String, width: CGFloat = 120)

Creates a search pill.

Properties

body

@MainActor var body: some View { get }