SettingsPaneProviding

Adopt to contribute a settings pane to the Droplets shop detail page and to embedded settings surfaces.

@MainActor protocol SettingsPaneProviding : Droplet

Build panes from the DroppyKit settings kit (DropletSettingsCard, DropletToggleRow, settingsUnifiedPickerRow(title:subtitle:icon:iconColor:options:accessibilityLabel:groupPosition:isEnabled:isSelected:action:content:) and friends) so they render identically to Droppy's own settings pages.

  • Note: Maturity: Stable. Covered by the 1.0 compatibility promise. Host support: the shipping Droppy does not mount an external droplet's settings pane yet; the harness does. See Host support.

Properties

settingsSearchEntries

@MainActor var settingsSearchEntries: [SettingsSearchEntry] { get }

Entries for the host's settings search. Defaults to none.

settingsSearchEntries

@MainActor var settingsSearchEntries: [SettingsSearchEntry] { get }

Methods

makeSettingsPane(context:)

@MainActor func makeSettingsPane(context: SettingsPaneContext) -> AnyView

Builds the settings pane. Called on demand; may be called multiple times per session, so return a fresh view each time and keep state in the droplet, not the view.