{"id":15725826,"url":"https://github.com/ndrean/vanjs-dialog-modal","last_synced_at":"2025-06-21T12:39:42.369Z","repository":{"id":172171481,"uuid":"648928822","full_name":"ndrean/vanjs-dialog-modal","owner":"ndrean","description":"Modal component \u0026 routing with Van.js","archived":false,"fork":false,"pushed_at":"2023-08-15T16:48:45.000Z","size":112,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-13T12:49:08.873Z","etag":null,"topics":["universal-router","vanjs"],"latest_commit_sha":null,"homepage":"https://van-modal.surge.sh","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/ndrean.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":"2023-06-03T08:26:23.000Z","updated_at":"2024-08-30T16:11:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"0a37c5af-eda9-42d9-8399-d1d8887ef3ac","html_url":"https://github.com/ndrean/vanjs-dialog-modal","commit_stats":null,"previous_names":["ndrean/van-explore","ndrean/van-dialog-modal"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ndrean/vanjs-dialog-modal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndrean%2Fvanjs-dialog-modal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndrean%2Fvanjs-dialog-modal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndrean%2Fvanjs-dialog-modal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndrean%2Fvanjs-dialog-modal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndrean","download_url":"https://codeload.github.com/ndrean/vanjs-dialog-modal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndrean%2Fvanjs-dialog-modal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261126206,"owners_count":23113290,"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":["universal-router","vanjs"],"created_at":"2024-10-03T22:24:26.685Z","updated_at":"2025-06-21T12:39:37.352Z","avatar_url":"https://github.com/ndrean.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Explore Van.js\n\nA [VanJS](https://vanjs.org/) powered demo app, with routing. No CSS-in-JS.\n\n\u003chttps://githubbox.com/ndrean/vanjs-dialog-modal\u003e\n\nMainly featuring a **Modal** component (`\u003cDialog\u003e`) heavily following [this model](https://github.com/FredericHeem/van-kit).\n\n\u003e To enable the \"click-out\", you need to pass an ID to the dialog.\n\n## Features\n\n- Navigation powered by [Universal Router](https://github.com/kriasoft/universal-router) with async loading.\n- Modal (`\u003cdialog\u003e`) components with forms.\n- Example with `\u003cSelect\u003e` and `\u003cDatalist\u003e` with **autocomplete**.\n- The state is passed into the `context`object, thus updated on each component update (new navigation page).\n- No CSS in JS.\n- Vite bundled: 5.5k +\n\n## Display\n\n- The build is deployed with [Surge](https://surge.sh/) at \u003chttps://van-modal.surge.sh\u003e\n\n- To use Codesanbox, insert \"box\" in the current url: \u003chttps://githubbox.com/ndrean/vanjs-dialog-modal\u003e\n\n- The Dev mode is powered by Vite. To display on mobile on the same WIFI: server it, and open it.\n\n```bash\nnpm run build\nhttp-server ./dist -b 0.0.0.0 -p 8080\n```\n\nand navigate with the mobile to \u003chttp://127.0.0.1:8080\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndrean%2Fvanjs-dialog-modal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndrean%2Fvanjs-dialog-modal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndrean%2Fvanjs-dialog-modal/lists"}