DropletValuePill

Shared capsule pill for compact read-only values in settings rows.

@MainActor struct DropletValuePill

Inside a settings card the pill adopts the compact trailing-control height (24pt, 4pt vertical padding) so it lines up with every other inline control; outside a card it sizes intrinsically at 3pt, exactly like Droppy's own pill. The kit previously hardcoded the outside-a-card shape everywhere, which rendered a droplet's pills two points shorter than the native rows beside them.

Initializers

init(text:)

@MainActor init(text: String)

Creates a pill with its text.

Properties

body

@MainActor var body: some View { get }