# ng-inline-svg-g

> NgInlineSvgG is lightweight Angular component for inserting svg file inside your template that allow you to change style easily

Latest version **1.0.2** (published 2023-01-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install ng-inline-svg-g
pnpm add ng-inline-svg-g
yarn add ng-inline-svg-g
bun add ng-inline-svg-g
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-01-15 |
| First published | 2023-01-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 26.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Hamidreza Mohtashami |
| Maintainers | h.mohtashami |
| Keywords | angular, inline-svg, svg, typescript |

## Links

- npm: https://www.npmjs.com/package/ng-inline-svg-g
- Repository: https://github.com/H-mohtashami/ng-inline-svg
- Homepage: https://github.com/H-mohtashami/ng-inline-svg#readme
- Issues: https://github.com/H-mohtashami/ng-inline-svg/issues
- npm.io page: https://npm.io/package/ng-inline-svg-g

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^2.3.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2023-01-15
- 1.0.1 — 2023-01-15
- 1.0.0 — 2023-01-15
- 0.0.1 — 2023-01-11

## README

# NgInlineSvgG
NgInlineSvgG is lightweight Angular component for inserting svg file inside your template that allow you to change style easily  
# Installation
```bash
npm i ng-inline-svg-g
```
# Usage

Just need to add NgInlineSvgGModule to your list of module imports : 
```bash
import { NgInlineSvgGModule } from 'ng-inline-svg-g';

@NgModule({
declarations: [AppComponent],
imports: [BrowserModule, NgInlineSvgGModule],
bootstrap: [AppComponent]
})
class AppModule {}
```
Then you can use it in your templates: 

```bash
@Component({
selector: 'app',
template: `
<ng-inline-svg [src]="'/img/image.svg'"></ng-inline-svg>
`
})
export class AppComponent {}
```

---
_Source: https://npm.io/package/ng-inline-svg-g · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
