{"id":15617999,"url":"https://github.com/omnedia/ngx-dotpattern","last_synced_at":"2025-10-05T03:51:19.039Z","repository":{"id":253470568,"uuid":"843544109","full_name":"omnedia/ngx-dotpattern","owner":"omnedia","description":"A simple component library to create a container with an pattern background.","archived":false,"fork":false,"pushed_at":"2024-12-12T01:41:05.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-15T02:44:12.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/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-16T18:46:33.000Z","updated_at":"2024-12-12T01:41:09.000Z","dependencies_parsed_at":"2024-08-22T17:29:46.628Z","dependency_job_id":null,"html_url":"https://github.com/omnedia/ngx-dotpattern","commit_stats":null,"previous_names":["omnedia/ngx-dotpattern"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-dotpattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-dotpattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-dotpattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-dotpattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omnedia","download_url":"https://codeload.github.com/omnedia/ngx-dotpattern/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248997087,"owners_count":21195797,"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.944Z","updated_at":"2025-10-05T03:51:13.986Z","avatar_url":"https://github.com/omnedia.png","language":"TypeScript","readme":"# ngx-dotpattern\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-dotpattern` is an Angular library that provides a customizable dot pattern background effect for your Angular components. The component creates a pattern of dots across the background, with the color and styling easily configurable, making it an eye-catching visual element for your application.\n\n## Features\n\n- Dot pattern background with customizable color.\n- Lightweight and easy to integrate as a standalone component.\n- Suitable for adding decorative backgrounds to your Angular components.\n\n## Installation\n\nInstall the library using npm:\n\n```bash\nnpm install @omnedia/ngx-dotpattern\n```\n\n## Usage\n\nImport the `NgxDotpatternComponent` in your Angular module or component:\n\n```typescript\nimport {NgxDotpatternComponent} from '@omnedia/ngx-dotpattern';\n\n@Component({\n  ...\n    imports:\n[\n  ...\n    NgxDotpatternComponent,\n],\n...\n})\n```\n\nUse the component in your template:\n\n```html\n\n\u003com-dotpattern\n  [patternColor]=\"'#ffcc00'\"\n  styleClass=\"custom-pattern-class\"\n\u003e\n  \u003cdiv\u003eYour content here\u003c/div\u003e\n\u003c/om-dotpattern\u003e\n```\n\n## API\n\n```html\n\n\u003com-dotpattern\n  [patternColor]=\"patternColor\"\n  styleClass=\"your-custom-class\"\n\u003e\n  \u003cng-content\u003e\u003c/ng-content\u003e\n\u003c/om-dotpattern\u003e\n```\n\n- patternColor (optional): The color of the dot pattern. Accepts any valid CSS color value (e.g., '#ffcc00', rgba(255, 204, 0, 0.8)).\n- styleClass (optional): A custom CSS class to apply to the component's wrapper element.\n\n## Example\n\n```html\n\n\u003com-dotpattern\n  [patternColor]=\"'#00ffcc'\"\n  styleClass=\"dotpattern-background\"\n\u003e\n  \u003cdiv class=\"content\"\u003eThis is a dot pattern background effect\u003c/div\u003e\n\u003c/om-dotpattern\u003e\n```\n\nThis will create a dot pattern background with cyan-colored dots across the background of the component.\n\n## Styling\n\nTo customize the appearance of the dot pattern or the container, use the styleClass input to apply your own CSS classes.\n\n```css\n.dotpattern-background {\n  background-color: #000;\n  height: 100vh;\n  position: relative;\n}\n\n.content {\n  position: relative;\n  z-index: 1;\n  color: white;\n  text-align: center;\n  padding-top: 50px;\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","funding_links":[],"categories":["Recently Updated","Third Party Components"],"sub_categories":["[Oct 01, 2024](/content/2024/10/01/README.md)","Animations"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnedia%2Fngx-dotpattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomnedia%2Fngx-dotpattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnedia%2Fngx-dotpattern/lists"}