{"id":20054377,"url":"https://github.com/divriots/orbiting-elements","last_synced_at":"2026-03-05T03:32:52.672Z","repository":{"id":41986267,"uuid":"452342749","full_name":"divriots/orbiting-elements","owner":"divriots","description":"Created with WebComponents.dev","archived":false,"fork":false,"pushed_at":"2022-04-20T13:07:23.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-02-19T11:38:28.113Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://webcomponents.dev/view/K4nq9IUNbvXxLX7C1Z0r","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/divriots.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":"2022-01-26T16:03:54.000Z","updated_at":"2022-04-20T12:30:11.000Z","dependencies_parsed_at":"2022-08-12T01:30:39.350Z","dependency_job_id":null,"html_url":"https://github.com/divriots/orbiting-elements","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/divriots/orbiting-elements","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divriots%2Forbiting-elements","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divriots%2Forbiting-elements/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divriots%2Forbiting-elements/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divriots%2Forbiting-elements/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divriots","download_url":"https://codeload.github.com/divriots/orbiting-elements/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divriots%2Forbiting-elements/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30108647,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:32:43.378Z","status":"ssl_error","status_checked_at":"2026-03-05T03:32:22.667Z","response_time":93,"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-13T12:40:13.938Z","updated_at":"2026-03-05T03:32:52.642Z","avatar_url":"https://github.com/divriots.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Orbiting Elements\n\n\u003cp\u003e\n  \u003ca href=\"https://divRIOTS.com\"\u003eBrought to you by\u003cbr/\u003e\u003c/a\u003e\n  \u003ca href=\"https://divRIOTS.com#gh-light-mode-only\"\u003e\n    \u003cimg width=\"150\" height=\"40\" src=\"https://divRIOTS.com/divriots.svg\" alt=\"‹div›RIOTS\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://divRIOTS.com#gh-dark-mode-only\"\u003e\n    \u003cimg width=\"150\" height=\"40\" src=\"https://divRIOTS.com/divriots-dark.svg\" alt=\"‹div›RIOTS\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nA Web Component that orbits a certain number of elements around a core element.\n\nFully flexible to add your own core element or orbiting elements, see demos for advanced use cases.\n\n[See landing page](https://divriots.github.io/orbiting-elements/)\n\n[See the full demos \u0026 code](https://webcomponents.dev/edit/K4nq9IUNbvXxLX7C1Z0r/stories/index.stories.js)\n\n\n## Usage\n\n```sh\nnpm i @divriots/orbiting-elements\n```\n\n```js\n// CE definition for orbiter-element / orbiting-element\nimport '@divriots/orbiting-elements/define';\n\n// In case you only want to define the orbiter element or orbiting element separately\nimport '@divriots/orbiting-elements/define-orbiter-element';\nimport '@divriots/orbiting-elements/define-orbiting-element';\n\n// Using the base classes (e.g. for extension)\nimport { OrbiterElement, OrbitingElement } '@divriots/orbiting-elements';\n```\n\n```html\n\u003corbiter-element\u003e\n  \u003csvg\u003e...\u003c/svg\u003e\n  \u003corbiting-element slot=\"orbiting\"\u003e\u003csvg\u003e...\u003c/svg\u003e\u003c/orbiting-element\u003e\n  \u003corbiting-element slot=\"orbiting\"\u003e\u003csvg\u003e...\u003c/svg\u003e\u003c/orbiting-element\u003e\n  \u003corbiting-element slot=\"orbiting\"\u003e\u003csvg\u003e...\u003c/svg\u003e\u003c/orbiting-element\u003e\n  \u003corbiting-element slot=\"orbiting\"\u003e\u003csvg\u003e...\u003c/svg\u003e\u003c/orbiting-element\u003e\n\u003c/orbiter-element\u003e\n```\n\n## Features\n\nThese features are specific to the orbiter-element or its assigned nodes (orbiting slottables).\n\n- Orbiting elements pause on hover, use `pause-all-on-hover` attribute on the `orbiter-element` to make every orbiting element pause when a single one gets hovered.\n- Use `direction` property (-1 or 1) on the orbiting elements to configure clockwise or counter-clockwise orbit direction.\n- Use `start-distributed` attribute on the `orbiter-element` to make all orbiting elements start off with equal spacing between one another.\n- Use `rotationSpeed` property on the orbiting elements to configure the rotation speed.\n- Use `angle` property on the orbiting elements to configure at which angle they start rotating.\n- Use `radian` property on the orbiting elements to set their current position to a different angle, this property is meant more as a private prop and must be in the range of 0 and 2 PI.\n\nThese features are specific to the `orbiting-element` but not coupled to the implementation details of the `orbiter-element`.\n\n- Use `float-speed` attribute on the `orbiting-element` to configure how fast it floats up and down.\n- Use `float-amount` attribute on the `orbiting-element` to configure how much it floats up and down.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivriots%2Forbiting-elements","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivriots%2Forbiting-elements","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivriots%2Forbiting-elements/lists"}