Native SwiftUI that feels alive.
Designed SwiftUI interactions: swipe decks, glass menus, floating docks, scrubbable charts. One file each, iOS 17 and up, with the motion, haptics and states already done.
Pieces you copy once and own.
Every one is a designed interaction with its motion, haptics and states already done. One Swift file each, iOS 17 and up, MIT + Commons Clause.
However you work, it is one file.
Copy the file
Open a piece, take the Swift source, paste it into your target. A .metal file copied beside it compiles into your default library.
orRun the CLI
npx swiftpieces add writes into a SwiftPieces folder in your app's synchronized group. No project-file surgery.
orAsk your agent
The registry, llms.txt and the MCP server teach Claude Code, Cursor and Xcode which piece to use and how to install it.
Ready to build something better?
Take one file, or take all 53. They are yours either way: no dependencies, nothing to install at runtime.