React Native MantineFeedback

Progress

Progress bar with animations

Import: import { Progress } from 'react-native-mantine';

Usage

import { Progress } from 'react-native-mantine';

// Basic progress
<Progress value={60} color="blue" />

// Large progress bar
<Progress
  value={75}
  color="green"
  size="lg"
  radius="xl"
/>

// Multi-section progress
<Progress
  sections={[
    { value: 30, color: 'green' },
    { value: 20, color: 'orange' },
    { value: 15, color: 'blue' },
  ]}
  size="lg"
/>

Props

PropTypeDefaultDescription
valuenumber0Progress value from 0 to 100. Animated with smooth transition when changed
colorMantineColor"blue"Progress bar color from theme (e.g., "blue", "red", "green", "teal")
size'xs' | 'sm' | 'md' | 'lg' | 'xl' | number"md"Progress bar height as predefined size or custom number in pixels
radiusnumber | "xs" | "sm" | "md" | "lg" | "xl""sm"Key of theme.radius or any valid number to set border-radius
stripedbooleanfalseAdds diagonal stripes pattern to the progress bar for visual interest
animatebooleanfalseWhether to animate striped progress bars (requires striped=true)
sectionsProgressSection[]Array of sections to create multi-segment progress bar. Each section has value (0-100), color, and optional label. When provided, the value prop is ignored
styleViewStyleAdditional styles to apply to the progress bar container

Source on GitHub · npm