
Expanding cards
Cards that open into an immersive detail view, with shared geometry and a drag-to-dismiss gesture.
Gestures · SwiftUIA considered collection for iOS.
The details that make an app feel different.
Expressive SwiftUI components you can copy,
shape, and make your own.

The collection

Cards that open into an immersive detail view, with shared geometry and a drag-to-dismiss gesture.
Gestures · SwiftUI
A draggable surface that interpolates its height and corner radius, then settles into a compact or expanded state.
Overlay · SwiftUI
A floating action menu with a rotating trigger, staggered spring entrances, and an arc of reachable actions.
Navigation · SwiftUIYours, all the way down.
One Swift file becomes part of your app. Change the gesture, tune the spring, or take it somewhere entirely different.
Start building@State private var selected: Story.ID?
HugsyExpandingCards(
items: stories,
selection: $selected
) { story, expanded in
StoryCard(story, expanded: expanded)
}
SwiftUI views, system materials, and native gestures. Built for the iPhone, not translated from the web.
Interruptible springs and connected states. With Reduce Motion and alternatives to gesture-only actions.
Copy the source, use the native Swift CLI, or let your tools discover it through MCP. Your app stays dependency-free.