Overview
An engaging input component featuring sliding placeholders that cycle through prompts and a vanish effect on submit. Perfect for creating dynamic, interactive form experiences.Usage
Props
| Prop Name | Type | Default | Description |
|---|---|---|---|
placeholders | Array<string> | ["Placeholder 1", "Placeholder 2", "Placeholder 3"] | An array of placeholder texts that cycle through as prompts in the input field. |
Events
| Event Name | Parameters | Description |
|---|---|---|
change | Event | Triggered when the input value changes. |
submit | string | Triggered when the input is submitted. |
Features
- Animated placeholder cycling
- Smooth vanish effect on submit
- Customizable placeholder prompts
- Clean, modern design
Credits
- Credits to M Atif for porting this component
- Ported from Aceternity UI’s Placeholders And Vanish Input