# Ramotion/paper-switch

:octocat: 🎚 RAMPaperSwitch is a Swift material design UI module which paints over the parent view when the switch is turned on. iOS library by @Ramotion

Repository: https://github.com/Ramotion/paper-switch
Canonical: https://ross.abutalabs.com/products/paper-switch
Homepage: https://www.ramotion.com/paper-switch/
Language: Swift
License: MIT
License Family: permissive
Topics: swift, library, ios, component
Last push: 2022-01-25T19:02:51+00:00

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

## Adoption (not part of the score)
Stars 2901, forks 223 (observed 2026-08-28T04:07:28.923062+00:00)

## What it is
RAMPaperSwitch is a Swift material design UI component for iOS that acts as a drop-in replacement for UISwitch, painting over its parent view with the switch's tint color when turned on. It supports customizable animation duration and animating nearby views.

## Use cases
- add a material design switch to an iOS app
- make a UISwitch paint over its parent view when toggled
- highlight form sections when a toggle is enabled
- animate nearby labels and views when a switch turns on
- customize switch toggle animation duration
- find a drop-in UISwitch replacement with visual effects

## When to choose
- you need a material-style animated switch in an iOS app
- you want a simple drop-in UISwitch subclass installable via CocoaPods or Carthage
- you want toggling a switch to visually flood its superview with color

## When to avoid
- you target platforms other than iOS
- you need a maintained library with frequent updates
- you want switches for Android, web, or cross-platform apps

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: mobile-development, frontend, web-design
- platform: -
- tags: material-design, uiswitch, cocoapods, carthage, swift, ios, mobile

## Member repositories
- Ramotion/paper-switch (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:28.923062+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-30T07:35:09.137796+00:00, confidence not recorded.
  - readme: https://github.com/Ramotion/paper-switch (fetched 2026-08-28T04:07:28.923062+00:00, sha 85840570d886)
  - homepage: https://www.ramotion.com/paper-switch/ (fetched 2026-08-29T09:49:51.594268+00:00, sha 7a2d8de95902)
  - site_page: https://www.ramotion.com/about (fetched 2026-08-29T09:49:51.596738+00:00, sha 1e1eff982b27)
  - site_page: https://www.ramotion.com/faq (fetched 2026-08-29T09:49:51.598872+00:00, sha 2dd04946d291)
- Data as of 2026-08-30T08:39:29.467469+00:00.
