{"id":49291029,"url":"https://github.com/azizbecha/react-native-multistep","last_synced_at":"2026-04-26T00:04:29.426Z","repository":{"id":264550916,"uuid":"893618171","full_name":"azizbecha/react-native-multistep","owner":"azizbecha","description":"React Native multistep forms made easy 🚀","archived":false,"fork":false,"pushed_at":"2025-02-18T18:00:51.000Z","size":1408,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T22:50:38.914Z","etag":null,"topics":["forms","npm","react-native"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-native-multistep","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azizbecha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-24T22:18:20.000Z","updated_at":"2025-02-18T18:00:54.000Z","dependencies_parsed_at":"2024-11-25T06:15:18.881Z","dependency_job_id":null,"html_url":"https://github.com/azizbecha/react-native-multistep","commit_stats":null,"previous_names":["azizbecha/react-native-multistep"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/azizbecha/react-native-multistep","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azizbecha%2Freact-native-multistep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azizbecha%2Freact-native-multistep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azizbecha%2Freact-native-multistep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azizbecha%2Freact-native-multistep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azizbecha","download_url":"https://codeload.github.com/azizbecha/react-native-multistep/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azizbecha%2Freact-native-multistep/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32280982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["forms","npm","react-native"],"created_at":"2026-04-26T00:04:28.554Z","updated_at":"2026-04-26T00:04:29.419Z","avatar_url":"https://github.com/azizbecha.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  React Native MultiStep 🚀\n\nA flexible and animated **multi-step form component** for React Native, allowing you to easily create forms with multiple steps. 📝 The component provides **step indicators**, **transition animations**, and **customizable buttons**. 🎨\n\n\u003cdiv style=\"display: flex; justify-content: space-between; align-items: center;gap: 5;\"\u003e\n\u003cimg src='https://github.com/user-attachments/assets/54b26c27-9b48-4cd8-aa3f-dac21306d2f4' width='200'/\u003e\n\u003cimg src='https://github.com/user-attachments/assets/2d2d1331-ce1f-41ac-adea-36c8126e0cf0' width='200'/\u003e\n\u003cimg src='https://github.com/user-attachments/assets/d034528b-8bb2-4346-827c-8904051fee9b' width='200'/\u003e\n\u003c/div\u003e\n\n## 🌟 Features ✨\n\n- ✅ **Step Indicator**: Displays a dynamic indicator to show the current step and progress. 📅\n- ✅ **Animations**: Includes an animated scale effect on the active step indicator. 🔄\n- ✅ **Customizable Buttons**: Custom labels and styles for the back, next, and done buttons. 🔘\n- ✅ **Customizable Styles**: Easily customize every part of the form, including **content container**, **step indicators**, **buttons**, etc. 🎨\n\n## 🔧 Installation 📦\n\n1. Install the necessary dependencies:\n\n```bash\nnpm install react-native-multistep\n```\n\nor\n\n```bash\nyarn add react-native-multistep\n```\n\n2. Import the `MultiStepForm` component into your app: 📜\n\n```tsx\nimport { MultiStepForm } from 'react-native-multistep';\n```\n\n## ⚛️ Props\n\n| Prop | Type | Default | Description |\n| ---- | ---- | ------- | ----------- |\n| `stepsContent` (required) | `React.ReactNode[]` | - | An array of React nodes, where each node represents the content for each step. 🗂️ |\n| `onStepChange` (optional) | `(currentStep: number) =\u003e void` | - | A callback triggered whenever the step changes. 🔄 |\n| `onStepForward` (optional) | `(currentStep: number) =\u003e void` | - | A callback triggered when navigating to the **next step**. ⏭️ |\n| `onStepBackward` (optional) | `(currentStep: number) =\u003e void` | - | A callback triggered when navigating to the **previous step**. 🔙 |\n| `backButtonLabel` (optional) | `string` | `Back` | Label for the **Back button** 🔙 |\n| `nextButtonLabel` (optional) | `string` | `Next` | Label for the **Next button** ▶️ |\n| `doneButtonLabel` (optional) | `string` | `Done` | Label for the **Done button** ✅ |\n| `onComplete` (optional) | `() =\u003e void` | - | A callback triggered when the form is **completed**. 🎉 |\n| `style` (optional) | `StyleProp\u003cViewStyle\u003e` | - | Custom style for the **root container**. 🖌️ |\n| `nextButtonStyle` (optional) | `StyleProp\u003cViewStyle\u003e` | - | Custom style for the **Next button** 🔹 |\n| `previousButtonStyle` (optional) | `StyleProp\u003cViewStyle\u003e` | - | Custom style for the **Previous button** 🔙 |\n| `doneButtonStyle` (optional) | `StyleProp\u003cViewStyle\u003e` | - | Custom style for the **Done button** ✅ |\n| `stepsContainerStyle` (optional) | `StyleProp\u003cViewStyle\u003e` | - | Custom style for the **step indicators container** 🔢 |\n| `activeStepStyle` (optional) | `StyleProp\u003cViewStyle\u003e` | - | Custom style for **active step indicators** 🔥 |\n| `inactiveStepStyle` (optional) | `StyleProp\u003cViewStyle\u003e` | - | Custom style for **inactive step indicators** ❄️ |\n| `contentContainerStyle` (optional) | `StyleProp\u003cViewStyle\u003e` | - | Custom style for the **content container** 📝 |\n| `buttonsContainerStyle` (optional) | `StyleProp\u003cViewStyle\u003e` | - | Custom style for the **footer buttons container** ⚙️ |\n| `lineColor` (optional) | `string` | - | Custom color for the **line between indicators** ✅ |\n| `activeLineColor` (optional) | `string` | - | Custom color for the **active line between indicators** ✅ |\n\n## 📖 Usage Example 🧵\n\n```tsx\nimport React from 'react';\nimport { MultiStepForm } from 'react-native-multistep';\nimport { Text, View } from 'react-native';\n\nconst App = () =\u003e {\n  const stepsContent = [\n    \u003cText\u003eStep 1: Personal Information 👤\u003c/Text\u003e,\n    \u003cText\u003eStep 2: Address 📍\u003c/Text\u003e,\n    \u003cText\u003eStep 3: Review ✅\u003c/Text\u003e,\n  ];\n\n  const handleStepChange = (currentStep: number) =\u003e {\n    console.log(`Current Step: ${currentStep}`);\n  };\n\n  const handleComplete = () =\u003e {\n    console.log('Form Completed! 🎉');\n  };\n\n  return (\n    \u003cMultiStepForm\n      stepsContent={stepsContent}\n      onStepChange={handleStepChange}\n      onComplete={handleComplete}\n      backButtonLabel=\"Go Back 🔙\"\n      nextButtonLabel=\"Next Step ▶️\"\n      doneButtonLabel=\"Finish ✅\"\n      style={{ padding: 20 }}\n      nextButtonStyle={{ backgroundColor: 'blue' }}\n      previousButtonStyle={{ backgroundColor: 'gray' }}\n      doneButtonStyle={{ backgroundColor: 'green' }}\n      activeStepStyle={{ backgroundColor: 'blue' }}\n      inactiveStepStyle={{ backgroundColor: 'lightgray' }}\n    /\u003e\n  );\n};\n\nexport default App;\n```\n\n## 🎨 Styling\n\nThe component uses `StyleSheet.create` for default styles. Customize your form by passing the relevant props:\n\n- **Root Container**: `style` 🖌️\n- **Step Indicator Container**: `stepsContainerStyle` 🔢\n- **Active/Inactive Step Indicators**: `activeStepStyle`, `inactiveStepStyle` 🔥\n- **Content Area**: `contentContainerStyle` 📝\n- **Footer Buttons Container**: `buttonsContainerStyle` ⚙️\n- **Back Button**: `previousButtonStyle` 🔙\n- **Next Button**: `nextButtonStyle` ▶️\n- **Done Button**: `doneButtonStyle` ✅\n\n## 🔄 Animations\n\n- **Step Indicator Animation** 🎥: The active step indicator includes a **scale effect** when selected, providing a quick visual cue to the user. 🔄\n\n## 🤝 Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the project. 🛠️\n\n## 📜 License\n\nMIT 📝\n\n---\n\nMade with ❤️ by [Aziz Becha](https://azizbecha.com) 🌟\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazizbecha%2Freact-native-multistep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazizbecha%2Freact-native-multistep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazizbecha%2Freact-native-multistep/lists"}