{"id":28287418,"url":"https://github.com/chbappy-cse/dropdown-search-checkbox-javascript","last_synced_at":"2026-02-01T04:31:55.466Z","repository":{"id":283238073,"uuid":"951109147","full_name":"chbappy-cse/dropdown-search-checkbox-javascript","owner":"chbappy-cse","description":"A custom multi-select dropdown with search and \"Select All\" functionality. Built with HTML, CSS, and JavaScript. Fully responsive and easy to use.","archived":false,"fork":false,"pushed_at":"2025-03-19T16:19:24.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-18T04:38:38.007Z","etag":null,"topics":["checkbox-selection","css3","html5","javascript","search-select","select","select-multiple"],"latest_commit_sha":null,"homepage":"https://chbappy-cse.github.io/dropdown-search-checkbox-javascript/","language":"HTML","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/chbappy-cse.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-19T07:08:35.000Z","updated_at":"2025-03-19T16:27:16.000Z","dependencies_parsed_at":"2025-03-19T08:34:16.709Z","dependency_job_id":null,"html_url":"https://github.com/chbappy-cse/dropdown-search-checkbox-javascript","commit_stats":null,"previous_names":["chbappy-cse/dropdown-search-checkbox-javascript"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chbappy-cse/dropdown-search-checkbox-javascript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chbappy-cse%2Fdropdown-search-checkbox-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chbappy-cse%2Fdropdown-search-checkbox-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chbappy-cse%2Fdropdown-search-checkbox-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chbappy-cse%2Fdropdown-search-checkbox-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chbappy-cse","download_url":"https://codeload.github.com/chbappy-cse/dropdown-search-checkbox-javascript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chbappy-cse%2Fdropdown-search-checkbox-javascript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28967913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T03:46:10.227Z","status":"ssl_error","status_checked_at":"2026-02-01T03:46:01.693Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["checkbox-selection","css3","html5","javascript","search-select","select","select-multiple"],"created_at":"2025-05-21T22:11:35.686Z","updated_at":"2026-02-01T04:31:55.462Z","avatar_url":"https://github.com/chbappy-cse.png","language":"HTML","readme":"# Dropdown with Search and Checkboxes\n\nA simple and customizable dropdown menu with a built-in search bar and checkboxes for multiple selections.\n\n## Features\n\n- 🔍 **Searchable**: Quickly filter items by typing in the search box.\n- ✅ **Multi-Select**: Select multiple items using checkboxes.\n- 📌 **Click Anywhere**: Click on the item text or checkbox to toggle selection.\n- 🎨 **Customizable**: Easy to modify styles and functionality.\n\n## Demo\n\n\\\n*Example of the dropdown in action.*\n\n## Installation\n\n1. **Clone the repository**\n   ```sh\n   git clone https://github.com/your-username/dropdown-search-checkbox.git\n   cd dropdown-search-checkbox\n   ```\n2. **Open **``** in a browser**\n   ```sh\n   open index.html\n   ```\n\n## Usage\n\nInclude the following HTML structure in your project:\n\n```html\n\u003cdiv class=\"selectDropdown\"\u003e\n    \u003cdiv class=\"selectDropdownToggle\"\u003e\n        \u003cdiv class=\"dropdown-toggle__title\"\u003e\n            \u003cspan\u003eSelect Continent/Region\u003c/span\u003e\n            \u003cimg src=\"./chevron-up.svg\"\u003e\n        \u003c/div\u003e\n    \u003c/div\u003e\n    \u003cdiv class=\"selectDropdownMenu\"\u003e\n        \u003cdiv style=\"padding: 1rem;\"\u003e\n            \u003cinput type=\"text\" id=\"searchBox\" placeholder=\"Search...\"\u003e\n            \u003cdiv id=\"selectDropdownItems\"\u003e\n                \u003cdiv class=\"selectDropdownItem\"\u003e\u003cspan\u003eApple\u003c/span\u003e \u003cinput type=\"checkbox\" value=\"Apple\"\u003e\u003c/div\u003e\n                \u003cdiv class=\"selectDropdownItem\"\u003e\u003cspan\u003eBanana\u003c/span\u003e \u003cinput type=\"checkbox\" value=\"Banana\"\u003e\u003c/div\u003e\n                \u003cdiv class=\"selectDropdownItem\"\u003e\u003cspan\u003eCherry\u003c/span\u003e \u003cinput type=\"checkbox\" value=\"Cherry\"\u003e\u003c/div\u003e\n            \u003c/div\u003e\n        \u003c/div\u003e\n    \u003c/div\u003e\n\u003c/div\u003e\n```\n\n## Customization\n\n### Change Dropdown Width\n\nModify the `.selectDropdown` CSS class:\n\n```css\n.selectDropdown {\n    width: 300px; /* Change to desired width */\n}\n```\n\n### Update Colors\n\nChange border and hover colors in `.selectDropdownItem:hover`:\n\n```css\n.selectDropdownItem:hover {\n    background: rgba(47, 139, 138, 0.1);\n    color: #2F8B8A;\n}\n```\n\n## JavaScript Functionality\n\n- **Toggle Dropdown**: Opens/closes dropdown on click.\n- **Search Filter**: Filters items based on search input.\n- **Checkbox Toggle**: Click anywhere on the item to toggle selection.\n- **Close on Outside Click**: Automatically closes the dropdown when clicking outside.\n\n## Contributing\n\n1. Fork the repository.\n2. Create a new branch (`feature-new-feature`).\n3. Commit your changes (`git commit -m 'Add new feature'`).\n4. Push to the branch (`git push origin feature-new-feature`).\n5. Open a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License.\n\n---\n\nMade with ❤️ by [Ch Bappy](https://github.com/chbappy-cse)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchbappy-cse%2Fdropdown-search-checkbox-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchbappy-cse%2Fdropdown-search-checkbox-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchbappy-cse%2Fdropdown-search-checkbox-javascript/lists"}