{"id":15618002,"url":"https://github.com/omnedia/ngx-aurora","last_synced_at":"2025-10-30T02:41:58.804Z","repository":{"id":254615711,"uuid":"847075291","full_name":"omnedia/ngx-aurora","owner":"omnedia","description":"A simple component library to create a container with an aurora background.","archived":false,"fork":false,"pushed_at":"2024-12-12T01:41:21.000Z","size":9,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-27T23:07:34.569Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"SCSS","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/omnedia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-08-24T19:20:39.000Z","updated_at":"2025-01-28T21:17:27.000Z","dependencies_parsed_at":"2025-01-26T18:14:27.190Z","dependency_job_id":null,"html_url":"https://github.com/omnedia/ngx-aurora","commit_stats":null,"previous_names":["omnedia/ngx-aurora"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-aurora","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-aurora/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-aurora/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-aurora/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omnedia","download_url":"https://codeload.github.com/omnedia/ngx-aurora/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244885530,"owners_count":20526293,"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":[],"created_at":"2024-10-03T08:00:54.017Z","updated_at":"2025-10-30T02:41:58.566Z","avatar_url":"https://github.com/omnedia.png","language":"SCSS","funding_links":[],"categories":["Recently Updated","Third Party Components"],"sub_categories":["[Oct 01, 2024](/content/2024/10/01/README.md)","Animations"],"readme":"# ngx-aurora\n\n\u003ca href=\"https://ngxui.com\" target=\"_blank\" style=\"display: flex;gap: .5rem;align-items: center;cursor: pointer; padding: 0 0 0 0; height: fit-content;\"\u003e\n  \u003cimg src=\"https://ngxui.com/assets/img/ngxui-logo.png\" style=\"width: 64px;height: 64px;\"\u003e\n\u003c/a\u003e\n\nThis Library is part of the NGXUI ecosystem. \u003cbr\u003e\nView all available components at https://ngxui.com\n\n`@omnedia/ngx-aurora` is an Angular library that creates a mesmerizing aurora background effect. This component provides an animated, gradient-based light effect with customizable inversion and two different animation styles. It's a perfect addition for enhancing the visual aesthetics of your Angular application.\n\n## Features\n\n- Animated aurora light effect with customizable inversion.\n- Supports two distinct animation styles.\n- Easy to integrate as a standalone component.\n\n## Installation\n\nInstall the library using npm:\n\n```bash\nnpm install @omnedia/ngx-aurora\n```\n\n## Usage\n\nImport the `NgxAuroraComponent` in your Angular module or component:\n\n```typescript\nimport {NgxAuroraComponent} from '@omnedia/ngx-aurora';\n\n@Component({\n  ...\n    imports:\n[\n  ...\n    NgxAuroraComponent,\n],\n...\n})\n```\n\nUse the component in your template:\n\n```html\n\n\u003com-aurora [invert]=\"true\" [versionTwo]=\"false\" styleClass=\"custom-aurora\"\u003e\n  \u003ch1\u003eYour Content Here\u003c/h1\u003e\n\u003c/om-aurora\u003e\n```\n\n## How It Works\n\n- Inversion and Animation Versions: The aurora effect can be inverted by using the invert input, and a different animation style can be applied using the versionTwo input.\n- Global and Custom Styling: The .om-aurora container can be styled globally or with a custom styleClass. The component automatically applies the aurora background effect to its container, while maintaining the flexibility to style the container as needed.\n\n## API\n\n```html\n\n\u003com-aurora\n  [invert]=\"invert\"\n  [versionTwo]=\"versionTwo\"\n  styleClass=\"your-custom-class\"\n\u003e\n  \u003cng-content\u003e\u003c/ng-content\u003e\n\u003c/om-aurora\u003e\n```\n\n- `invert` (optional): A boolean to toggle the inversion of the aurora effect. When true, the aurora colors are inverted. Defaults to false.\n- `versionTwo` (optional): A boolean to toggle the second version of the aurora animation. When true, a different set of gradients is applied. Defaults to false.\n- `styleClass` (optional): A custom CSS class to apply to the .om-aurora container for additional styling.\n\n## Example\n\n```html\n\n\u003com-aurora [invert]=\"false\" [versionTwo]=\"true\" styleClass=\"custom-aurora-style\"\u003e\n  \u003cdiv class=\"inner-content\"\u003e\n    \u003ch2\u003eWelcome to the Aurora Experience\u003c/h2\u003e\n  \u003c/div\u003e\n\u003c/om-aurora\u003e\n```\n\nThis will create an aurora background with the second version of the animation and no inversion.\n\n## Styling\n\n`.om-aurora`\n\n- This is the main container for the aurora effect. You can apply global or custom styles using the styleClass input. The .om-aurora class manages the overall background, ensuring that the effect covers the entire container.\n\n### Example of Global and Custom Styling\n\nIn this example, the aurora container is customized with additional padding and background color:\n\n```html\n\n\u003com-aurora styleClass=\"custom-aurora-background\"\u003e\n  \u003cdiv class=\"inner-content\"\u003e\n    \u003ch2\u003eAurora Background with Custom Styling\u003c/h2\u003e\n  \u003c/div\u003e\n\u003c/om-aurora\u003e\n```\n\n```css\n.custom-aurora-background {\n  background-color: #1e1e1e;\n  padding: 2rem;\n  border-radius: 10px;\n}\n\n.inner-content {\n  text-align: center;\n  color: white;\n}\n```\n\n## Contributing\n\nContributions are welcome. Please submit a pull request or open an issue to discuss your ideas.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnedia%2Fngx-aurora","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomnedia%2Fngx-aurora","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnedia%2Fngx-aurora/lists"}