Campo de texto curvado con botón de envío.
npx shadcn@latest add https://reactbits.dev/r/CurvedInput-TS-TW
Sustituyen a un componente estándar cuando la experiencia es parte del producto.
| Prop | Tipo | Por defecto |
|---|---|---|
| value | string | undefined |
| defaultValue | string | "" |
| onChange | (value) => void | - |
| onSubmit | (value) => void | - |
| placeholder | string | "Enter your email" |
| buttonText | string | "Get Started" |
| type | string | "email" |
| name | string | undefined |
| ariaLabel | string | undefined |
| theme | "dark" | "light" | "dark" |
| width | number | string | 450 |
| bend | number | 28 |
| height | number | 64 |
| cornerRadius | number | 18 |
| borderWidth | number | 1.5 |
| fontSize | number | 16 |
| backgroundColor | string | undefined |
| textColor | string | undefined |
| placeholderColor | string | undefined |
| borderColor | string | undefined |
| buttonColor | string | undefined |
| buttonTextColor | string | undefined |
| iconColor | string | undefined |
| shadowSize | "none" | "sm" | "md" | "lg" | "md" |
| shadowColor | string | undefined |
| showButton | boolean | true |
| showIcon | boolean | true |
| icon | React.ReactNode | undefined |
| className | string | "" |
| style | React.CSSProperties | undefined |