Nutri-score Web Component
Link to it by adding the following to your
x.x.x is the specific version of the component, you should use specifc versions to prevent against breaking changes.
<nutri-score score="A"></nutri-score> <nutri-score score="A" vertical></nutri-score>
Integrating with a Framework
This Web Component is build with Stencil to compile the component into Web Components. And since they can be used within frameworks or in standard HTML websites the best resource to read is the Stencil documentation regarding framework integration.