Skip to content
CAI
Software that uses CAICheck a score

exyte/FloatingButton

47.5

Weak · 1 October 2026

677

lines of production code

Swift

primary language

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

FloatingButton is a cross-platform SwiftUI component that provides a main button expanding into a submenu of sub-buttons. It supports iOS, macOS, tvOS, and watchOS, offering configurable linear and circular menu layouts with customizable directions, animations, and positioning. The package is distributed via Swift Package Manager and includes an example app demonstrating its multiplatform capabilities.

Features

Add multiplatform FloatingButton example app with counter-clockwise layout support

The FloatingButtonExample location now includes a complete, new Xcode project (FloatingButtonExample.xcodeproj) and SwiftUI source files (ContentView.swift, FloatingButtonExampleApp.swift) that demonstrate the FloatingButton framework. This example app supports both iOS and macOS, as indicated by the asset catalog configurations. It showcases various floating button styles, including straight and circular layouts, and specifically demonstrates the new ability to present circular menu buttons in a counter-clockwise layout via the \.layoutDirection(.counterClockwise)\ modifier.

FloatingButtonExample · high confidence

Added Xcode workspace and scheme for FloatingButton

The package now includes an Xcode workspace and a build scheme for the FloatingButton target, enabling direct integration and debugging within Xcode. This addition supports the project's move toward Swift 6 compatibility and provides a native Xcode development experience alongside Swift Package Manager.

.swiftpm · high confidence

Initial release of FloatingButton SwiftUI component

Introduces the FloatingButton view, allowing users to create a main button that expands into a submenu of sub-buttons. The component supports both straight (linear) and circular menu layouts, with configurable direction (left, right, top, bottom), alignment, and layout direction (clockwise or counter-clockwise for circular menus). It includes features for custom animations, spacing, initial scaling/offset/opacity, and Z-index inversion to control layering. The implementation handles dynamic sizing of sub-buttons and calculates positions based on the main button's size.

Sources · high confidence

Dependencies

Initial Swift Package Manager manifest for FloatingButton

The project now includes a Package.swift manifest, enabling installation via Swift Package Manager. The package targets iOS 14, macOS 11, tvOS 14, and watchOS 7, and enables the StrictConcurrency experimental feature for the FloatingButton target.

(dependencies) · high confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 50 → 47 (-2.2)
  • Rubric changed (rubric-2026.09.11 → rubric-2026.09.18) — scores are not directly comparable.

Lenses

  • Code Health 100 → 99 (-0.2)
  • Architecture 100 → 96 (-4.3)
  • Maturity 53 → 53 (+0.0)
  • Readiness 17 → 17 (-0.7)
  • Security 100 → 100 (+0.0)

Resolved (2)

  • Dependency hygiene PARTLY measured — SwiftPM pinning read, dependency currency NOT established
  • Documentation: no usage examples (README.md)

New (3)

  • Documentation: no project overview (README.md)
  • Duplicated block (5 lines × 2) (FloatingButtonExample/FloatingButtonExample/ContentView.swift)
  • Off the main sequence: FloatingButton

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

exyte/FloatingButton was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 1 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 0a2672f4a79231de526304013def7907254dda59 — the exact code this score is about.
  • Scored under rubric-2026.09.18 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-e569280dd5e2.