Navigation & Structure

Morphing Input Chat

Morphing chat input with dynamic icon transitions. Features attachment buttons that morph into send button when text is entered, with smooth animations.

navigation-structurechatinputmorphinganimationinteractive

Props

Customize the component with these props

PropertyTypeDefaultDescription
placeholder
string"Ask AI anything..."Placeholder text for the input field.
onSend
(message: string) => voidundefinedCallback function called when message is sent.
showLeftIcon
booleantrueWhether to display the left icon button.
showAttachments
booleantrueWhether to show attachment buttons when input is empty.
className
stringundefinedAdditional CSS classes for custom styling.
value
stringundefinedControlled input value.
onChange
(value: string) => voidundefinedCallback function called when input value changes.
Morphing Input Chat - Navigation & Structure Component | UILora