Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@forter/avatar

Package Overview
Dependencies
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forter/avatar

Avatar from Forter Components

  • 4.0.10
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-93.02%
Maintainers
3
Weekly downloads
 
Created
Source

fc-avatar

Avatar circular element they used to represent person or an object. Can represent either an image or an initial.

Usage

<script>
   import '@forter/avatar';
</script>

<fc-avatar>
</fc-avatar>

Properties

PropertyAttributeTypeDefaultDescription
abbrabbrstringtwo chars in the generated avatar.
altaltstring"User Avatar"alternative text for accessibility. example: with
srcsrcstringURL of avatar image can be png or svg. example: https://www.w3schools.com/w3images/avatar2.png

CSS Custom Properties

PropertyDescription
--fc-avatar-background-colorthe color. default: transparent, example: gold
--fc-avatar-font-sizeabbr font size. default: 3em, example: 18px
--fc-avatar-hover-background-colorthe color. default: var(--fc-gray-300), example: var(--fc-red-100)
--fc-avatar-sizeheight and width. default: 48px, example: 96px

Keywords

FAQs

Package last updated on 15 Dec 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc