HeyCar-UIKit - Badge
Cards can include badges in their left corner. These badges can contain dynamic information, such as promotion information.
Installation
To install and save in your package.json dependencies, run the command below using npm:
npm install @heycar-uikit/badge
Usage
import Badge from '@heycar-uikit/badge';
function App() {
return <Badge>$250 off</Badge>;
}
Documentation and sandbox
Storybook documentation and sandbox.