{"id":15617996,"url":"https://github.com/omnedia/ngx-shine-border","last_synced_at":"2025-09-04T00:35:00.683Z","repository":{"id":253096114,"uuid":"842414784","full_name":"omnedia/ngx-shine-border","owner":"omnedia","description":"A simple component library to create a container with an animated border. ","archived":false,"fork":false,"pushed_at":"2024-12-12T01:40:53.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-26T23:16:42.149Z","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-14T09:56:23.000Z","updated_at":"2025-01-28T11:26:12.000Z","dependencies_parsed_at":"2024-08-14T12:54:50.585Z","dependency_job_id":"c3ae7c39-c697-4c64-80fd-ea316811c74e","html_url":"https://github.com/omnedia/ngx-shine-border","commit_stats":null,"previous_names":["omnedia/ngx-shine-border"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-shine-border","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-shine-border/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-shine-border/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-shine-border/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omnedia","download_url":"https://codeload.github.com/omnedia/ngx-shine-border/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244885531,"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:53.892Z","updated_at":"2025-03-21T23:43:32.886Z","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-shine-border\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-shine-border` is an Angular library that provides a dynamic and customizable animated border effect for Angular components. This component allows you to create a glowing, animated border that can be customized in terms of colors, border radius, and animation duration.\n\n## Features\n\n- Animated border effect with customizable gradient colors.\n- Flexible configuration for border radius, border color, and animation speed.\n- Lightweight and easy to integrate as a standalone component.\n\n## Installation\n\nInstall the library using npm:\n\n```bash\nnpm install @omnedia/ngx-shine-border\n```\n\n## Usage\n\nImport the `NgxShineBorderComponent` in your Angular module or component:\n\n```typescript\nimport {NgxShineBorderComponent} from '@omnedia/ngx-shine-border';\n\n@Component({\n  ...\n    imports:\n[\n  ...\n    NgxShineBorderComponent,\n],\n...\n})\n```\n\nUse the component in your template:\n\n```html\n\n\u003com-shine-border\n  [gradientColorStart]=\"'#ffaa40'\"\n  [gradientColorMiddle]=\"'#fe8fb5'\"\n  [gradientColorEnd]=\"'#9c40ff'\"\n  [borderRadius]=\"'0.5rem'\"\n  [borderColor]=\"'hsl(240, 3.9%, 15.1%)'\"\n  [animationDuration]=\"'12s'\"\n  styleClass=\"custom-class\"\n\u003e\n  \u003cp\u003eYour content here\u003c/p\u003e\n\u003c/om-shine-border\u003e\n```\n\n## API\n\n```html\n\n\u003com-shine-border\n  [gradientColorStart]=\"colorFrom\"\n  [gradientColorMiddle]=\"'colorMiddle'\"\n  [gradientColorEnd]=\"colorTo\"\n  [borderRadius]=\"borderRadius\"\n  [borderColor]=\"borderColor\"\n  [animationDuration]=\"animationDuration\"\n  styleClass=\"your-custom-class\"\n\u003e\n  \u003cng-content\u003e\u003c/ng-content\u003e\n\u003c/om-shine-border\u003e\n```\n\n- gradientColorStart: (optional) The starting color of the border's gradient.\n- gradientColorMiddle: (optional) The middle color of the border's gradient.\n- gradientColorEnd: (optional) The ending color of the border's gradient.\n- borderRadius: (optional) The border radius of the component. Accepts any valid CSS border-radius value.\n- borderColor: (optional) The color of the border.\n- animationDuration: (optional) The duration of the border animation. Accepts any valid CSS time value (e.g., 12s).\n- styleClass: (optional) A custom CSS class to apply to the component's wrapper element.\n\n## Example\n\n```html\n\n\u003com-shine-border\n  [gradientColorStart]=\"'#ff7f50'\"\n  [gradientColorMiddle]=\"'#fe8fb5'\"\n  [gradientColorEnd]=\"'#6495ed'\"\n  [borderRadius]=\"'1rem'\"\n  [borderColor]=\"'#2f4f4f'\"\n  [animationDuration]=\"'8s'\"\n  styleClass=\"example-class\"\n\u003e\n  \u003ch1\u003eHighlighted Heading\u003c/h1\u003e\n\u003c/om-shine-border\u003e\n```\n\nThis will create a glowing, animated border around the heading with a custom gradient, border radius, and animation speed.\n\n## Styling\n\nTo customize the appearance of the border or container, use the styleClass input to apply your own CSS classes.\n\n```css\n.example-class {\n  padding: 10px;\n  background-color: #f0f0f0;\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-shine-border","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomnedia%2Fngx-shine-border","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnedia%2Fngx-shine-border/lists"}