---
title: "SettingsPaneContext, DroppyKit"
description: "Context passed to makeSettingsPane(context:)."
canonical: "https://getdroppy.app/docs/droppykit/api/settings-pane-context"
last-updated: "2026-09-09"
---

# SettingsPaneContext

Context passed to makeSettingsPane(context:).

`struct SettingsPaneContext`

## Initializers

### init(presentation:preferredContentWidth:)

`init(presentation: SettingsPanePresentation, preferredContentWidth: CGFloat? = nil)`

Creates a context. Constructed by hosts, read by droplets.

## Properties

### preferredContentWidth

`let preferredContentWidth: CGFloat?`

Width the host lays the pane out at, when known. Panes should fill the proposed width and never hardcode their own.

### presentation

`let presentation: SettingsPanePresentation`

The surface presenting the pane.
