thaw 0.4.8

An easy to use leptos component library
Documentation
.thaw-avatar {
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    vertical-align: middle;
    border-radius: var(--borderRadiusCircular);
    font-family: var(--fontFamilyBase);
    font-weight: var(--fontWeightSemibold);
    font-size: var(--fontSizeBase300);
    width: 32px;
    height: 32px;
}

.thaw-avatar--square {
    border-radius: var(--borderRadiusMedium);
}

.thaw-avatar__icon,
.thaw-avatar__initials {
    position: absolute;
    box-sizing: border-box;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    line-height: 1;
    border: var(--strokeWidthThin) solid var(--colorTransparentStroke);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    user-select: none;
    border-radius: inherit;

    background-color: var(--colorNeutralBackground6);
    color: var(--colorNeutralForeground3);
}

.thaw-avatar__icon {
    font-size: 20px;
}

.thaw-avatar__image {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    vertical-align: top;

    background-color: var(--colorNeutralBackground6);
    color: var(--colorNeutralForeground3);
}