Effort Level Slider Sheet with Ring
A sheet rises over a dimmed page to rate effort from 1 to 10. Tapping one of ten bars or dragging the slider grows the ring 36 degrees per step, recolors bars by zone and swaps the zone title; Save updates the page. Core Animated and react-native-svg.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "effort-level-slider-sheet-with-ring" to this project. The full source is attached at the end of this prompt. Put the files under components/effort-level-slider-sheet-with-ring/, install the listed dependencies with `npx expo install`, and render it on a route I can open. Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply. === Source files are attached here for paid plans ===
Details
- Platforms
- iOS, Android
- Requires
- Expo SDK 54+
- Access
- Pro
- Updated
- 4 Sep 2026
- License
- Unlimited commercial projects
- Original design
- X
Are you the designer? Ask us to change or remove this.
Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs
What it does
A bottom sheet for picking an effort level from one to ten. A row of ten vertical bars rises in height and width from left to right, and dragging a finger across the track sets the level. A ring beside the readout fills in steps as the value grows, and the color and name move through four zones: easy, moderate, hard and max, each with a one-line description such as how easy it is to talk. The sheet slides up over a dimmed backdrop and slides back down on dismissal, with a button to confirm the choice and a callback for the selected value.
How it's built
Everything is plain React Native plus react-native-svg. The slider is a Pressable-style responder track that converts the touch x position into a whole number from one to ten on grant and move. The ring is an SVG arc whose sweep is thirty-six degrees per step, and the zone color is blended between neighboring zone colors as the value changes. Sheet entry and exit use the built-in Animated timing with an iOS-like easing curve and the native driver, covering translation, opacity and the scrim. There is no gesture library or Reanimated.
Good for
- A workout intensity or perceived-exertion rating in a fitness app
- A one to ten rating where labelled ranges help the user choose
- A compact sheet picker that returns a single value through a callback
Dependencies
react-native-svgreact-native