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.
signal-ui
Advanced tools
> IMPORTANT: Signal UI is a work in progress and subject to major changes > until 1.0 release.
IMPORTANT: Signal UI is a work in progress and subject to major changes until 1.0 release.
Signal UI is build using Web Component and Lit Element.
Alpha components are in-development and may have many frequent breaking changes.
Beta components are mostly polished and ready for use.
Stable components are reviewed, documented, and API complete.
No | Component | Alpha | Beta | Stable |
---|---|---|---|---|
1 | Banner | ✅ | 🟡 | ❌ |
2 | Bottom Sheet & Modal | ❌ | ❌ | ❌ |
3 | Breadcrumbs | ✅ | 🟡 | ❌ |
4 | Button | ✅ | 🟡 | ❌ |
5 | Callout | ❌ | ❌ | ❌ |
6 | Chips | ❌ | ❌ | ❌ |
7 | Dialogs | ❌ | ❌ | ❌ |
8 | Filters | ❌ | ❌ | ❌ |
9 | Footer | ❌ | ❌ | ❌ |
10 | Header Hero | ❌ | ❌ | ❌ |
11 | Label | ❌ | ❌ | ❌ |
12 | Menu | ❌ | ❌ | ❌ |
13 | Navigation | ❌ | ❌ | ❌ |
14 | Quick Links | ❌ | ❌ | ❌ |
15 | Search | ❌ | ❌ | ❌ |
16 | Selection Control | ✅ | 🟡 | ❌ |
17 | Snackbar | ❌ | ❌ | ❌ |
18 | Spacing | ❌ | ❌ | ❌ |
19 | Tab | ✅ | 🟡 | ❌ |
20 | Text Field | ❌ | ❌ | ❌ |
21 | Tooltip | ❌ | ❌ | ❌ |
22 | Top Bar | ❌ | ❌ | ❌ |
23 | Uploader | ❌ | ❌ | ❌ |
npm:
npm install signal-ui
Since it is using custom web component, we need to register it on app.module.ts
file:
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import 'signal-ui'; --> add this
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA], --> add this
bootstrap: [AppComponent]
})
export class AppModule { }
Then, you can use the component in html file. The format is <signal-${component-name}/>
:
<!DOCTYPE html>
<html lang="en">
<body>
<signal-button variant="primary" size="xl" disabled (onClick)="() => window.alert('test')">BELI PULSA</signal-button>
</body>
</html>
No additional configuration needed, you can consume it to js/ts file:
import React from 'react';
import { SignalButtonReact } from 'signal-ui';
function App() {
return (
<div>
<SignalButtonReact variant='primary' size='xl' disabled onClick={() => window.alert('test')}>BELI PULSA</SignalButtonReact>
</div>
);
}
export default App;
Here is the list of prefix component name that is ready to be used:
No | Component | Angular | React |
---|---|---|---|
1 | Button | signal-button | SignalButtonReact |
2 | Social Media Button | signal-button-socmed | SignalButtonSocmedReact |
3 | Floating Button | signal-button-floating | SignalButtonFloatingReact |
4 | Icon Button | signal-button-icon | SignalButtonIconReact |
5 | Checkbox | signal-checkbox | SignalCheckboxReact |
6 | Radio | signal-radio | SignalRadioReact |
7 | Toggle | signal-toggle | SignalToggleReact |
8 | Badge | signal-badge | SignalBadgeReact |
9 | Language Selector | signal-language-selector | SignalLanguageSelectorReact |
10 | Breadcrumb | signal-breadcrumb | SignalBreadcrumbReact |
11 | Textfield | signal-textfield | SignalTextfieldReact |
12 | Banner | signal-banner | SignalBannerReact |
13 | Tab | signal-tab | SignalTabReact |
14 | OTP | signal-otp | SignalOTPReact |
FAQs
Work in progress
The npm package signal-ui receives a total of 0 weekly downloads. As such, signal-ui popularity was classified as not popular.
We found that signal-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.