@pallassystems/react-security-classification-banner
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

React UK Security Classification Banner

A library to generate UK Security Classification Banners based on UK Government Guidance. The UK has 3 Classification levels and various rules on handling instructions, this library provides a TSX Component which will generate a banner in the correct colours, with text laid out correctly and accessibility features incorporated.

The UK government guidance has sections for each part of a security classification banner, the library allows users to define a SecurityClassification object which has variables for each section. It will parse the object in order to generate a valid result. For example the descriptor 'FOR PUBLIC RELEASE' can't be used above 'OFFICIAL' and so will be dropped on

Getting Started

  1. Ensure that you have React 18 or later installed
  2. Install Peer Dependencies
npm install react
  1. Install The Security Classification Banner
npm install @pallassystems/react-security-classification-banner

Usage

Develop and Contribute

We welcome questions, ideas, issues and code contributions to this project.

Use the issues page to get in touch with the community.

If you would like to make a code contribution please fork the repository and create a GitHub pull request to the main branch.

Package Sidebar

Install

npm i @pallassystems/react-security-classification-banner

Weekly Downloads

2

Version

1.1.6

License

Apache-2.0

Unpacked Size

201 kB

Total Files

138

Last publish

Collaborators

  • stephen.crocker