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
- Ensure that you have React 18 or later installed
- Install Peer Dependencies
npm install react
- Install The Security Classification Banner
npm install @pallassystems/react-security-classification-banner
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.