Dev Design Library

Slide Button

Drag across to confirm, with the distance drawn on the button.

Slide Button preview
Library
Panel UI
Framework
React Native
Type
component
License
MIT
Files
  • packages/panelui/src/components/slide-button/index.tsx
  • packages/panelui/src/components/slide-button/slide-button-track.ts
  • packages/panelui/src/hooks/use-direction.ts
  • packages/panelui/src/icons/index.tsx
  • packages/panelui/src/primitives/text.tsx
  • packages/panelui/src/utils/haptics.ts
  • packages/panelui/src/primitives/refs.ts
Source
https://github.com/panel-ui/PanelUI

Categories

More from Panel UI