一个 SwiftUI 库,包含超过 100 种确定性的、图案驱动的点阵加载指示器,移植自一个流行的 React 集合。

Stars

150

7 天增长

暂无数据

Fork 数

7

开放 Issue

0

开源协议

NOASSERTION

最近更新

2026-07-20

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它提供了大量多样化的动画点阵加载器,具有确定性(相同键始终对应相同加载器),完全使用纯 SwiftUI 实现且无依赖,并已用于生产级 AI 应用(Mana)的聊天“思考”状态。

适合谁使用

  • 需要紧凑、生动加载指示器的 SwiftUI 开发者
  • 构建聊天、AI 或工具活动界面的 iOS 应用开发者
  • 希望获得多种精心调校点阵加载器的设计师和开发者
  • 将 Web UI 模式(如 React)移植到原生 SwiftUI 的开发者

典型使用场景

  • 聊天“思考”或打字指示器
  • 工具活动或后台任务的内联旋转器
  • 紧凑 UI 区域(如行组件)的加载状态
  • 交互式图库或选择器,供用户选择加载器样式

项目优势

  • 超过 100 种确定性加载器,涵盖 7 个系列(方形、圆形、六边形、趣味、3×3、三角形、图标)
  • 纯 SwiftUI 实现,无外部素材或依赖
  • 支持减少动态效果——动画暂停并回退为静态无障碍姿态
  • 易用的 API:既提供命名组件,也提供基于参数的 `MatrixLoader` 视图

使用前须知

  • 要求 iOS 18+ 和 Swift 5.9+,限制了向后兼容性
  • 仅提供点阵式动画风格,不适用于通用加载指示器
  • 部分加载器系列(三角形、3×3)被排除在随机运行时池外,可能引起困惑

README 快速开始

Installation

项目描述

Animated dot-matrix loading indicators for SwiftUI — 100+ deterministic dot loaders, zero assets, zero dependencies. A faithful Swift port of zzzzshawn/matrix.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

uzairansaruzi
精选
uzairansaruzi GitHub avatar

hermex

Hermex is a native SwiftUI iPhone app that lets you control a self-hosted Hermes AI agent directly from your phone, with no subscriptions, tracking, or third-party relay.

AI 与机器学习大语言模型
941
FrigadeHQ
FrigadeHQ GitHub avatar

yap

Yap is a blazing-fast, on-device macOS voice dictation app that transcribes speech into any text field via a global shortcut, using Apple's macOS 26 Speech APIs with no network calls or model downloads.

Swift
197
jcranokc
jcranokc GitHub avatar

app-monitor

App Monitor is a local-first macOS utility that provides a native SwiftUI dashboard for tracking application usage, storage, cleanup opportunities, update status, and uninstall impact.

Swift
156