# Aeastr/Portal

Portal is a SwiftUI package for element transitions across navigation contexts, scroll-based flowing headers, and advanced view mirroring capabilities.

Repository: https://github.com/Aeastr/Portal
Canonical: https://ross.abutalabs.com/products/aeastr-portal
Language: Swift
License: MIT
License Family: permissive
Last push: 2026-08-14T18:21:53+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 98, longevity 35
- inputs: {"age_days": 499, "days_push": 19, "days_rel": 19, "gap_med": 1, "n_releases_24m": 20}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1099, forks 40 (observed 2026-08-28T04:03:34.964584+00:00)

## What it is
Portal is a Swift package offering SwiftUI modules for element transitions across navigation contexts, scroll-based flowing headers, and true view mirroring via Apple's private _UIPortalView API. It targets iOS 17+ (with a legacy branch for iOS 15/16) and is distributed via Swift Package Manager under the MIT license.

## Use cases
- animate a shared element between a list and a full-screen detail view in SwiftUI
- create hero transitions across sheets, navigation stacks, and tabs
- build scroll-based headers that flow into the navigation bar like Apple Music or Photos
- mirror a live view instance across two places in the view hierarchy
- add polished app-store-quality transitions to an iOS app

## When to choose
- you are building an iOS app with SwiftUI and want shared-element or hero-style transitions
- you need Music/Photos-style collapsing scroll headers with minimal code
- you want a pure SwiftUI solution using standard APIs for transitions

## When to avoid
- you need cross-platform (Android, web) transitions rather than iOS-only
- your app must avoid private APIs for App Store safety and you need true view mirroring
- you target iOS below 17 and cannot pin to the legacy branch
- you need transitions in UIKit rather than SwiftUI

## Facets
- artifact type: library
- maturity: active
- function: animation, ui-components, mobile-framework
- domain: mobile-development, frontend, cross-platform
- platform: -
- tags: swiftui, element-transitions, shared-element, flowing-headers, view-mirroring, swift-package, ios, swift, mobile

## Member repositories
- Aeastr/Portal (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:34.964584+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-30T06:45:56.661238+00:00, confidence not recorded.
  - readme: https://github.com/Aeastr/Portal (fetched 2026-08-28T04:03:34.964584+00:00, sha 3c4fc61bf50c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
