@forter/logo
v4.0.51
Published
Logo from Forter Components
Downloads
181
Readme
fc-logo
Logo element. Can represent the avatar of a Company.
Usage
<script>
import '@forter/logo';
</script>
<fc-logo></fc-logo>
Properties
| Property | Attribute | Type | Default | Description |
|----------|-----------|----------|---------|--------------------------------------------------|
| alt
| alt
| string
| "logo" | alternative text for accessibility. example: with
|
| size
| size
| string
| "50px" | two chars in the generated avatar. example: 25px |
| src
| src
| string
| | URL of avatar image can be png
or svg
. example: https://www.w3schools.com/w3images/avatar2.png
|
CSS Custom Properties
| Property | Description |
|-------------------|--------------------------------------------------|
| --fc-logo-color
| the color. default: var(--violet)
, example: gold
|