Dev Design Library

Button

A press-in pill button with compact caps, async waiting/result faces and opt-in irreversible hold confirmation. React on Base UI and SwiftUI share recipes and timing.

Button preview
Library
Metal UI
Framework
React + SwiftUI
Type
ui
License
MIT
Dependencies
@base-ui/react@^1.8.0
Files
  • packages/metalui/src/components/button/button.tsx
  • packages/metalui/src/motion/awake.ts
  • packages/metalui/src/motion/duration.ts
  • packages/metalui/src/motion/haptic.ts
  • packages/metalui/src/motion/hop.ts
  • packages/metalui/src/motion/indicator.tsx
  • packages/metalui/src/motion/layout-effect.ts
  • packages/metalui/src/motion/leave.ts
Source
https://github.com/vijayksingh/metalui

Categories

More from Metal UI