# freshOS/KeyboardLayoutGuide

⌨️ KeyboardLayoutGuide, back from when it didn't exist.

Repository: https://github.com/freshOS/KeyboardLayoutGuide
Canonical: https://ross.abutalabs.com/products/keyboardlayoutguide
Language: Swift
License: MIT
License Family: permissive
Topics: ios, swift, keyboard, keyboard-layout, layoutguide, layout, autolayout
Last push: 2024-09-20T07:48:41+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": 3214, "days_push": 712, "days_rel": 712, "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 1210, forks 60 (observed 2026-08-28T04:04:00.016607+00:00)

## What it is
A Swift library that provides Apple's missing keyboardLayoutGuide for iOS, letting developers pin views to the keyboard via Auto Layout constraints without handling keyboard notifications. It respects the safe area and only animates when views are fully on screen.

## Use cases
- pin a button above the iOS keyboard with autolayout
- avoid handling keyboard show/hide notifications in UIKit
- keep a text field visible when the keyboard appears
- constrain views to the keyboard top anchor
- handle keyboard layout with safe area insets

## When to choose
- you build UIKit apps on iOS and want simple keyboard-avoiding layouts
- you want a drop-in layout guide instead of manual notification handling
- you need safe-area-aware keyboard constraints with minimal setup

## When to avoid
- you build with SwiftUI and can use the native keyboardLayoutGuide
- your app targets platforms other than iOS
- you need highly custom keyboard animation behavior beyond constraint-based layout

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, state-management
- domain: mobile-development
- platform: -
- tags: autolayout, uikit, keyboard-layout-guide, swift-package-manager, ios, swift, mobile

## Member repositories
- freshOS/KeyboardLayoutGuide (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:00.016607+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:18:11.422297+00:00, confidence not recorded.
  - readme: https://github.com/freshOS/KeyboardLayoutGuide (fetched 2026-08-28T04:04:00.016607+00:00, sha e4b99eaf75c2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
