React Native MantineData display

Timeline

Vertical timeline with items

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

Usage

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

<Timeline active={1} color="blue" bulletSize={20}>
  <Timeline.Item title="First step">
    Step details and description
  </Timeline.Item>
  <Timeline.Item title="Second step">
    Step details and description
  </Timeline.Item>
  <Timeline.Item title="Third step" lineVariant="dashed">
    Step details and description
  </Timeline.Item>
</Timeline>

Props

PropTypeDefaultDescription
titleReact.ReactNodeItem title displayed above the content
childrenReact.ReactNodeItem content (description or details)
bulletReact.ReactNodeCustom bullet icon (e.g., icon component)
bulletSizenumberItem bullet size override in pixels
colorMantineColorItem color override from theme
lineVariant'solid' | 'dashed' | 'dotted'"solid"Line variant style for this item
styleViewStyleAdditional styles to apply to the timeline item

Source on GitHub · npm