# gajus/swing

A swipeable cards interface. The swipe-left/swipe-right for yes/no input. As seen in apps like Jelly and Tinder.

Repository: https://github.com/gajus/swing
Canonical: https://ross.abutalabs.com/products/swing
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2023-09-22T12:05:05+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4330, "days_push": 1076, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2632, forks 246 (observed 2026-08-28T04:07:06.134383+00:00)

## What it is
Swing is a JavaScript library for building swipeable card-stack interfaces with swipe-left/swipe-right yes/no input, as popularized by apps like Tinder and Jelly. It provides configurable card throwing, programmatic control, and event objects with throw confidence and direction data.

## Use cases
- build a Tinder-style swipeable card deck in a web app
- add swipe-left/swipe-right yes/no input to a mobile web UI
- create a card stack for one-handed navigation on touch devices
- programmatically throw cards out of a stack based on app logic
- build a decision-making or matching UI with draggable cards

## When to avoid
- you need a maintained library with active development and recent updates
- you are building with React or Vue and prefer framework-native swipe components
- you need RTL or accessibility-first card navigation

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: frontend, web-development, mobile-development
- platform: browser, cross-platform
- tags: swipeable-cards, tinder-style-ui, touch-gestures, card-stack, drag-and-drop, nodejs

## Member repositories
- gajus/swing (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:06.134383+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-30T02:19:36.050289+00:00, confidence not recorded.
  - readme: https://github.com/gajus/swing (fetched 2026-08-28T04:07:06.134383+00:00, sha a889a52e0e09)
  - registry_npm: https://registry.npmjs.org/swing (fetched 2026-08-29T10:02:37.516012+00:00, sha 98352b4515b4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
