🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more
Socket
Book a DemoInstallSign in
Socket

@serendie/symbols

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serendie/symbols

300+ SVG icons as part of Serendie Design System by Mitsubishi Electric

npmnpm
Version
0.1.1
Version published
Maintainers
3
Created
Source

Serendie Symbols

Serendie Symbols

GitHub NPM Version X

Serendie Symbolsは、デジタルプロダクトのなかで汎用性高く使える、Serendieらしい300種類以上のアイコン集です。Serendie Design Systemの一部として提供されています。

Docs

ドキュメントサイトでは、Serendie Symbolsの設計思想をまとめています。アイコンの一覧や検索はこちらを参照してください。

Usage

Serendie SymbolsはReact環境を前提としています。

import { SerendieSymbol } from "@serendie/symbols";

<SerendieSymbol name="home" size={24} variant="filled" color="blue" />;

Props

  • name: アイコン名を指定します。こちらの一覧を参照してください。
  • variant?: アイコンには線outlinedと塗りfilledの2種類があります。いずれかを指定してください。
  • size?: アイコンのサイズを指定します。SVGのwidthheightに適用されます。
  • color?: アイコンの色を指定します。SVGのcolor属性に適用されます。
  • その他のSVGのプロパティはコンポーネントを包括しているSVG要素に適用されます

Development

scripts/generateSymbolNames.js

  • assets/outlinedassets/filledにあるアイコンの名前を生成するスクリプト
  • ビルド時に実行されsrc/generated/symbolNames.tsを更新します
  • npm run generate-symbol-namesで手動実行することもできます

License

MITライセンスの下で配布されています。 詳しくはLICENSEを参照してください。

FAQs

Package last updated on 06 Apr 2025

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