{"id":13821973,"url":"https://github.com/pie6k/react-ios-corners","last_synced_at":"2025-05-12T03:31:43.947Z","repository":{"id":65714205,"uuid":"313746727","full_name":"pie6k/react-ios-corners","owner":"pie6k","description":"iOS like border-radius corners react component","archived":false,"fork":false,"pushed_at":"2020-11-17T21:48:00.000Z","size":1456,"stargazers_count":257,"open_issues_count":2,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T23:42:48.611Z","etag":null,"topics":["corners","ios","radius","react","squircle"],"latest_commit_sha":null,"homepage":"https://pie6k.github.io/react-ios-corners/","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/pie6k.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}},"created_at":"2020-11-17T21:24:54.000Z","updated_at":"2025-03-07T20:04:13.000Z","dependencies_parsed_at":"2023-02-06T08:31:25.565Z","dependency_job_id":null,"html_url":"https://github.com/pie6k/react-ios-corners","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pie6k%2Freact-ios-corners","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pie6k%2Freact-ios-corners/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pie6k%2Freact-ios-corners/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pie6k%2Freact-ios-corners/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pie6k","download_url":"https://codeload.github.com/pie6k/react-ios-corners/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253668059,"owners_count":21944969,"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":["corners","ios","radius","react","squircle"],"created_at":"2024-08-04T08:01:36.483Z","updated_at":"2025-05-12T03:31:43.529Z","avatar_url":"https://github.com/pie6k.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"## React ios corners\n\ndemo - https://pie6k.github.io/react-ios-corners/\n\n![Demo gif](demo.gif)\n\nCreate ios like rounded corners (squircle). Comparsion with regular border radius:\n\n![Demo gif](demo-2.png)\n\n![Demo gif](demo-3.png)\n\nPlaying with different 'roundness' setting, you can achieve look similar to iOS home screen app icons etc.\n\nLinks\n\nhttps://en.wikipedia.org/wiki/Squircle\n\nhttps://medium.com/minimal-notes/rounded-corners-in-the-apple-ecosystem-1b3f45e18fcc (Highly recommending!)\n\n## Usage\n\n```tsx\nimport { Squircle } from 'react-ios-corners';\n\nfunction MyComponent() {\n  return \u003cSquircle\u003eHello\u003c/Squircle\u003e;\n}\n```\n\n## Properties\n\n```ts\nexport interface SquircleProps {\n  radius?: number | 'auto';\n  roundness?: number; // 0-1\n}\n```\n\nIt also accept any `div` property and passes it to the holder.\n\nNote: `box-shadow` will not be visible because under the hood squircle is based on css masks.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpie6k%2Freact-ios-corners","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpie6k%2Freact-ios-corners","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpie6k%2Freact-ios-corners/lists"}