{"id":26501230,"url":"https://github.com/polight/legoland","last_synced_at":"2026-05-16T21:36:03.975Z","repository":{"id":96920153,"uuid":"255070208","full_name":"Polight/legoland","owner":"Polight","description":"A set of HTML web-components for daily usage.","archived":false,"fork":false,"pushed_at":"2020-04-13T14:07:19.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-20T16:44:38.115Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Polight.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":"2020-04-12T11:43:25.000Z","updated_at":"2020-04-13T14:08:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"16bcbb5c-9b59-4168-a707-42d3c2d03a87","html_url":"https://github.com/Polight/legoland","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Polight/legoland","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polight%2Flegoland","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polight%2Flegoland/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polight%2Flegoland/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polight%2Flegoland/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Polight","download_url":"https://codeload.github.com/Polight/legoland/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polight%2Flegoland/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33119653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"last_error":"SSL_read: 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":"2025-03-20T16:37:35.329Z","updated_at":"2026-05-16T21:36:03.969Z","avatar_url":"https://github.com/Polight.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LegoLand\n\nA set of basic Web-Components usable anywhere with no installation.\n\nThe webcomponents available are about layout and widget inspired from https://csslayout.io/patterns.\n\nAs of today the following components are available:\n- [Safe HTML](./bricks/safe-html.html): integrate dynamic unescaped HTML string\n- [Stacked Cards](./bricks/stacked-cards.html): UI cards display\n- [Holy Grail](./bricks/holy-grail.html): UI layout with sticky footer and header\n\n\n## Usage\n\nThe only thing to do is to include the components and use them; it's just HTML!\n\nUse the webcomponents in your HTML page:\n\n```html\n\u003cscript type=\"module\" src=\"https://cdn.jsdelivr.net/gh/polight/legoland/dist/index.js\"\u003e\u003c/script\u003e\n\n\u003cstacked-cards angle=\"3\"\u003e\n  \u003cp\u003e1\u003c/p\u003e\n  \u003cp\u003e2\u003c/p\u003e\n  \u003cp\u003e3\u003c/p\u003e\n\u003c/stacked-cards\u003e\n\n\u003c!-- Tune your CSS --\u003e\n\u003cstyle\u003e\n  stacked-cards p {\n    width: 200px;\n    height: 300px;\n    border: 2px solid #888;\n  }\n\u003c/style\u003e\n```\n\n## Advanced Usage\n\nYou may include all components calling https://cdn.jsdelivr.net/gh/polight/legoland/dist/index.js.\n\nIf you'd rather pick a selection of components you can include the script\ndirectly from _/dist_. Eg: `\u003cscript type=\"module\" src=\"https://cdn.jsdelivr.net/gh/polight/legoland/dist/safe-html.js\"\u003e\u003c/script\u003e` to call the _safe-html_ component.\n\n\n## Building Legoland\n\n1. install the lego dependency: `npm i`\n2. create your own component in the bricks folder (view [Lego](https://github.com/polight/lego) doc)\n3. build it: `npm run build` (or `npm run dev` if you want an auto-refresh)\n\n\n## About\n\nThese components were originally written in [Lego](https://github.com/polight/lego).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolight%2Flegoland","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolight%2Flegoland","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolight%2Flegoland/lists"}