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

@lunit/design-system-logo

Package Overview
Dependencies
Maintainers
7
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lunit/design-system-logo

Lunit Design System Logo

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
42
increased by13.51%
Maintainers
7
Weekly downloads
 
Created
Source

This package provides logos used in the Lunit projects.

Development

  • yarn dev: Generates logo components and builds the logos.
  • yarn storybook: Running the storybook.

Installation

Install the package in your project directory with:

// with npm
npm install @lunit/design-system-logo

// with yarn
yarn add @lunit/design-system-logo

Usage

We recommend that you use path imports(option 1). It can avoid pulling in unused modules.

// option 1 size: 11.7k (gzipped: 4.6k)
import Lunit from "@lunit/design-system-logo/Lunit"
// option 2 size: 578.1k (gzipped: 87.1k)
import { Lunit } from "@lunit/design-system-logo"

const Logo = () => (
  <Lunit style={{ height: "20px" }} /> // only svg file
)

export default Logo;

Favicon

If the public directory exists, The favicon files are saved in the public directory.

// public/index.html
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <link rel="icon" href="%PUBLIC_URL%/favicon.ico" sizes="any" />
    <link rel="icon" href="%PUBLIC_URL%/favicon.svg" type="image/svg+xml" />
    <link rel="apple-touch-icon" href="%PUBLIC_URL%/apple-touch-icon.png" />
    <title>Lunit</title>
  </head>
  <body></body>
</html>

If your project uses CRA, insert the code shown above into the HTML file.

FAQs

Package last updated on 07 Sep 2022

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