@nrk/core-icons
Advanced tools
Comparing version 6.0.2 to 6.0.3
@@ -84,2 +84,3 @@ export declare const Nrk360: React.FunctionComponent<React.SVGProps<SVGElement>> | ||
export declare const NrkLogoNrkP3Urort: React.FunctionComponent<React.SVGProps<SVGElement>> | ||
export declare const NrkLogoNrkP3X: React.FunctionComponent<React.SVGProps<SVGElement>> | ||
export declare const NrkLogoNrkP3: React.FunctionComponent<React.SVGProps<SVGElement>> | ||
@@ -95,3 +96,2 @@ export declare const NrkLogoNrkRadio: React.FunctionComponent<React.SVGProps<SVGElement>> | ||
export declare const NrkLogoNrk: React.FunctionComponent<React.SVGProps<SVGElement>> | ||
export declare const NrkLogoP3X: React.FunctionComponent<React.SVGProps<SVGElement>> | ||
export declare const NrkLogoYr: React.FunctionComponent<React.SVGProps<SVGElement>> | ||
@@ -98,0 +98,0 @@ export declare const NrkLongreadActive: React.FunctionComponent<React.SVGProps<SVGElement>> |
@@ -6,3 +6,3 @@ { | ||
"author": "NRK <opensource@nrk.no> (https://www.nrk.no/)", | ||
"version": "6.0.2", | ||
"version": "6.0.3", | ||
"license": "MIT", | ||
@@ -9,0 +9,0 @@ "main": "core-icons.js", |
# @nrk/core-icons | ||
> Icons for web services and native apps. | ||
> Icon and logo kit providing a consistent and predictable user experience across platforms and NRK services | ||
## Documentation | ||
https://static.nrk.no/core-icons/latest/ | ||
## Installation | ||
For installation and usage read the [documentation](https://static.nrk.no/core-icons/latest/). | ||
[Download the Sketch library](sketch://add-library?url=https%3A%2F%2Fstatic.nrk.no%2Fcore-icons%2Flatest%2Fcore-icons.rss) for sketching, [individual SVGs](https://static.nrk.no/core-icons/latest/index.html#icons) for Android, [PDFs](https://static.nrk.no/core-icons/latest/index.html#icons) for iOS. All icons follow [BEM naming conventions](http://getbem.com/) and are prefixed with `nrk-` to play nice with existing code. | ||
### Using NPM | ||
```bash | ||
npm install @nrk/core-icons | ||
``` | ||
All icons are exposed individually as exported constants (enabling [tree shaking](https://medium.com/@netxm/what-is-tree-shaking-de7c6be5cadd)): | ||
```js | ||
import { nrkLogoNrk } from '@nrk/core-icons' // Vanilla JS, String | ||
import { NrkLogoNrk } from '@nrk/core-icons/jsx' // React, ReactElement | ||
<NrkLogoNrk /> // Render a NRK logo | ||
<NrkLogoNrk style={{color: 'red'}} /> // Additional props will be used for attributes | ||
``` | ||
### Using static | ||
Recommended only for prototyping. | ||
```html | ||
<script async src="https://static.nrk.no/core-icons/major/6/core-icons.min.js"></script> | ||
``` | ||
## Local development | ||
@@ -9,0 +37,0 @@ First clone `@nrk/core-icons` and install its dependencies: |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1088758
61