Summer Sale50% offCOMPOT

SwiftUI Component Library

Browse 130+ production-ready SwiftUI building blocks. Download Compot on the App Store to access, preview, and copy pure vanilla Swift code directly into Xcode.

Buttons(34 components)

Prominent CTA buttons, spring-animated controls, increment steppers, bordered buttons, and Apple Sign-in.

View category page
ButtonsiOS 16.0+

Primary Button Basic

High-emphasis prominent action button with standard SwiftUI prominence styling and haptic feedback.

Get in App Store
ButtonsiOS 16.0+

CTA Button Large Basic

Full-width, high-impact call-to-action button designed for onboarding screens, welcome flows, and paywalls.

Get in App Store
ButtonsiOS 16.0+

Secondary Button Basic

Medium-emphasis secondary action button styled for alternative user workflows and dismissal actions.

Get in App Store
ButtonsiOS 16.0+

Tertiary Button Basic

Low-emphasis borderless button for subtle inline actions, footnotes, and modal dismissal.

Get in App Store
ButtonsiOS 16.0+

Icon Button Tertiary Basic

Compact circular tertiary icon button for header navigation bars and utility menus.

Get in App Store
ButtonsiOS 16.0+

Bouncy Button Icon

Interactive button featuring fluid spring animations and smooth scale feedback upon tap.

Get in App Store
ButtonsiOS 16.0+

Button with Repeat Behavior

Stepper-like button with continuous press-and-hold repeating action for counters and volume adjustment.

Get in App Store
ButtonsiOS 16.0+

Button for Copying

Smart copy button that temporarily switches icon and text to "Copied!" with tactile haptic feedback.

Get in App Store
ButtonsiOS 16.0+

Bordered Green Rounded Button (Regular)

Standard-sized bordered button with custom green tint and continuous rounded corners.

Get in App Store
ButtonsiOS 16.0+

Bordered Green Rounded Button (Mini)

Compact mini bordered button for tight layouts, list items, and secondary badges.

Get in App Store
ButtonsiOS 16.0+

Bordered Green Rounded Button (Small)

Small bordered action button with green rounded rectangle styling.

Get in App Store
ButtonsiOS 16.0+

Bordered Green Rounded Button (Large)

Large prominent bordered button with custom green styling.

Get in App Store
ButtonsiOS 16.0+

Bordered Green Rounded Button (Extra Large)

Extra-large full-width bordered action button with rounded rectangle styling.

Get in App Store
ButtonsiOS 16.0+

Icon Button (Small)

Small circular icon-only button for compact toolbars and cards.

Get in App Store
ButtonsiOS 16.0+

Icon Button (Regular)

Standard-sized icon-only button with circular background padding.

Get in App Store
ButtonsiOS 16.0+

Icon Button (Large)

Large circular icon button for floating actions and primary media controls.

Get in App Store
ButtonsiOS 16.0+

Icon Button (Extra Large)

Extra-large hero icon button for prominent media playback or recording.

Get in App Store
ButtonsiOS 16.0+

Prominent Button (Small)

Small filled capsule button for quick inline actions.

Get in App Store
ButtonsiOS 16.0+

Prominent Button (Regular)

Standard-sized filled prominent button with smooth corner radius.

Get in App Store
ButtonsiOS 16.0+

Prominent Button (Large)

Large filled prominent button for main user interactions.

Get in App Store
ButtonsiOS 16.0+

Prominent Button (Extra Large)

Extra-large filled prominent button for hero headers.

Get in App Store
ButtonsiOS 16.0+

Prominent Destructive Button (Large)

Prominent destructive action button in system red for critical deletion confirmations.

Get in App Store
ButtonsiOS 16.0+

Prominent Destructive Icon Button (Large)

Large icon-only destructive button for deletion triggers in toolbars.

Get in App Store
ButtonsiOS 16.0+

Stat Tile Button with Inflection

Dashboard metric card button featuring dynamic English pluralization and inflection rules.

Get in App Store
ButtonsiOS 16.0+

Secondary Button Large (Custom Style)

Large customized secondary button with custom padding and background fill.

Get in App Store
ButtonsiOS 16.0+

Secondary Button Medium (Custom Style)

Medium customized secondary button with modern rounded styling.

Get in App Store
ButtonsiOS 16.0+

Subscription Button Simple

Dedicated recurring billing / subscription purchase button with StoreKit pricing labels.

Get in App Store
ButtonsiOS 16.0+

Update Button

App update trigger button with version badge and leading icon.

Get in App Store
ButtonsiOS 16.0+

Record Button with State

Audio/video recording toggle button with morphing record/stop states and pulse animation.

Get in App Store
ButtonsiOS 16.0+

Tertiary Icon Button Large

Large borderless icon button for minimalist toolbars and bottom sheets.

Get in App Store
ButtonsiOS 16.0+

Done Button

Toggleable completion button with smooth checkmark state transition.

Get in App Store
ButtonsiOS 16.0+

Favorite Button

Heart toggle button with spring animation and fill transition for bookmarking.

Get in App Store
ButtonsiOS 16.0+

Open Settings Button

One-tap navigation trigger that opens the app’s system settings directly in iOS Settings.

Get in App Store
ButtonsiOS 16.0+

Sign in with Apple Button

Native Apple Authentication button following Apple Human Interface Guidelines.

Get in App Store

Texts & Typography(18 components)

Gradient typography, markdown links, localized inflection rules, typewriter animations, and SF font variants.

View category page
Texts & TypographyiOS 16.0+

Text with Uneven Background & Gradient

Stylized display text with asymmetrical corner radiuses and mesh gradient background.

Get in App Store
Texts & TypographyiOS 16.0+

Text with Number Inflection Rules

Dynamic text demonstrating automatic localized pluralization syntax (^[(count) item](inflect: true)).

Get in App Store
Texts & TypographyiOS 16.0+

Text with Markdown Links

Rich text demonstrating inline markdown links, bolding, italics, and custom link styling.

Get in App Store
Texts & TypographyiOS 16.0+

Text with Dashed Stroke

Decorative heading enclosed in a dashed border stroke.

Get in App Store
Texts & TypographyiOS 16.0+

Text System Default Variants

Showcase of standard San Francisco system font weights and designs.

Get in App Store
Texts & TypographyiOS 16.0+

Text System Monospace Variants

Showcase of SF Mono typography for code, data, and numeric readouts.

Get in App Store
Texts & TypographyiOS 16.0+

Text System Rounded Variants

Showcase of SF Pro Rounded typography for friendly, consumer-facing interfaces.

Get in App Store
Texts & TypographyiOS 16.0+

Text System Serif Variants

Showcase of New York serif typography for editorial and reading experiences.

Get in App Store
Texts & TypographyiOS 16.0+

Text Style Default Variants

Comprehensive typography hierarchy showcase (Large Title down to Caption 2).

Get in App Store
Texts & TypographyiOS 16.0+

Text Date Styling Options

Built-in date/time text formatting variants (relative, timer, date, offset).

Get in App Store
Texts & TypographyiOS 16.0+

Text Styling Default Options

Text transformation samples (strikethrough, underline, kerning, baseline offset).

Get in App Store
Texts & TypographyiOS 16.0+

Text Truncation Modes

Comparison of .head, .middle, and .tail text truncation behaviors.

Get in App Store
Texts & TypographyiOS 16.0+

Text with Gradient

Headline text masked with a multi-stop linear gradient fill.

Get in App Store
Texts & TypographyiOS 16.0+

Relative Date Text

Automatically updating relative time formatting (e.g. "2 hours ago", "in 3 days").

Get in App Store
Texts & TypographyiOS 16.0+

Text Sequence with Timer

Dynamic text that cycles through a sequence of strings automatically using a timer.

Get in App Store
Texts & TypographyiOS 16.0+

Text Typing & Retracting Animation

Typewriter effect that types out and deletes sentences with a blinking cursor.

Get in App Store
Texts & TypographyiOS 16.0+

Text Dissolve Animation

Smooth cross-fade transition cycling through different phrases.

Get in App Store
Texts & TypographyiOS 16.0+

Monospace Expandable Text

Monospaced code/log snippet with tap-to-expand card layout.

Get in App Store

Banners & Promos(10 components)

Accolade laurel cards, promotional gradient containers, TipKit-style banners, and store rating prompts.

View category page

Cards & Content Displays(8 components)

Feature cards, testimonial blockquotes, interactive product cards, and MapKit circle/polygon overlays.

View category page

Settings, Lists & Rows(9 components)

Apple-standard settings rows, LabeledContent formatters, accordion FAQ disclosure groups, and footers.

View category page

Avatars & User Profiles(7 components)

Circular avatars with status badges, overlapping team stacks, and PhotosPicker integration.

View category page

Charts & Gauges(5 components)

Linear milestone gauges, circular progress meters, speedometer dials, and watchOS accessory gauges.

View category page

Icons & Badges(7 components)

Settings icon containers, gradient badges, stroke containers, and pixel-perfect App Icon frames.

View category page

Onboarding & Welcome Screens(3 components)

Apple-style welcome flows, swipeable TabView carousels, and dark-mode immersive welcome screens.

View category page

Paywalls & Subscriptions(3 components)

Benefit rows with checkmarks, cascading bounce animations, and selectable subscription plan choices.

View category page

Images & Effects(3 components)

Hero parallax image headers, custom shape masking, and tap-to-zoom spring animations.

View category page

Labels(4 components)

System icon labels, gradient bordered badges, custom text icon pills, and initials monograms.

View category page

SF Symbols & Animations(4 components)

Multicolor symbols, variable signal levels, iterative animations, and reversing cyclic effects.

View category page

Inputs & Text Editors(2 components)

Clean multi-line TextEditors and floating placeholder text containers.

View category page

Shapes, Chat & Real-Time(2 components)

Dynamic chat message speech bubbles and pulsing 3-dot typing indicators.

View category page

Tiles & Selectables(2 components)

Dashboard KPI navigation tiles and interactive selectable option cards.

View category page

Badges & Pills(1 components)

Follower/subscriber metric pills with formatted counts and leading icons.

View category page

Alerts & Modals(1 components)

Custom modal alert overlay views with actions and modern rounded containers.

View category page

Toasts & Feedback(1 components)

Floating square HUD toast messages for success, error, and status feedback.

View category page

Developer Templates & Architecture(3 components)

ContentUnavailableView empty states, centralized app styling constants, and microcopy architectures.

View category page