
Product
Introducing Immutable Scans
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.
@hods/header
Advanced tools
HODS' page header.
First install the package into your project:
npm install -S @hods/header
Then use it in your code as follows:
import React, { createElement as h } from 'react';
import Header from '@hods/header';
export const MyComponent = props => (
<Header
accountHref="#/my-account"
navigation={[
{ href: '/styles', text: 'Styles', active: true },
{ href: '/components', text: 'Components' },
{ href: '/patterns', text: 'Patterns' },
{ href: '/resources', text: 'Resources' },
{ href: '/get-involved', text: 'Get involved' }
]}
title="Service name"
signOutHref="#/auth/sign-out"
username="User name"
/>
);
export default MyComponent;
Before working on this package you must install its dependencies using the following command:
pnpm install
npm test
npm run build
npm run clean
FAQs
A component that shows users whether they are on a Home Office service and which service they are using.
The npm package @hods/header receives a total of 413 weekly downloads. As such, @hods/header popularity was classified as not popular.
We found that @hods/header demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.