Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@govuk-react-bjss-pttg/top-nav

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-react-bjss-pttg/top-nav

Styled top navigation header with numerous constituent parts input as props.

  • 0.10.7
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

TopNav

Import

  import TopNav from '@govuk-react-bjss-pttg/top-nav';

The GOV.UK header shows users that they are on GOV.UK and which service they are using.

  • https://govuk-react.github.io/govuk-react/?path=/docs/top-nav
  • https://design-system.service.gov.uk/components/header/

Properties

PropRequiredDefaultTypeDescription
bgColorundefinedstringTop nav background color
childrenundefinedanyList Navigation items with anchor tags e.g. NavAnchor components
colorundefinedstringTop nav text color
company<IconTitle icon={<CrownIcon width="36" height="32" />}>GOV.UK</IconTitle>React.ReactNodeCompany component e.g. GOV UK
defaultOpenundefinedbooleanIs the mobile navigation open by default?
searchundefinedReact.ReactNodeSearch component
serviceTitleundefinedReact.ReactNodeService title component e.g. Food Standards Authority

FAQs

Package last updated on 30 Apr 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc