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...
MijickPopups Hero

  Popups Alerts Resizable Sheets Banners

SwiftUI Tooltip

This package provides you with an easy way to show tooltips over any SwiftUI view, since Apple does not provide ...

SimpleToast for SwiftUI

SimpleToast is a simple, lightweight, flexible and easy to use library to show toasts / popup notifications inside iOS or ...

SSToastMessage

Create Toast Views with Minimal Effort in SwiftUI Using SSToastMessage. SSToastMessage enables you to effortlessly add toast notifications, alerts, and ...

ToastUI

A simple way to show toast in SwiftUI   Getting Started • Documentation • Change Log  Â