Security level for availability component
OptionalchildrenOptional children elements
OptionalclassOptional CSS class name for custom styling
Allows consumers to apply custom styles via CSS classes. Use Tailwind CSS classes or custom CSS classes.
Security level for confidentiality component
Security level for integrity component
OptionalonOptional callback when widget encounters an error
Error that occurred
OptionaltestOptional test ID for automated testing
Used by testing frameworks (Cypress, Vitest) to locate and interact with the component. Should follow the pattern defined in testIds constants.
Base props for widgets that display all three CIA components
Used by widgets that need to show a complete security profile across all CIA triad components.
Example