{"id":20061623,"url":"https://github.com/tylerrick/mui-tri-state-checkbox","last_synced_at":"2025-08-05T04:13:56.041Z","repository":{"id":36467600,"uuid":"226273322","full_name":"TylerRick/mui-tri-state-checkbox","owner":"TylerRick","description":"A tri-state checkbox component (false, null, or true) built on material-ui Checkbox","archived":false,"fork":false,"pushed_at":"2023-01-05T02:26:08.000Z","size":3967,"stargazers_count":2,"open_issues_count":25,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-21T02:46:03.534Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/TylerRick.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-06T07:42:04.000Z","updated_at":"2022-07-14T06:24:57.000Z","dependencies_parsed_at":"2023-01-17T01:45:41.421Z","dependency_job_id":null,"html_url":"https://github.com/TylerRick/mui-tri-state-checkbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TylerRick/mui-tri-state-checkbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fmui-tri-state-checkbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fmui-tri-state-checkbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fmui-tri-state-checkbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fmui-tri-state-checkbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TylerRick","download_url":"https://codeload.github.com/TylerRick/mui-tri-state-checkbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fmui-tri-state-checkbox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268832370,"owners_count":24314387,"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","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"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":[],"created_at":"2024-11-13T13:20:59.796Z","updated_at":"2025-08-05T04:13:56.006Z","avatar_url":"https://github.com/TylerRick.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mui-tri-state-checkbox\n\n[![npm version](https://badge.fury.io/js/mui-tri-state-checkbox.svg)](https://badge.fury.io/js/mui-tri-state-checkbox)\n\nA tri-state checkbox component (false, null, or true) built on [material-ui](https://material-ui.com/)'s [Checkbox](https://material-ui.com/api/checkbox/)\n\nThe `null` state represents an indeterminate state. It's like a \"partially checked\" state in between `false` and `true`.\n\nUseful for indicating that it is not yet known whether the value is `true` or `false` (such as when the user has never selected a value yet).\n\n# Usage\n\nExample ([Codesandbox](https://codesandbox.io/s/material-demo-1bzfj)):\n\n```js\nimport React, { useState } from 'react'\nimport { MuiTriStateCheckbox } from 'mui-tri-state-checkbox'\n\nexport default function Demo() {\n  const [checked, setChecked] = useState\u003cboolean | null\u003e(null)\n\n  return (\n    \u003c\u003e\n      \u003ch2\u003eControlled (checked: {JSON.stringify(checked)})\u003c/h2\u003e\n      \u003cdiv\u003e\n        \u003cMuiTriStateCheckbox\n          value=\"value\"\n          checked={checked}\n          onChange={(e, checked) =\u003e setChecked(checked)}\n        /\u003e\n      \u003c/div\u003e\n    \u003c/\u003e\n  )\n}\n```\n\n# Demo\n\nStart the demo with `yarn start`. (To do: publish it to GitHub pages.)\n\n# Contributing\n\nPull requests welcome!\n\n# License\n\nThis project is free software, licensed under the terms of the [MIT license](/License).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerrick%2Fmui-tri-state-checkbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylerrick%2Fmui-tri-state-checkbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerrick%2Fmui-tri-state-checkbox/lists"}