{"id":19241898,"url":"https://github.com/sanjaraiy/toggle_btn","last_synced_at":"2026-05-05T09:31:05.998Z","repository":{"id":219624580,"uuid":"710652987","full_name":"sanjaraiy/Toggle_btn","owner":"sanjaraiy","description":"This repository features a React-based Toggle Button for enabling dark mode. Switch effortlessly between light and dark themes with style! 🚀🎨","archived":false,"fork":false,"pushed_at":"2024-01-28T18:37:42.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T14:43:50.410Z","etag":null,"topics":["html5","javascript","reactjs","tailwind-css","toggle-buttons","vite"],"latest_commit_sha":null,"homepage":"","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/sanjaraiy.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}},"created_at":"2023-10-27T06:41:09.000Z","updated_at":"2024-07-06T10:54:04.000Z","dependencies_parsed_at":"2024-01-28T19:47:27.366Z","dependency_job_id":null,"html_url":"https://github.com/sanjaraiy/Toggle_btn","commit_stats":null,"previous_names":["sanjaraiy/toggle_btn"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sanjaraiy/Toggle_btn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjaraiy%2FToggle_btn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjaraiy%2FToggle_btn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjaraiy%2FToggle_btn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjaraiy%2FToggle_btn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanjaraiy","download_url":"https://codeload.github.com/sanjaraiy/Toggle_btn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjaraiy%2FToggle_btn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32643446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"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":["html5","javascript","reactjs","tailwind-css","toggle-buttons","vite"],"created_at":"2024-11-09T17:12:52.496Z","updated_at":"2026-05-05T09:31:05.596Z","avatar_url":"https://github.com/sanjaraiy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Toggle Feature In React.js\nThis project is built on `JavaScript`, `Tailwind CSS` and `React.js` .It is useful for enabling the dark and light mode feature in the React created card.\n\n## Install Vite :-\n```\nnpm latest@vite\n```\n## NPM Json Package Install :-\n```\nnpm install\n```\n## Tailwind Install Link :-\n```\nnpm install -D tailwindcss\nnpx tailwindcss init\n```\n## Tailwind Configure your template paths :-\n```\nmodule.exports = {\n  content: [\"./src/**/*.{html,js}\"],\n  theme: {\n    extend: {},\n  },\n  darkMode:\"class\",\n  plugins: [],\n}\n```\n## Add the Tailwind directives to your CSS :-\n```\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n```\n## Install React-Redux :-\n```\nnpm i react-redux\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjaraiy%2Ftoggle_btn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanjaraiy%2Ftoggle_btn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjaraiy%2Ftoggle_btn/lists"}