MarqueeText
  • August 21, 2025

A SwiftUI Marquee or “scrolling text” effect found in Apple native apps. For when one line isn’t enough, but two is just too much 😉

MarqueeText Demo

Usage


Add this repository as a Swift Package Dependency to your project. You find the option in Xcode unter “File > Swift Packages > Add Package Dependency…”. Paste the link to this project in and voila!

import SwiftUI
import MarqueeText

struct ContentView: View {
var body: some View {
MarqueeText(
text: “A subtitle that is way too long, but it scrolls homie”,
font: UIFont.preferredFont(forTextStyle: .subheadline),
leftFade: 16,
rightFade: 16,
startDelay: 3
)
}
}

GitHub


View Github

YOU MIGHT ALSO LIKE...
Popup View

Floaters Toasts Popups Sheets

Drops 💧

A µFramework for showing alerts like the one used when copying from pasteboard or connecting Apple pencil.

TextBuilder

Introduction Text composition in SwiftUI can often be cumbersome, especially when there's logic affecting its format and content. TextBuilder leverages the ...

TextView

Download File -> Swift Packages -> Add Package Dependency... Select your project Enter https://github.com/kenmueller/TextView for the package repository URL Select Branch: master Click Finish ...

KeyboardAvoider