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

@oiz/stzh-components

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oiz/stzh-components

STZH Web Components Library

  • 1.4.0-npmjstest
  • npm
  • Socket score

Version published
Weekly downloads
253
decreased by-49.09%
Maintainers
2
Weekly downloads
 
Created
Source

Built With Stencil

STZH Web Components

This is a project for building standalone Web Components using Stencil.

Getting Started

First install the NPM dependencies:

npm install

To start developing with hot module reloading execute the following:

npm run start

To build a static storybook that can be deployed:

npm run build

To run the unit tests for the components, run:

npm test

Assets

Icons

Place icons inside /assets/icons/mono folder. Icons should be inside a square viewport (usually 24x24px).

While developing, the icon sprite will be generated automatically. The preview will only be updated on build.

Fonts

Font files are located inside the /assets/fonts folder. If you want to add a new font file:

  • Add new font file to fonts folder /assets/fonts
  • Run npm run fonts:build (this will generate the font files and place it inside the src/components/stzh-fonts/assets/fonts component)
  • Add font to src/components/stzh-fonts/assets/fonts.css file
  • Restart the project

Media

Example media files like logos or placeholder images can be added to the /static/media folder.

Naming Components

All components have to start with the prefix stzh-.

FAQs

Package last updated on 27 Oct 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