# playbook-ui/playbook-ios

📘A library for isolated developing UI components and automatically taking snapshots of them.

Repository: https://github.com/playbook-ui/playbook-ios
Canonical: https://ross.abutalabs.com/products/playbook-ios
Homepage: https://playbook-ui.github.io/playbook-ios/documentation/playbooksnapshot/
Language: Swift
License: Apache-2.0
License Family: permissive
Topics: playbook, snapshot, snapshot-testing, visual-regression-testing, uicatalog, swift, ios, swiftui, accessibility, a11y
Last push: 2024-12-04T09:08:20+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2378, "days_push": 637, "days_rel": 637, "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 1240, forks 61 (observed 2026-08-28T04:04:06.224282+00:00)

## What it is
Playbook is a Swift library for iOS that lets developers build and preview UI components in isolation, inspired by Storybook, supporting both SwiftUI and UIKit. It can generate a standalone styleguide app and automatically capture component snapshots via unit tests for visual regression testing.

## Use cases
- develop ios ui components in isolation
- snapshot test swiftui components
- visual regression testing for ios ui
- build a living styleguide app
- preview uikit views without app dependencies
- automatically capture component screenshots in unit tests

## When to choose
- you build iOS apps with SwiftUI or UIKit and want Storybook-like component isolation
- you want automated snapshot generation for visual regression testing
- you need a standalone UI catalog app for design review

## When to avoid
- you develop for Android or web rather than iOS
- you need full end-to-end app testing rather than component-level testing
- your project does not use Swift or Apple platforms

## Facets
- artifact type: library
- maturity: active
- function: ui-components, testing, e2e-testing, developer-tools
- domain: mobile-development, frontend, testing, developer-tools
- platform: -
- tags: snapshot-testing, visual-regression-testing, swiftui, uikit, storybook-inspired, styleguide, ui-catalog, accessibility, ios, swift, mobile

## Member repositories
- playbook-ui/playbook-ios (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:06.224282+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-30T05:09:54.255435+00:00, confidence not recorded.
  - readme: https://github.com/playbook-ui/playbook-ios (fetched 2026-08-28T04:04:06.224282+00:00, sha fca199045ae2)
  - homepage: https://playbook-ui.github.io/playbook-ios/documentation/playbooksnapshot/ (fetched 2026-08-29T12:20:31.339819+00:00, sha c9d659cb806f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
