{"id":20314627,"url":"https://github.com/dashpilot/tiny-modal-web-component","last_synced_at":"2026-02-14T20:36:15.244Z","repository":{"id":135256733,"uuid":"457190502","full_name":"dashpilot/tiny-modal-web-component","owner":"dashpilot","description":"A tiny modal web component made with Svelte","archived":false,"fork":false,"pushed_at":"2022-02-09T14:40:50.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T13:56:44.959Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"tiny-modal-web-component.vercel.app","language":"HTML","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/dashpilot.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}},"created_at":"2022-02-09T03:14:23.000Z","updated_at":"2022-02-09T03:16:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"5cc2b254-db30-42de-be37-68e5d113486d","html_url":"https://github.com/dashpilot/tiny-modal-web-component","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dashpilot/tiny-modal-web-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashpilot%2Ftiny-modal-web-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashpilot%2Ftiny-modal-web-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashpilot%2Ftiny-modal-web-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashpilot%2Ftiny-modal-web-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashpilot","download_url":"https://codeload.github.com/dashpilot/tiny-modal-web-component/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashpilot%2Ftiny-modal-web-component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29455360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-14T18:16:07.696Z","updated_at":"2026-02-14T20:36:15.218Z","avatar_url":"https://github.com/dashpilot.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tiny-modal-web-component\n\nLightweight modal web component made with Svelte\n\n## Demo\n\n\u003chttps://tiny-modal-web-component.vercel.app/\u003e\n\n## Usage\n\nGrab the files from CDN:\n```\n\u003cscript src=\"https://cdn.jsdelivr.net/gh/dashpilot/tiny-modal-web-component@1.0.1/dist/assets/index.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://cdn.jsdelivr.net/gh/dashpilot/tiny-modal-web-component@1.0.1/dist/assets/vendor.js\"\u003e\u003c/script\u003e\n```\n\nThen just slot the modal-content within the web component, like so:\n\n    \u003ctiny-modal show=\"false\" id=\"modal1\"\u003e\n        This is some modal content\n    \u003c/tiny-modal\u003e\n\nTo launch the modal, just add a data-attribute of `data-show=\"{id-of-modal}\"` to your launch-button:\n\n    \u003cbutton data-show=\"modal1\"\u003eLaunch Modal\u003c/button\u003e\n\nTo prevent the modal content from flashing onto the screen on page load, add the following style to your CSS:\n\n    tiny-modal{\n        display: none;\n    }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashpilot%2Ftiny-modal-web-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashpilot%2Ftiny-modal-web-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashpilot%2Ftiny-modal-web-component/lists"}