CurvedInput

Campo de texto curvado con botón de envío.

  • Código: RODD·CP·012
  • Familia: Componentes
  • Origen: React Bits (David Haz) · Licencia MIT + Commons Clause

Cómo instalarlo

npx shadcn@latest add https://reactbits.dev/r/CurvedInput-TS-TW

Cuándo usarlo

Sustituyen a un componente estándar cuando la experiencia es parte del producto.

Props para personalizarlo

PropTipoPor defecto
valuestringundefined
defaultValuestring""
onChange(value) => void-
onSubmit(value) => void-
placeholderstring"Enter your email"
buttonTextstring"Get Started"
typestring"email"
namestringundefined
ariaLabelstringundefined
theme"dark" | "light""dark"
widthnumber | string450
bendnumber28
heightnumber64
cornerRadiusnumber18
borderWidthnumber1.5
fontSizenumber16
backgroundColorstringundefined
textColorstringundefined
placeholderColorstringundefined
borderColorstringundefined
buttonColorstringundefined
buttonTextColorstringundefined
iconColorstringundefined
shadowSize"none" | "sm" | "md" | "lg""md"
shadowColorstringundefined
showButtonbooleantrue
showIconbooleantrue
iconReact.ReactNodeundefined
classNamestring""
styleReact.CSSPropertiesundefined

Otros efectos de componentes

  • DriftWall — Muro infinito de tarjetas en perspectiva que se elevan al hover.
  • Folder — Carpeta que se abre para revelar su contenido.
  • InfiniteSpiral — Hélice 3D infinita de imágenes.
  • Marquee — Carrusel infinito para logos, opiniones o imágenes.
  • MorphSlider — Slider WebGL que funde imágenes con una transición líquida.
  • PixelImage — Imagen que se revela píxel a píxel.