Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
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 |
FAQs
Work in progress
The npm package signal-ui receives a total of 1 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 found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.