{"id":14384965,"url":"https://github.com/luqin/react-icheck","last_synced_at":"2025-04-05T23:10:26.927Z","repository":{"id":57147124,"uuid":"44650378","full_name":"luqin/react-icheck","owner":"luqin","description":":radio_button: iCheck components built with React. Highly customizable checkbox, radio buttons and radio group.","archived":false,"fork":false,"pushed_at":"2018-05-30T07:33:37.000Z","size":1962,"stargazers_count":177,"open_issues_count":7,"forks_count":40,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-29T22:06:37.531Z","etag":null,"topics":["checkbox","icheck","radio","react","switch"],"latest_commit_sha":null,"homepage":"https://luqin.github.io/react-icheck","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/luqin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-10-21T03:28:03.000Z","updated_at":"2024-07-16T13:32:24.000Z","dependencies_parsed_at":"2022-09-05T16:50:12.347Z","dependency_job_id":null,"html_url":"https://github.com/luqin/react-icheck","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luqin%2Freact-icheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luqin%2Freact-icheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luqin%2Freact-icheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luqin%2Freact-icheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luqin","download_url":"https://codeload.github.com/luqin/react-icheck/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411235,"owners_count":20934653,"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":["checkbox","icheck","radio","react","switch"],"created_at":"2024-08-28T18:01:49.108Z","updated_at":"2025-04-05T23:10:26.905Z","avatar_url":"https://github.com/luqin.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# React-iCheck\n\n[![NPM version][npm-badge]][npm] [![Build Status][travis-ci-image]][travis-ci-url]\n\n[![Dependency Status][deps-badge]][deps]\n[![devDependency Status][dev-deps-badge]][dev-deps]\n[![peerDependency Status][peer-deps-badge]][peer-deps]\n\n[iCheck](https://github.com/fronteed/icheck) components built with [React](http://facebook.github.io/react/). **No jQuery and Zepto** \n\nOnline demo: http://luqin.github.io/react-icheck\n\n**Note: React-iCheck still in development**\n\n![Skins](http://fronteed.com/iCheck/examples.png)\n\n\n## Features\n\n* **Identical inputs across different browsers and devices** — both [desktop and mobile](#browser-support)\n* **Touch devices support** — iOS, Android, BlackBerry, Windows Phone, Amazon Kindle\n* **Keyboard accessible inputs** — `Tab`, `Spacebar`, `Arrow up/down` and other shortcuts\n* **Customization freedom** — use any HTML and CSS to style inputs (try [6 Retina-ready skins](http://fronteed.com/iCheck/))\n* **No jQuery and Zepto**\n* **Screenreader accessible inputs** \u0026mdash; [ARIA](https://developer.mozilla.org/en-US/docs/Accessibility/ARIA) attributes for VoiceOver and others\n* **Lightweight size**\n\n\n**By default, iCheck doesn't provide any CSS styles for wrapper divs** (if you don't use [skins](http://fronteed.com/iCheck/)).\n\n\n## Usage\n\n```sh\nnpm install react-icheck icheck --save\n```\n\n```js\nimport 'icheck/skins/all.css'; // or single skin css\n\nimport {Checkbox, Radio} from 'react-icheck';\n\n// Checkbox with label\n\u003cCheckbox\n  checkboxClass=\"icheckbox_square-blue\"\n  increaseArea=\"20%\"\n  label=\"Checkbox\"\n/\u003e\n\n// without label\n\u003cCheckbox\n  id=\"checkbox1\"\n  checkboxClass=\"icheckbox_square-blue\"\n  increaseArea=\"20%\"\n/\u003e\n\u003clabel htmlFor=\"checkbox1\"\u003eFirst name\u003c/label\u003e\n\n// Radio\n\u003cRadio\n  name=\"aa\"\n  radioClass=\"iradio_square-blue\"\n  increaseArea=\"20%\"\n  label=\"Radio\"\n/\u003e\n```\n\n```js\nimport {Radio, RadioGroup} from 'react-icheck';\n\n\u003cRadioGroup name=\"radio\" value=\"3\"\u003e\n    \u003cRadio\n      value=\"3\"\n      radioClass=\"iradio_square-blue\"\n      increaseArea=\"20%\"\n      label=\"Radio, \u003cspan class='label1'\u003e#input-3\u003c/span\u003e\"\n    /\u003e\n    \u003cRadio\n      value=\"4\"\n      radioClass=\"iradio_square-blue\"\n      increaseArea=\"20%\"\n      label=\"Radio, \u003cspan class='label1'\u003e#input-4\u003c/span\u003e\"\n    /\u003e\n    \u003cRadio\n      value=\"5\"\n      radioClass=\"iradio_square-blue\"\n      increaseArea=\"20%\"\n      label=\"Radio, \u003cspan class='label1'\u003e#disabled\u003c/span\u003e\"\n      disabled\n    /\u003e\n\u003c/RadioGroup\u003e\n```\n\nMore examples: [Online demo](http://luqin.github.io/react-icheck), [Source](https://github.com/luqin/react-icheck/tree/master/examples)\n\n## Browser support\n\niCheck is verified to work in Internet Explorer 6+, Firefox 2+, Opera 9+, Google Chrome and Safari browsers. Should also work in many others.\n\nMobile browsers (like Opera mini, Chrome mobile, Safari mobile, Android browser, Silk and others) are also supported. Tested on iOS (iPad, iPhone, iPod), Android, BlackBerry and Windows Phone devices.\n\n## Contribute\n\nDev base on [react-component-tools](https://github.com/luqin/react-component-tools)\n\n```sh\n$ git clone https://github.com/luqin/react-icheck.git\n$ cd react-icheck\n$ npm install\n$ npm start # Run the docs site in development mode. This will watch for file changes as you work. And auto refresh the page to see the updates.\n```\n\n[npm-badge]: http://badge.fury.io/js/react-icheck.svg\n[npm]: https://www.npmjs.com/package/react-icheck\n\n[deps-badge]: https://david-dm.org/luqin/react-icheck.svg\n[deps]: https://david-dm.org/luqin/react-icheck\n\n[dev-deps-badge]: https://david-dm.org/luqin/react-icheck/dev-status.svg\n[dev-deps]: https://david-dm.org/luqin/react-icheck#info=devDependencies\n\n[peer-deps-badge]: https://david-dm.org/luqin/react-icheck/peer-status.svg\n[peer-deps]: https://david-dm.org/luqin/react-icheck#info=peerDependencies \n\n[travis-ci-image]: https://travis-ci.org/luqin/react-icheck.svg\n[travis-ci-url]: https://travis-ci.org/luqin/react-icheck\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluqin%2Freact-icheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluqin%2Freact-icheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluqin%2Freact-icheck/lists"}