Displays a stylized badge element.
This component is based on the span element and supports common margin props m, mx, my, ml, mr, mt, mb. View source
Use the highContrast prop to control whether a higher contrast color combination is used.
You can compose Badge together with the Code component.
Use the following Badge colors and Code component to represent HTTP response codes:
Use the following Badge colors and Code component to represent HTTP request methods: