
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@commercetools-uikit/avatar
Advanced tools
A component for rendering profile images
yarn add @commercetools-uikit/avatar
npm --save install @commercetools-uikit/avatar
Additionally install the peer dependencies (if not present)
yarn add react
npm --save install react
import Avatar from '@commercetools-uikit/avatar';
const Example = () => (
<Avatar
gravatarHash="20c9c1b252b46ab49d6f7a4cee9c3e68"
firstName="John"
lastName="Doe"
size="s"
/>
);
export default Example;
Props | Type | Required | Default | Description |
---|---|---|---|---|
firstName | string | '' | The first name of the user. | |
lastName | string | '' | The last name of the user. | |
gravatarHash | string | ✅ | The hashed string of the user gravatar. | |
isHighlighted | boolean | false | Enhances the appearance of the avatar. | |
size | union Possible values: 's' , 'm' , 'l' | 's' | The size of the rendered avatar. | |
color | union Possible values: 'accent' , 'purple' , 'turquoise' , 'brown' | 'accent' | The color of the avatar. | |
icon | ReactElement | an component |
FAQs
A component for rendering profile images
The npm package @commercetools-uikit/avatar receives a total of 3,800 weekly downloads. As such, @commercetools-uikit/avatar popularity was classified as popular.
We found that @commercetools-uikit/avatar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.