sigilUI

Avatar Upload

Choose an image to use as an avatar.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { AvatarUpload } from "@sigil-ui/components";

Usage

<AvatarUpload previewUrl="https://placehold.co/640x360/png" label="Upload avatar" />

CLI

npx @sigil-ui/cli add avatar-upload

Token Integration

AvatarUpload follows the Sigil component rules: styles resolve from var(--s-*), class names are mergeable through className, and the component is exported from @sigil-ui/components.