# aheze/SwipeActions

Add customizable swipe actions to any view.

Repository: https://github.com/aheze/SwipeActions
Canonical: https://ross.abutalabs.com/products/swipeactions
Homepage: https://twitter.com/aheze0/status/1646399867764510721
Language: Swift
License: MIT
License Family: permissive
Topics: gesture, ios, notifications, swift, swiftui, swipe, swipe-actions, drag, list
Last push: 2025-12-22T18:37:31+00:00

## Health v2 (maintenance only)
Score: 46/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 58, release rhythm 8, longevity 88
- inputs: {"age_days": 1238, "days_push": 254, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1327, forks 75 (observed 2026-08-28T04:04:22.891228+00:00)

## What it is
A lightweight SwiftUI library that adds customizable swipe actions to any view on iOS, not just Lists. It is a single-file, dependency-free package supporting iOS 14+ with extensive styling, animation, and gesture customization.

## Use cases
- add swipe-to-delete to a custom SwiftUI view
- enable swipe actions outside of SwiftUI Lists
- implement drag-to-trigger actions in an iOS app
- customize swipe action colors, corner radius, and animations
- programmatically show or hide swipe actions
- build cascading swipe action menus in SwiftUI

## When to choose
- you need swipe gestures on arbitrary SwiftUI views, not just List rows
- you want a lightweight, zero-dependency single-file solution
- you need fine-grained control over swipe styling and animations
- your app targets iOS 14 or later

## When to avoid
- you are building for Android or cross-platform frameworks
- you only need standard List swipe actions already provided by SwiftUI
- you use UIKit rather than SwiftUI

## Facets
- artifact type: library
- maturity: active
- function: ui-components, animation, state-management
- domain: mobile-development, frontend, cross-platform
- platform: -
- tags: swiftui, swipe-gestures, ios-14, single-file, no-dependencies, drag-to-delete, ios, swift, mobile

## Member repositories
- aheze/SwipeActions (main) score 46

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:22.891228+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:46:15.295647+00:00, confidence not recorded.
  - readme: https://github.com/aheze/SwipeActions (fetched 2026-08-28T04:04:22.891228+00:00, sha 921a5c579bf9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
