Skip to main content
Glama
deleonio
by deleonio
basic.tsx852 B
import { KolAvatar } from '@public-ui/react-v19'; import type { FC } from 'react'; import React from 'react'; import { SampleDescription } from '../SampleDescription'; export const AvatarBasic: FC = () => ( <> <SampleDescription> <p> KolAvatar shows a user&apos;s avatar with customizable colors. It can be used with or without an image. If no image is defined, the name&apos;s initials are shown instead with a configurable background color. </p> </SampleDescription> <div className="flex flex-wrap gap-4"> <KolAvatar _src="https://www.w3schools.com/howto/img_avatar.png" _label="Elke Mustermann" /> {/* intentional trailing space 👇 - it's supposed to be trimmed */} <KolAvatar _label="Elke Mustermann " /> <KolAvatar _label="Marianne" /> <KolAvatar _color="#0000FF" _label="Christian" /> </div> </> );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deleonio/public-ui-kolibri'

If you have feedback or need assistance with the MCP directory API, please join our Discord server