Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@aybolit/material
Advanced tools
Aybolit Material is a set of the web components inspired by [Material Design](https://material.io).
Aybolit Material is a set of the web components inspired by Material Design.
Aybolit Material is based on Matter, a library for creating Material Design Components in pure CSS. The reason to build on top of Matter is its custom CSS properties based architecture, which works with Web Components really nice.
The styles from Matter are preserved as much as possible, but the components variants and features, e.g. button types, should be configured via HTML attributes instead of CSS classes, in order to not affect the end user CSS.
Aybolit Material is available as npm package:
# with npm
npm i @aybolit/material --save
# with yarn
yarn add @aybolit/material
Import either all or individual components:
// all components
import '@aybolit/material';
// button only
import { AbmButton } from '@aybolit/material';
You can also use get Aybolit Material from the CDN:
<script src="https://unpkg.com/@aybolit/material@latest?module" type="module"></script>
<!-- Buttons -->
<abm-button>Text</abm-button>
<abm-button theme="outlined">Outlined</abm-button>
<abm-button theme="contained">Contained</abm-button>
<!-- Checkbox -->
<abm-checkbox>Unchecked</abm-checkbox>
<abm-checkbox checked>Checked</abm-checkbox>
<abm-checkbox indeterminate>Indeterminate</abm-checkbox>
<!-- Progress (indeterminate) -->
<abm-progress></abm-progress>
<!-- Progress (determinate) -->
<abm-progress value="50" max="100"></abm-progress>
<!-- Range -->
<abm-range min="0" max="10" value="5"></abm-range>
<!-- Switch -->
<abm-switch>Unchecked</abm-switch>
<abm-switch checked>Checked</abm-switch>
The following custom CSS properties are available for styling.
Property | Description | Fallback |
---|---|---|
--abm-primary-rgb | Primary color rgb value | 33, 150, 243 |
--abu-onprimary-rgb | On primary color rgb value | 255, 255, 255 |
--abu-surface-rgb | Surface color rgb value | 255, 255, 255 |
--abu-onsurface-rgb | On surface color rgb value | 0, 0, 0 |
FAQs
Aybolit Material is a set of the web components inspired by [Material Design](https://material.io).
The npm package @aybolit/material receives a total of 0 weekly downloads. As such, @aybolit/material popularity was classified as not popular.
We found that @aybolit/material demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.