Components
Client Only
Installation
pnpm dlx @docyrus/cli add @docyrus/ui-avatar-selectUI Primitives(5 components)
npx shadcn@latest add button dialog input popover tabsUsage
import {
AvatarSelect
} from "@docyrus/ui/components/avatar-select";
<AvatarSelect
editorDisplay="inline"
value={...}
disabled
uploadImage={() => {}}
onChange={() => {}}
onCommit={() => {}}
/>EditorDisplay
| EditorDisplay | Description |
|---|---|
inline | Inline — space-y-3 |
popover | Popover — inline-flex |
API Reference
| Prop | Type | Default |
|---|---|---|
editorDisplay | "inline" | "popover" | "default" |
value | Partial<AvatarFieldValue> | null | — |
disabled | boolean | — |
uploadImage | (file: File) => Promise<AvatarImageValue> | — |
onChange | (value: AvatarFieldValue, payload: Record<string, unknown>) => void | — |
onCommit | (value: AvatarFieldValue, payload: Record<string, unknown>) => void | — |
className | string | — |
Adaptive Card Designer
Visual drag-and-drop designer for Microsoft Adaptive Cards 1.5 / 1.6 payloads. Three-pane editor (toolbox · canvas · structure / properties) with paired JSON editors, live preview, undo / redo, and theme / width controls — backed by the in-repo Adaptive Card renderer.
Avatar Thumbnail
Avatar Thumbnail component with multiple variants and sizes.