feat: add Demo app with all BitcoinUI components#130
Merged
Conversation
Adds a SwiftUI demo app (openable in Xcode or Swift Playgrounds) that showcases BitcoinUI components. Home screen lists available components; currently includes a Buttons page showing all three button styles (BitcoinFilled, BitcoinOutlined, BitcoinPlain) with their variants.
- Add Demo.xcodeproj generated via xcodegen with PRODUCT_BUNDLE_IDENTIFIER=org.bitcoinui.demo - Add Info.plist with CFBundleIdentifier to fix missing bundleID crash on iOS Simulator - Add project.yml (xcodegen spec) for reproducible project generation - Add AppInfo.json for Swift Playgrounds bundle ID prefix - Update .gitignore to exclude Demo.swiftpm/.build and .claude
- Add AddressView: AddressFormattedView with 2/3/4 column variants - Add QRCodeDemoView: bitcoin, lightning, BIP21 and custom color variants - Add SeedPhrasesDemoView: 12/24 words, paging, privacy sensitive - Add TextStylesDemoView: BitcoinTitle1-5 and BitcoinBody1-5 - Add ColorsDemoView: brand, neutral and special color swatches - Add ImagesDemoView: all hardware wallet images in adaptive grid - Extract ComponentSection to shared file, remove private duplicate - Reorganize sources into Components/ subdirectory - Update ContentView with Components and Foundations sections
- Resize all 8 SnapshotsDemo images from 1170x2532 to 400x866 - Add Demo App section to README with run instructions - Show all 8 screenshots inline in the README - Add Demo App link to table of contents
|
@r1b2ns is attempting to deploy a commit to the reez1's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
reez
reviewed
Mar 18, 2026
Owner
reez
left a comment
There was a problem hiding this comment.
This looks awesome. I only have 1 question/comment before I give this thing an ACK
reez
approved these changes
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Demo.swiftpm— a runnable iOS demo app showcasing all BitcoinUI componentsCFBundleIdentifiercrash on iOS Simulator by generatingDemo.xcodeprojvia xcodegenSnapshotsDemo/screenshots (resized to 400×866) and update README with Demo App sectionDemo App
Open
Demo.swiftpm/Demo.xcodeprojin Xcode, select an iOS Simulator, and press Run (⌘R).Test plan
Demo.swiftpm/Demo.xcodeprojin Xcodeswift buildsucceeds for both the root package andDemo.swiftpm