{"id":22378872,"url":"https://github.com/codebrahma/react-multi-level-selector","last_synced_at":"2026-03-07T09:31:06.871Z","repository":{"id":57334905,"uuid":"216536147","full_name":"Codebrahma/react-multi-level-selector","owner":"Codebrahma","description":"React component for Multi level options Selector for your application","archived":false,"fork":false,"pushed_at":"2022-11-15T23:42:29.000Z","size":835,"stargazers_count":13,"open_issues_count":4,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-22T09:38:17.381Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://react-multi-level-selector.netlify.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Codebrahma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-21T10:02:27.000Z","updated_at":"2024-04-09T06:22:20.000Z","dependencies_parsed_at":"2022-08-24T20:21:20.262Z","dependency_job_id":null,"html_url":"https://github.com/Codebrahma/react-multi-level-selector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codebrahma%2Freact-multi-level-selector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codebrahma%2Freact-multi-level-selector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codebrahma%2Freact-multi-level-selector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codebrahma%2Freact-multi-level-selector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Codebrahma","download_url":"https://codeload.github.com/Codebrahma/react-multi-level-selector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228204671,"owners_count":17884711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-04T23:08:09.772Z","updated_at":"2026-03-07T09:31:06.802Z","avatar_url":"https://github.com/Codebrahma.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-multi-level-selector\n\n:bell: React component for Multi level options Selector for your application.\n\n\u003cimg src=\"demo.gif\" alt=\"\" align=\"middle\" /\u003e\n\n## Installation\n\n```bash\nnpm install --save react-multi-level-selector\n```\n\n## Usage\n\n```Javascript\nimport React from 'react';\nimport MultiLevelSelect from 'react-multi-level-selector';\n\nconst options = [\n  { value: 'fruits', label: 'Fruits',\n    options: [\n      { value: 'citrus', label: 'Citrus',\n        options: [\n          { value: 'orange', label: 'Orange' },\n          { value: 'grapefruits', label: 'GrapeFruits'},\n        ],\n      },\n      { value: 'tropical', label: 'Tropical',\n        options: [\n          { value: 'mango', label: 'Mango' },\n          { value: 'papaya', label: 'Papaya' },\n        ],\n      },\n      { value: 'berries', label: 'Berries',\n        options: [\n          { value: 'strawberry', label: 'Strawberry' },\n          { value: 'raspberries', label: 'Raspberries' },\n        ],\n      },\n    ],\n  },\n  { value: 'city', label: 'City',\n    options: [\n      { value: 'dublin', label: 'Dublin' },\n      { value: 'new york', label: 'New York' },\n      { value: 'san fransis', label: 'San Fransis' },\n    ],\n  },\n\nfunction App() {\n  return (\n    \u003cdiv\u003e\n      \u003cMultiLevelSelect\n        options={options}\n      /\u003e\n      \u003cdiv\u003eThis is a test application\u003c/div\u003e\n    \u003c/div\u003e\n  )\n}\n\nexport default App;\n```\n\n## Props\n\n| Name              | Type         | Description                                                             |\n| ----------------- | ------------ | ----------------------------------------------------------------------- |\n| **`options`**     | `{Array}`    | Options for the dropdown. Specify the options for users to select from. |\n| **`placeholder`** | `{String}`   | The text displayed when no option is selected.                          |\n| **`onChange`**    | `{function}` | Subscribe to change events.                                             |\n| **`className`**   | `{String}`   | className to style the selector                                         |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebrahma%2Freact-multi-level-selector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodebrahma%2Freact-multi-level-selector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebrahma%2Freact-multi-level-selector/lists"}