apple-text-dynamic-type
CommunityDynamically scale text for accessibility.
Software Engineering#accessibility#dynamic-type#font-metrics#ui-font#ui-swift#text-scaling#semantic-fonts
Authorsitapix
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Dynamic Type and font scaling can be complex to implement across Apple UI stacks. This guide provides clear patterns for achieving responsive text sizing that respects user preferences and accessibility settings.
Core Features & Use Cases
- Semantic font scaling: Use system text styles wherever possible to ensure automatic dynamic type updates.
- Custom font handling: Employ UIFontMetrics and @ScaledMetric to scale non-system fonts without breaking layout.
- Cross-platform guidance: Apply Dynamic Type concepts in UIKit, AppKit, and SwiftUI, including macOS constraints.
- Testing at accessibility sizes: Validate layouts at AX1–AX5 sizes to prevent clipping and overflow.
- Use Case: Build a profile editor where labels, inputs, and buttons scale together as the user changes text size.
Quick Start
Configure a label with UIFontMetrics for the body style and test the app at large accessibility sizes.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: apple-text-dynamic-type Download link: https://github.com/sitapix/apple-text/archive/main.zip#apple-text-dynamic-type Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.