{"id":15618022,"url":"https://github.com/omnedia/ngx-gridpattern","last_synced_at":"2025-04-15T02:44:07.078Z","repository":{"id":254702625,"uuid":"847313144","full_name":"omnedia/ngx-gridpattern","owner":"omnedia","description":"A simple component library to create a container with an pattern background.","archived":false,"fork":false,"pushed_at":"2024-12-12T01:40:58.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-27T03:36:20.255Z","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-25T13:21:37.000Z","updated_at":"2024-12-12T01:41:01.000Z","dependencies_parsed_at":"2024-08-29T04:48:18.832Z","dependency_job_id":null,"html_url":"https://github.com/omnedia/ngx-gridpattern","commit_stats":null,"previous_names":["omnedia/ngx-gridpattern"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-gridpattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-gridpattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-gridpattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-gridpattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omnedia","download_url":"https://codeload.github.com/omnedia/ngx-gridpattern/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248997080,"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:54.353Z","updated_at":"2025-04-15T02:44:07.067Z","avatar_url":"https://github.com/omnedia.png","language":"TypeScript","readme":"# ngx-gridpattern\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-gridpattern` is an Angular library that provides a customizable grid pattern background. The component allows for the easy customization of grid and gradient colors, making it a great addition for adding visually engaging backgrounds to sections of your Angular application.\n\n## Features\n\n- Customizable SVG grid pattern with adjustable colors.\n- Gradient background that can be customized independently of the grid pattern.\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-gridpattern\n```\n\n## Usage\n\nImport the `NgxGridpatternComponent` in your Angular module or component:\n\n```typescript\nimport {NgxGridpatternComponent} from '@omnedia/ngx-gridpattern';\n\n@Component({\n  ...\n    imports:\n[\n  ...\n    NgxGridpatternComponent,\n],\n...\n})\n```\n\nUse the component in your template:\n\n```html\n\n\u003com-gridpattern [gridColor]=\"'rgba(255, 255, 255, 0.5)'\" [gradientColor]=\"'#ff69b4'\" styleClass=\"custom-grid\"\u003e\n  \u003ch1\u003eWelcome to Grid Patterns\u003c/h1\u003e\n\u003c/om-gridpattern\u003e\n```\n\n## How It Works\n\n- Grid and Gradient Colors: The grid and gradient colors are independently adjustable via the gridColor and gradientColor inputs. This allows for a wide range of styling possibilities.\n- Global and Custom Styling: The .om-gridpattern container can be styled globally or with a custom styleClass. The content inside the component will retain its original styling.\n\n## API\n\n```html\n\n\u003com-gridpattern\n  [gridColor]=\"gridColor\"\n  [gradientColor]=\"gradientColor\"\n  [smallGrid]=\"smallGrid\"\n  styleClass=\"your-custom-class\"\n\u003e\n  \u003cng-content\u003e\u003c/ng-content\u003e\n\u003c/om-gridpattern\u003e\n```\n\n- `gridColor` (optional): The color of the grid lines. Accepts any valid CSS color value (e.g., 'rgba(255, 255, 255, 0.5)').\n- `gradientColor` (optional): The background color of the gradient overlay. Accepts any valid CSS color value (e.g., '#ff69b4').\n- `smallGrid` (optional): Makes the grid columns smaller. Defaults to false.\n- `styleClass` (optional): A custom CSS class to apply to the .om-gridpattern container for additional styling.\n\n## Example\n\n```html\n\n\u003com-gridpattern [gridColor]=\"'rgba(0, 255, 255, 0.4)'\" [gradientColor]=\"'#000000'\" styleClass=\"grid-container\"\u003e\n  \u003cdiv class=\"content\"\u003e\n    \u003cp\u003eGrid pattern with customizable colors\u003c/p\u003e\n  \u003c/div\u003e\n\u003c/om-gridpattern\u003e\n```\n\nThis will create a grid background with cyan grid lines and a black gradient overlay.\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)","Layout"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnedia%2Fngx-gridpattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomnedia%2Fngx-gridpattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnedia%2Fngx-gridpattern/lists"}