Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gyldendal/kobber-icons

Package Overview
Dependencies
Maintainers
0
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gyldendal/kobber-icons

Icons can be used as react components or as web components. TypeScript definitions are included.

  • 0.3.17
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
21
decreased by-87.86%
Maintainers
0
Weekly downloads
 
Created
Source

SVG icons

Icons can be used as react components or as web components.
TypeScript definitions are included.

Installation

Run one of the following commands to add @gyldendal/kobber-icons to your project:

npm install @gyldendal/kobber-icons
yarn add @gyldendal/kobber-icons

You will also need to install react and react-dom

Usage

Icons can be imported as react components or as web components.

As a react component:

import { ProgressBar } from "@gyldendal/kobber-icons/react";
const App = () => <ProgressBar />;

As a custom element:

<script>
  import "@gyldendal/kobber-icons/web-components";
</script>
<kobber-progress-bar />

As a web component:

import { ProgressBar } from "@gyldendal/kobber-icons/web-components";
const progressBar = new ProgressBar();
document.body.appendChild(progressBar);

CSS

CSS can be imported in JavaScript if supported by your bundler:

import "@gyldendal/kobber-base/css/components.css";
Kanskje vi bør inkludere vår egen css baseline i stedet for dette? ↓
Slik som https://mui.com/material-ui/react-css-baseline/

kobber-components assumes that box-sizing is set to border-box:

html {
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

We recommend using normalize.css or something similar to normalize browser styles.

FAQs

Package last updated on 26 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc