Library

50 SwiftUI components, each a single file you can paste straight into Xcode.

1–20 of 50

1 of 3
Accordion Component

Accordion Component

A customizable accordion component with smooth animations, multiple expansion modes, and custom styling options perfect for FAQs and collapsible content

#animation #ui #component

Add to Cart Stepper

Add to Cart Stepper

An Add pill that morphs into a quantity stepper with rolling digits, a floating +1 ghost and a trash icon at one item, plus a cart badge that pops on every change.

#stepper #button #badge

Animated Card Stack

Animated Card Stack

Tinder-style swipeable card stack with smooth animations. Supports swipe left/right/up gestures, visual indicators, programmatic controls, and customizable appearance. Perfect for dating apps, product browsing, or decision-making interfaces.

#card #stack #gesture

Animated Like Button

Animated Like Button

A premium like button: keyframed squash-and-stretch, a shockwave ring with two-tone spark burst, rolling numeric count, soft deflate on unlike, and double-tap-to-like with a big heart popping over media. Ships heart, star and bookmark presets on the same engine, with haptics and VoiceOver support.

#button #animation #interaction

Animated Progress Ring

Animated Progress Ring

Beautiful circular progress indicators with smooth animations. Includes standard rings, gradient rings, multi-layer rings, segmented rings, and dotted rings. Fully customizable with colors, sizes, line widths, and labels. Perfect for dashboards and progress tracking.

#progress #chart #animation

Bank Card Flip

Bank Card Flip

A payment card you can pick up: drag to tilt it in 3D with a holographic foil sheen and real edge thickness, flick or tap to flip it to the CVV side, and hold to peek as the number decodes digit by digit. Haptics, VoiceOver and Reduce Motion support included.

#card #animation #gesture

Bento Grid

Bento Grid

A dense-packing bento layout whose tiles spring in with a blur, scale and rise stagger. Each tile presses in with depth and ships with live mini widgets: flowing chart, ring, pulse dot, bars and counters.

#grid #layout #widget

Border Beam

Border Beam

A glowing beam of light that travels around any rounded-rect or capsule border, with a tapered gradient tail and bloom. One modifier, configurable colors, speed, length and beam count.

#border #animation #gradient

Card Feed with Zoom Transition

Card Feed with Zoom Transition

A scrollable feed of skeleton-style cards with a smooth zoom navigation transition to a detail view. Uses matchedTransitionSource and NavigationTransition for a native iOS 18+ feel.

#card #navigation #transition

Dot Grid Spotlight

Dot Grid Spotlight

An interactive dot-pattern background drawn in a single Canvas: dots under your finger swell, glow and get pushed aside like a lens, while an idle wave keeps the grid breathing. Apply it to any screen with one modifier.

#interactive #gesture #gradient

Download Button

Download Button

An App Store-style GET button for long downloads: the pill morphs into a glowing progress ring with rising liquid and a stop square to cancel, draws a checkmark on completion, then becomes OPEN. Handles waiting, cancel and failure/retry, with live percentage and size, haptics and VoiceOver.

#button #progress #animation

Elastic Segmented Control

Elastic Segmented Control

Segmented control whose pill stretches like liquid toward the new segment, with text that flips color exactly at the pill's edge. Tap or scrub with your finger; works as a floating tab bar too.

#selector #tab #motion

Flip Clock

Flip Clock

A split-flap clock where each digit is a real 3D flap. The top half falls around the hinge and the bottom half lands with a bounce and cast shadows. Works as a countdown timer or a live clock.

#animation #timeline #motion

Floating Action Button

Floating Action Button

Elegant FAB with expandable menu of actions. Features smooth animations, customizable positions (all corners), labels, overlay backdrop, and Speed Dial variant. Perfect for quick actions in your app.

#button #menu #animation

Gooey Tab Bar

Gooey Tab Bar

A floating tab bar whose selection indicator is a metaball blob that stretches and merges as it travels between tabs, built with Canvas blur and alpha threshold. Tap or scrub along the bar while icons bounce.

#tab #navigation #animation

Gradient Border Card

Gradient Border Card

Stunning cards with animated gradient borders. Includes rotating gradients, glowing borders, dashed borders, pulsing effects, neon borders, and shimmer effects. Multiple preset styles (rainbow, fire, ocean, sunset) and fully customizable. Perfect for premium features and special content.

#card #gradient #border

Hero Expand Card

Hero Expand Card

An App Store Today-style card that morphs into a full-screen story with matchedGeometryEffect, staggered content and corner-radius morphing. Pull down to shrink it back interactively.

#card #transition #gesture

Hold to Confirm

Hold to Confirm

A press-and-hold button that sweeps a gradient and progress ring across the pill with rising haptic ticks, rewinds smoothly if you let go early and morphs into a success state when complete. Includes a destructive Hold to delete preset.

#button #progress #interaction

Infinite Marquee

Infinite Marquee

Seamless, endlessly scrolling rows of logos or testimonials with soft edge fades. Touch to pause, drag to scrub and flick to throw it with momentum.

#animation #gesture #chip

Island Toast

Island Toast

A Dynamic-Island-style toast that grows out of the island into a rich notification with icon, countdown ring and action, then shrinks back. Success, error and info styles, swipe up to dismiss, presented with a single .islandToast(item:) modifier.

#toast #notification #transition