プロジェクト
概要
🎨 多用途でレスポンシブなReact Native/Web用<Slider />コンポーネント。
Web・アプリ開発できること
- Discrete sliding
- Continuous sliding
- Snapping behavior
計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルCore Features
- Discrete sliding
- Continuous sliding
- Step control
- Snapping behavior
Interaction
- Scrubbing control
- Haptic feedback
Customization
- Custom thumb
- Custom bubble tooltip
- Custom mark
- Customizable appearance
Use Cases
- Media Player Controls (video/audio progress, volume, playback speed)
- Financial Trading Tools (position size, leverage ratio)
- General Purpose (numeric value adjustment, settings configuration)
Installation
First, install and configure Reanimated v2 and react-native-gesture-handler
For react-native-gesture-handler version >= 2:
yarn add react-native-awesome-slider
For version < 2:
yarn add react-native-awesome-slider@1
Basic Usage
import { useSharedValue } from 'react-native-reanimated';
import { Slider } from 'react-native-awesome-slider';
export const Example = () => {
const progress = useSharedValue(30);
const min = useSharedValue(0);
const max = useSharedValue(100);
return <Slider progress={progress} minimumValue={min} maximumValue={max} />;
};
Documentation
For complete component props and advanced usage, visit our official documentation.
License
MIT © Alan Toa
関連プロジェクトを探す
読み込み中…