Skip to content

Add optional tagline to onboarding welcome screen#32

Open
FelixLisczyk wants to merge 3 commits intolascic:mainfrom
FelixLisczyk:pl-14
Open

Add optional tagline to onboarding welcome screen#32
FelixLisczyk wants to merge 3 commits intolascic:mainfrom
FelixLisczyk:pl-14

Conversation

@FelixLisczyk
Copy link
Contributor

@FelixLisczyk FelixLisczyk commented Feb 19, 2026

Summary

  • Adds an optional tagline: String? and taglineColor: UIColor? to UIOnboardingViewConfiguration, inserted between the title label stack and the features list
  • When tagline is nil, the existing layout is preserved exactly (no visual regression)
  • When set, renders an italic medium-weight label at 20pt in .secondaryLabel color (or a custom taglineColor) with 14pt spacing below the title and the existing title-to-features spacing below the tagline
  • Updates all three demo apps (UIOnboarding Demo, UIOnboarding Demo SPM, UIOnboarding SwiftUI) with an example tagline "Know Every Rank" for the Insignia demo app
  • Keeps the embedded copy of UIOnboardingViewConfiguration and UIOnboardingStack in UIOnboarding Demo in sync with the library source

Test plan

  • Build and run UIOnboarding Demo — tagline "Know Every Rank" appears between title and features list
  • Build and run UIOnboarding Demo SPM — same
  • Build and run UIOnboarding SwiftUI — same
  • Verify that omitting tagline (or passing nil) produces no visual change vs. the previous layout

Screenshots

Simulator Screenshot - iPhone 17 Pro - 2026-02-19 at 15 42 08 Simulator Screenshot - iPhone 17 Pro - 2026-02-19 at 15 42 12

🤖 Generated with Claude Code

FelixLisczyk and others added 3 commits February 19, 2026 13:32
Adds a new optional `tagline: String?` property to
`UIOnboardingViewConfiguration`. When set, a styled UILabel is
inserted between the title stack and the features list in
`UIOnboardingStack`. When nil, the layout is bit-for-bit identical
to the previous behaviour.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Style the onboarding tagline with italic medium weight at 20pt, brand
blue tint at 45% opacity, and increased top spacing (8→14pt) so it
reads as a distinct subtitle tier between the title and feature list.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Updates all three demo apps (UIOnboarding Demo, UIOnboarding Demo SPM,
UIOnboarding SwiftUI) to showcase the new optional tagline feature. Also
syncs the embedded copy of UIOnboardingViewConfiguration and
UIOnboardingStack in UIOnboarding Demo with the tagline support added to
the library source.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant