[DO NOT MERGE] Figma Code Connect + Backpack iOS#2360
Draft
Soheil Novinfard (novinfard) wants to merge 8 commits intomainfrom
Draft
[DO NOT MERGE] Figma Code Connect + Backpack iOS#2360Soheil Novinfard (novinfard) wants to merge 8 commits intomainfrom
Soheil Novinfard (novinfard) wants to merge 8 commits intomainfrom
Conversation
Removed custom FigmaConnect implementation and related property wrappers from Backpack-Common and Backpack-SwiftUI, and replaced them with new FigmaConnect-based components in Example/Backpack/SwiftUI/Figma using the official code-connect Swift package. Updated Xcode project to add code-connect as a SwiftPM dependency, link the Figma framework, and include new example files for BPKButton and BPKText Figma integration.
Updated Figma node URLs in BPKButton+Figma.swift and BPKText+Figma.swift to point to new Backpack Foundations components. Added a documentUrlSubstitutions section to both figma.config.json files with mappings for various Figma component URLs. Also added a new '[CP] Copy Pods Resources' build phase to the Xcode project.
Added new Figma integration Swift files for Backpack components (BPKCard, BPKCardWrapper, BPKCarousel, BPKDividedCard, BPKDivider, BPKLink, BPKPanel, BPKPrice, BPKRating, BPKSaveCardButton, BPKShareCardButton) under Example/Backpack/SwiftUI/Figma. Updated Example/Backpack.xcodeproj/project.pbxproj to include these files in the project and build phases. Added multiple documentation files (.claude/quick-reference.md, BACKPACK_EXAMPLE_SETUP.md, BACKPACK_FIGMA_VALIDATION.md, BACKPACK_NATIVE_FIXES.md) to document build, setup, and validation processes. Updated .eslintignore to exclude SourcePackages.
Introduced new FigmaConnect implementations for BPKCardList, BPKChip, BPKGraphicPromo, BPKHotelStarRating, BPKMultiSelectChipGroup, and BPKStarRating in the SwiftUI Figma directory. Updated the Xcode project to include these new files in the build. This enables Figma integration and sample usage for these Backpack SwiftUI components.
kynansongwork
approved these changes
Dec 17, 2025
Laurene Faure-Vidal (faurevid)
approved these changes
Dec 17, 2025
Add Figma connector examples for Backpack SwiftUI components. Creates Example/Backpack/SwiftUI/Figma/BPKSearchInputSummary+Figma.swift and BPKSegmentedControl+Figma.swift, each implementing FigmaConnect and exposing @FigmaEnum/@FigmaBoolean properties (inputPrefix, textBinding, style, showClear for search; style, items, selectedIndex for segmented). Includes figmaNodeUrl references to enable Figma-based previews and interactive configuration.
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.
Figma Code Connect + Backpack iOS