fb-avatar
uiAvatar
fly-byデザインシステムのAvatarコンポーネント。ユーザーアバター表示用。-size-xs/s/m/l/xl、-shape-circle/squareをサポート。
プレビュー
U
YF
FB
インストール
npx shadcn@latest add "https://fly-by.design.yukyu.net/r/fb-avatar.json"依存関係
NPM Packages
@radix-ui/react-avatarclass-variance-authority
使用例
import { FbAvatar } from "@/components/ui/fb-avatar"
// コンポーネントを使用
<FbAvatar>
Content
</FbAvatar>ファイル
registry/fly-by/ui/fb-avatar.tsxui