Avataaars API Documentation - v3.1.0
    Preparing search index...

    Function Piece

    • Piece component for rendering individual avatar pieces.

      This component is used for rendering specific parts of the avatar (e.g., for avatar builders or piece-by-piece rendering).

      Parameters

      • props: Props

        Avatar configuration props

      Returns Element

      React component rendering the specified avatar piece

      <Piece
      avatarStyle={AvatarStyle.Circle}
      pieceType="topType"
      pieceSize="100"
      />