
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
ng-searchix
Advanced tools
A beautiful, customizable search component for Angular with keyboard navigation, icon support, and external link integration.
npm install ng-searchix
import { NgModule } from '@angular/core';
import { SearchixModule } from 'ng-searchix';
@NgModule({
imports: [SearchixModule]
})
export class AppModule {}
Add to your angular.json:
"styles": [
"node_modules/ng-searchix/styles/searchix.css",
"src/styles.css"
]
import { Component } from '@angular/core';
import { SearchItem } from 'ng-searchix';
@Component({
selector: 'app-root',
template: `
<ngx-searchix
[items]="searchItems"
[placeholder]="'Search...'"
[hotkey]="'ctrl+k'"
(itemSelected)="onItemSelected($event)"
></ngx-searchix>
`
})
export class AppComponent {
searchItems: SearchItem[] = [
{
id: '1',
title: 'Getting Started',
subtitle: 'Learn the basics',
icon: 'book',
href: 'https://example.com/docs'
},
{
id: '2',
title: 'API Reference',
subtitle: 'Complete documentation',
icon: 'code',
href: 'https://example.com/api'
}
];
onItemSelected(item: SearchItem) {
console.log('Selected:', item);
}
}
npm install
npm run build
The built library output will be in dist/ng-searchix.
npm test
<ngx-searchix
[items]="items"
[buttonTemplate]="customButton"
></ngx-searchix>
<ng-template #customButton let-context>
<button (click)="context.open()">
Custom Search Button
</button>
</ng-template>
<ngx-searchix
[items]="items"
[iconRenderer]="iconRenderer"
></ngx-searchix>
<ng-template #iconRenderer let-iconName>
<lucide-icon [name]="iconName"></lucide-icon>
</ng-template>
:root {
--searchix-bg: #ffffff;
--searchix-fg: #111827;
--searchix-radius: 12px;
--searchix-width: 640px;
/* ... 60+ more variables */
}
Items with href automatically show an external link icon:
{
id: '1',
title: 'Documentation',
href: 'https://example.com', // External link icon appears
icon: 'book'
}
Automatically tracks and displays recently selected items:
// Option 1: Auto localStorage (no setup needed!)
<ngx-searchix [items]="items"></ngx-searchix>
// Option 2: Provide initial recents
<ngx-searchix
[items]="items"
[recentItems]="recentItems"
></ngx-searchix>
Features:
searchix-recents)itemSelected instead of routing internally>=12 <19MIT
Contributions are welcome! Please feel free to submit a Pull Request.
FAQs
Search modal (command palette style) for Angular using CDK Overlay.
We found that ng-searchix demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.