Skip to content

SwiftUI Blocks

Copy-paste components, animations and transitions for iOS 18 through iOS 27. One Swift file each, and nothing to install.
  • Holographic Card
  • Voice Orb
  • Intelligence Glow Border
  • Wallet Card Stack
  • Dissolve Shader Transition
  • Gooey Floating Menu
  • Activity Rings
  • Karaoke Lyrics Text
  • Spin Wheel Roulette
  • Like Burst Button
  • Liquid Fill Progress
  • Aurora Mesh Background
  • Tapback Reaction Bubble
  • Dynamic Island Pill
  • Elastic Drag Button
  • Candlestick Chart
  • Stories Viewer
  • Glass Tool Strip
components
301
categories
36
iOS versions
18 – 27
packages to install
0

Find a component, copy its file into your project and use it. It is your code from then on: no package, no version to track.

PulseRingButton(systemImage: "mic.fill", label: "Record") {
startRecording()
}
  • One file, no package

    Copy one Swift file and it is your code. The few drawn by a shader bring a Metal file with them.

  • iOS 18 to iOS 27

    Each component states its minimum and uses the newest API where there is one: Liquid Glass, shaders, 3D charts.

  • Swift 6

    Complete concurrency checking, in a project with the main actor as its default and in one without. Nothing deprecated.

  • Accessible

    Reduce Motion, Dynamic Type, VoiceOver and right-to-left layouts, checked in every component.

  • Seen before copied

    Every component has an animated preview, and a demo you can run in the Showcase app.

  • Ready for agents

    llms.txt and a JSON catalog with keywords in English and Spanish, so a coding agent finds and fetches what you ask for.

Point your agent at the index and ask for what you need. It reads the summary of every component, picks one and fetches its file.

Paste into Claude Code, Codex, Cursor…
Find a SwiftUI component for <what you need> in
https://raw.githubusercontent.com/magnoscg/swiftui-blocks/HEAD/llms.txt
and copy its file into my project.

How agents use the catalog