Dev Design Library

Elastic Button

A button style that squashes toward the touch, stretches with the drag, deepens on a hold and springs back with the give you put in.

Elastic Button preview
Library
SwiftPieces
Framework
SwiftUI
Type
component
License
MIT + Commons Clause
Files
  • registry/swift/controls/ElasticButton.swift
  • registry/swift/controls/ElasticButton.mdx
Source
https://github.com/Saivion/SwiftPieces

Categories

More from SwiftPieces