The International Code of Signals is an international system of signals and codes for use by vessels to communicate important messages regarding safety of navigation and related matters.
ICS-in-CSS is an CSS implementation of the ICS flags, packaged in a React component.
Install ICS-in-CSS:
npm i @tomerlichtash/ics-css-react
<Flag
value="alfa" /* Use letter code name, e.g. "charlie" */
type="normal" (optional; supported types: `number` | `substitute`)
size="md"
/>
Text component to render flags in running text.
Usage:
<Text>
Hello [[charlie]] world
</Text>
Spell component transforms a string to flags.
<Spell>
Hello [[charlie]] world
</Spell>