DropletSettingsToolbarPill

Droppy's Liquid Glass pill for the Settings toolbar, drawn by the host (DroppyKit 1.18.0).

@MainActor struct DropletSettingsToolbarPill<Content> where Content : View

The capsule every control at the right of Droppy's Settings toolbar sits in: a feature's switch, Droppy Sync, Extra seats. Put one control in it, laid out with dropletSettingsToolbarPillContent(horizontalPadding:) inside that control. DropletSettingsToolbarButton, DropletSettingsToolbarMenu, DropletSettingsToolbarSwitch and DropletSettingsToolbarSearchField are this pill already. Outside Droppy (the harness) it is the system's glass in the same shape.

Initializers

init(content:)

@MainActor init(@ViewBuilder content: () -> Content)

Creates a pill around a control.

Properties

body

@MainActor var body: some View { get }