{"id":15162018,"url":"https://github.com/ppenter/coolert","last_synced_at":"2026-02-10T12:33:38.179Z","repository":{"id":221403435,"uuid":"754283755","full_name":"ppenter/coolert","owner":"ppenter","description":"Alert and confirm library for reactjs in single-line of code. Theming with shadcnui","archived":false,"fork":false,"pushed_at":"2024-02-23T12:45:14.000Z","size":4839,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-19T23:36:50.745Z","etag":null,"topics":["alert","confirm","react","reactjs","shadcn-ui","storybook","tailwind","tailwindcss","ui-library"],"latest_commit_sha":null,"homepage":"https://ppenter.github.io/coolert/","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/ppenter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-02-07T18:49:40.000Z","updated_at":"2024-02-07T21:12:15.000Z","dependencies_parsed_at":"2024-02-23T13:50:50.991Z","dependency_job_id":null,"html_url":"https://github.com/ppenter/coolert","commit_stats":null,"previous_names":["ppenter/coolert"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ppenter/coolert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppenter%2Fcoolert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppenter%2Fcoolert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppenter%2Fcoolert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppenter%2Fcoolert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ppenter","download_url":"https://codeload.github.com/ppenter/coolert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppenter%2Fcoolert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29298719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T12:23:18.846Z","status":"ssl_error","status_checked_at":"2026-02-10T12:23:06.082Z","response_time":65,"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":["alert","confirm","react","reactjs","shadcn-ui","storybook","tailwind","tailwindcss","ui-library"],"created_at":"2024-09-27T01:03:32.393Z","updated_at":"2026-02-10T12:33:38.162Z","avatar_url":"https://github.com/ppenter.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coolert\n\nA lightweight alert and confirm library for reactjs and nextjs using Shadcnui. Alert and confirm library for reactjs in single-line of code\n\n## Preview\n\n![Preview](./doc/images/preview.gif)\n\n## Getting Started\n\n```bash\nyarn add coolert\n```\n\n## Usage\n\n### coolert\n\nAlert component\n\n```bash\n coolert({\n  title: 'Alert',\n  description: 'This is description',\n  type: 'info',\n });\n```\n\n### Coolfirm\n\nConfirm component\n\n```bash\n coolfirm({\n   title: 'Confirm',\n   description: '',\n   type: 'info',\n   onConfirm: (value) =\u003e {\n         console.log(\"Confirm: \", value);\n      },\n   onCancel: () =\u003e {\n         console.log(\"Cancel\");\n      },\n   });\n```\n\n## Theme\n\nYou can config it using [shadcnui theme](https://ui.shadcn.com/themes). Coolert will adapt your theme to shadcnui.\n\n## Built With\n\n- [Vite](https://vitejs.dev/) - The web framework used\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppenter%2Fcoolert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fppenter%2Fcoolert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppenter%2Fcoolert/lists"}