{"id":39462118,"url":"https://github.com/hummerichsander/streamlit-free-text-select","last_synced_at":"2026-01-18T04:45:05.986Z","repository":{"id":226789320,"uuid":"769646866","full_name":"hummerichsander/streamlit-free-text-select","owner":"hummerichsander","description":"This component implements a selectbox that allows free text input. It is based on React-Select's 'Select' component.","archived":false,"fork":false,"pushed_at":"2025-06-18T15:48:49.000Z","size":766,"stargazers_count":21,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-18T16:29:19.322Z","etag":null,"topics":["python","react","streamlit","streamlit-component"],"latest_commit_sha":null,"homepage":"","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/hummerichsander.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,"zenodo":null}},"created_at":"2024-03-09T16:58:21.000Z","updated_at":"2025-06-18T15:48:52.000Z","dependencies_parsed_at":"2024-03-09T18:24:02.773Z","dependency_job_id":"d5423662-a1b9-4dea-a917-965a80f0212d","html_url":"https://github.com/hummerichsander/streamlit-free-text-select","commit_stats":null,"previous_names":["hummerichsander/streamlit-free-text-select"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hummerichsander/streamlit-free-text-select","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummerichsander%2Fstreamlit-free-text-select","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummerichsander%2Fstreamlit-free-text-select/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummerichsander%2Fstreamlit-free-text-select/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummerichsander%2Fstreamlit-free-text-select/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hummerichsander","download_url":"https://codeload.github.com/hummerichsander/streamlit-free-text-select/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummerichsander%2Fstreamlit-free-text-select/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28530125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["python","react","streamlit","streamlit-component"],"created_at":"2026-01-18T04:45:05.017Z","updated_at":"2026-01-18T04:45:05.974Z","avatar_url":"https://github.com/hummerichsander.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPI Downloads](https://static.pepy.tech/badge/streamlit-free-text-select)](https://pepy.tech/projects/streamlit-free-text-select)\n[![PyPI version](https://img.shields.io/pypi/v/streamlit-free-text-select.svg)](https://pypi.org/project/streamlit-free-text-select/)\n\n\n# Streamlit free text select\nThis component implements a selectbox that allows free text input. It is based on React-Select's 'Select'\ncomponent.\n\n## Installation\n```bash\npip install streamlit-free-text-select\n```\n\n## Usage\n```python\nimport streamlit as st\n\nfrom streamlit_free_text_select import st_free_text_select\n\noptions = [\"apple\", \"banana\", \"cherry\", \"date\", \"elderberry\", \"fig\", \"grape\"]\n\nvalue = st_free_text_select(\n    label=\"Free text select\",\n    options=options,\n    index=None,\n    format_func=lambda x: x.lower(),\n    placeholder=\"Select or enter a fruit\",\n    disabled=False,\n    delay=300,\n    label_visibility=\"visible\",\n)\nst.write(\"Free text select value:\", value)\n```\n\n![demo](./streamlit-free-text-demo.gif)\n\n\n## Docs\nParameters\n- `label` : str\n    A short label explaining to the user what this input is for.\n- `options` : list\n    A list of predefined options to choose from.\n- `index` : int\n    An optional index to select an option by default, defaults to None.\n- `format_func` : callable\n    A callable function to format the options, defaults to None.\n- `placeholder` : str\n    A string to display when the input is empty, defaults to None.\n- `disabled` : bool\n    Whether the input is disabled, defaults to False.\n- `delay` : int\n    The time in milliseconds to wait before updating the component, defaults to 300.\n- `key` : str\n    An optional string to use as the unique key for the widget, defaults to None.\n- `label_visibility` : str\n    The visibility of the label, defaults to \"visible\". Options are \"visible\", \"hidden\", \"collapsed\".\n\nReturns\nstr or None\n    The value of the free text select input.\n\n## Contributors\n\u003c!-- readme: contributors -start --\u003e\n\u003ctable\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n            \u003ctd align=\"center\"\u003e\n                \u003ca href=\"https://github.com/hummerichsander\"\u003e\n                    \u003cimg src=\"https://avatars.githubusercontent.com/u/64867257?v=4\" width=\"100;\" alt=\"hummerichsander\"/\u003e\n                    \u003cbr /\u003e\n                    \u003csub\u003e\u003cb\u003eSander Niels Hummerich\u003c/b\u003e\u003c/sub\u003e\n                \u003c/a\u003e\n            \u003c/td\u003e\n            \u003ctd align=\"center\"\u003e\n                \u003ca href=\"https://github.com/kevintcaron\"\u003e\n                    \u003cimg src=\"https://avatars.githubusercontent.com/u/57652990?v=4\" width=\"100;\" alt=\"kevintcaron\"/\u003e\n                    \u003cbr /\u003e\n                    \u003csub\u003e\u003cb\u003eKevin Caron\u003c/b\u003e\u003c/sub\u003e\n                \u003c/a\u003e\n            \u003c/td\u003e\n            \u003ctd align=\"center\"\u003e\n                \u003ca href=\"https://github.com/LorianColtof\"\u003e\n                    \u003cimg src=\"https://avatars.githubusercontent.com/u/3457005?v=4\" width=\"100;\" alt=\"LorianColtof\"/\u003e\n                    \u003cbr /\u003e\n                    \u003csub\u003e\u003cb\u003eLorian Coltof\u003c/b\u003e\u003c/sub\u003e\n                \u003c/a\u003e\n            \u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003ctbody\u003e\n\u003c/table\u003e\n\u003c!-- readme: contributors -end --\u003e\n\n## Release Notes\n- 0.3.0:\n    Enhancement: Support for `disabled=True` and updated styling to match streamlit-1.45.0. by [kevintcaron](https://github.com/kevintcaron)\n- 0.2.0:\n    Enhancement: Allow dynamic updating of the options. by [LorianColtof](https://github.com/LorianColtof)\n- 0.1.2:\n    Bug fix: Fixed issue with `index=0` not selecting the first option.\n- 0.1.1:\n    Added the `label_visibility` and `index` parameters.\n- 0.0.5:\n    Initial release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhummerichsander%2Fstreamlit-free-text-select","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhummerichsander%2Fstreamlit-free-text-select","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhummerichsander%2Fstreamlit-free-text-select/lists"}