Zum Inhalt springen

Avatar

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

import { Avatar } from "@rebasepro/ui";
Prop Type Required Description
src string —
alt string —
children React.ReactNode —
className string —
outerClassName string —
hover boolean —
style React.CSSProperties —

This is the example the design-system sync renders and verifies for this component.

import { Avatar } from "@rebasepro/ui";
export const Initials = () => (
<div className="flex items-center gap-4 p-4">
<Avatar>A</Avatar>
<Avatar>MJ</Avatar>
<Avatar>RK</Avatar>
</div>
);