# sindresorhus/Settings

⚙ Add a settings window to your macOS app in minutes

Repository: https://github.com/sindresorhus/Settings
Canonical: https://ross.abutalabs.com/products/settings
Language: Swift
License: MIT
License Family: permissive
Topics: preferences, macos, swift-package, swift-package-manager, carthage, cocoapods, swiftui, preferences-window, swiftui-components, settings
Last push: 2025-11-10T17:10:41+00:00

## Health v2 (maintenance only)
Score: 51/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 51, release rhythm 24, longevity 100
- inputs: {"age_days": 2987, "days_push": 296, "days_rel": 296, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1550, forks 125 (observed 2026-08-28T04:05:02.075857+00:00)

## What it is
A Swift package that lets macOS developers add a native settings/preferences window to their app in minutes by passing in view controllers. It supports both AppKit and SwiftUI and handles window styling, toolbar icons, and pane management automatically.

## Use cases
- add a settings window to my macos app
- create a preferences window with multiple panes in swift
- build a native mac preferences ui with swiftui
- replace the deprecated NSPreferences API
- show toolbar-styled settings panes in a mac app

## When to choose
- you're building a native macOS app and need a standard settings window quickly
- you want SwiftUI or AppKit support with minimal boilerplate
- you want a well-maintained MIT-licensed library from a prolific maintainer

## When to avoid
- you're targeting iOS or other non-macOS platforms
- you need cross-platform settings storage rather than a settings UI
- your app already has a custom settings interface

## Facets
- artifact type: library
- maturity: active
- function: ui-components, gui
- domain: operating-systems, developer-tools, desktop-applications
- platform: -
- tags: settings-window, preferences, swiftui, swift-package-manager, macos, swift

## Member repositories
- sindresorhus/Settings (main) score 51

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:02.075857+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:30:20.500513+00:00, confidence not recorded.
  - readme: https://github.com/sindresorhus/Settings (fetched 2026-08-28T04:05:02.075857+00:00, sha a73d9e3b2de1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
