{"id":24807711,"url":"https://github.com/leechael/lit-squircle","last_synced_at":"2026-04-25T12:32:22.110Z","repository":{"id":197934313,"uuid":"699338287","full_name":"Leechael/lit-squircle","owner":"Leechael","description":"Squircle, the Web Component implementation.","archived":false,"fork":false,"pushed_at":"2023-10-22T09:05:18.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-03T04:09:56.612Z","etag":null,"topics":["lit-element","squircle","web-components"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/lit-squircle","language":"TypeScript","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/Leechael.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-10-02T12:46:00.000Z","updated_at":"2023-10-31T14:12:22.000Z","dependencies_parsed_at":"2025-01-30T09:38:16.185Z","dependency_job_id":null,"html_url":"https://github.com/Leechael/lit-squircle","commit_stats":null,"previous_names":["leechael/lit-squircle"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Leechael/lit-squircle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leechael%2Flit-squircle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leechael%2Flit-squircle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leechael%2Flit-squircle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leechael%2Flit-squircle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Leechael","download_url":"https://codeload.github.com/Leechael/lit-squircle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leechael%2Flit-squircle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32262800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"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":["lit-element","squircle","web-components"],"created_at":"2025-01-30T09:27:26.112Z","updated_at":"2026-04-25T12:32:22.083Z","avatar_url":"https://github.com/Leechael.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Squircle, the Web Component implementation\n\nThis is an implementation of Squircle, build on top of [figma-squircle](https://figma-squircle.vercel.app/).\n\nThe good parts of this implementation:\n\n- Build with Lit and export as Web Component, so you can use it in any standard web browser without any JS framework.\n- It's a container element and adjusting size dynamically like normal HTML block element. It listen to the resize event, too.\n\nLimitation:\n\n- No border supported. Need further work on the SVG and this is a tiny holiday project.\n- No box shadow supported.\n- Partial \u0026 buggy gradient background supported.\n- Package size. not yet optimizing the final artifact size.\n\n## CAUTION!\n\nNo yet production ready. If you want a more flexible implementation, consider use\n[figma-squircle](https://figma-squircle.vercel.app/) directly.\n\n## Usage\n\nFor pure HTML page, put this line in `\u003chead /\u003e`:\n\n```html\n\u003cscript type=\"module\" src=\"https://unpkg.com/lit-squircle/dist/lit-squircle.js\" async\u003e\u003c/script\u003e\n```\n\nAnd you can use it on page:\n\n```html\n\u003cx-squircle radius=\"32\"\u003e\n  \u003ca href=\"#\"\u003eMenu 1\u003c/a\u003e\n  \u003ca href=\"#\"\u003eMenu 2\u003c/a\u003e\n  \u003ca href=\"#\"\u003eMenu 3\u003c/a\u003e\n  \u003ca href=\"#\"\u003eMenu 4\u003c/a\u003e\n\u003c/x-squircle\u003e\n```\n\n## Examples\n\nCheck the `index.html` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleechael%2Flit-squircle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleechael%2Flit-squircle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleechael%2Flit-squircle/lists"}