
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
audio-player-normal
Advanced tools
A reusable header component built with TypeScript and React, designed for use across multiple Next.js projects.
To install this package, run:
npm install hungnc-shared-header
# or
yarn add hungnc-shared-header
Import the component in your project and use it as follows:
import { Header } from 'hungnc-shared-header';
const App = () => {
return (
<div>
<Header
title="Welcome to My Site"
subtitle="Making things easy"
backgroundColor="#0070f3"
/>
</div>
);
};
export default App;
title
(string): The main title text displayed in the header.subtitle
(string, optional): The subtitle text displayed below the title.backgroundColor
(string, optional): The background color of the header. Defaults to #333
.To compile TypeScript files to JavaScript in the dist
folder, run:
npm run build
npm login
npm publish --access public
MIT License
FAQs
Shared header component for multiple Next.js projects
We found that audio-player-normal 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.