Button Label
Width
450px
Bend
28px
Height
64px
Corner Radius
18px
Border Width
1.5px
Font Size
16px

More components in Pro

Galleries, cards and interactive pieces for pages that need more than the basics.

View all 255
30 properties
valueundefinedControlled value; leave undefined for uncontrolled usage.
defaultValue""Initial value when the input is uncontrolled.
onChange(value) => voidCalled with the new value on every keystroke.
onSubmit(value) => voidCalled when the button is pressed or Enter is hit.
placeholder"Enter your email"Placeholder text rendered along the curve when empty.
buttonText"Get Started"Label of the curved submit button.
type"email"Semantic input type; email/number map to the matching mobile keyboard.
nameundefinedName attribute forwarded to the underlying input.
ariaLabelundefinedAccessible label; falls back to the placeholder.
theme"dark" | "light""dark"Color preset; any explicit color prop overrides its theme value.
widthnumber | string450Width of the input bar (pixels or any CSS width value, e.g. "100%").
bend28How many pixels the center of the bar arches above its ends; negative bends downward, 0 is flat.
height64Thickness of the input bar in pixels.
cornerRadius18Corner rounding of the bar; the button rounds proportionally.
borderWidth1.5Outline stroke width in pixels.
fontSize16Font size of the curved text and button label.
backgroundColorundefinedFill color of the input bar; overrides the theme.
textColorundefinedColor of the typed text and caret; overrides the theme.
placeholderColorundefinedColor of the placeholder text; overrides the theme.
borderColorundefinedColor of the outline stroke; overrides the theme.
buttonColorundefinedFill of the submit button, the focus ring and the default icon chip; overrides the theme.
buttonTextColorundefinedColor of the button label; overrides the theme.
iconColorundefinedFill of the icon chip; defaults to the button color.
shadowSize"none" | "sm" | "md" | "lg""md"Size of the soft drop shadow under the bar.
shadowColorundefinedTint of the drop shadow; overrides the theme.
showButtonRender the curved submit button.
showIconRender the leading icon chip.
iconReact.ReactNodeundefinedCustom SVG content for the icon, centered at the origin; replaces the default envelope chip.
""Additional CSS classes for the wrapper form.
React.CSSPropertiesundefinedInline styles for the wrapper form.
valuestring

Controlled value; leave undefined for uncontrolled usage.

Defaultundefined
defaultValuestring

Initial value when the input is uncontrolled.

Default""
onChange(value) => void

Called with the new value on every keystroke.

onSubmit(value) => void

Called when the button is pressed or Enter is hit.

placeholderstring

Placeholder text rendered along the curve when empty.

Default"Enter your email"
buttonTextstring

Label of the curved submit button.

Default"Get Started"
typestring

Semantic input type; email/number map to the matching mobile keyboard.

Default"email"
namestring

Name attribute forwarded to the underlying input.

Defaultundefined
ariaLabelstring

Accessible label; falls back to the placeholder.

Defaultundefined
theme"dark" | "light"

Color preset; any explicit color prop overrides its theme value.

Default"dark"
widthnumber | string

Width of the input bar (pixels or any CSS width value, e.g. "100%").

Default450
bendnumber

How many pixels the center of the bar arches above its ends; negative bends downward, 0 is flat.

Default28
heightnumber

Thickness of the input bar in pixels.

Default64
cornerRadiusnumber

Corner rounding of the bar; the button rounds proportionally.

Default18
borderWidthnumber

Outline stroke width in pixels.

Default1.5
fontSizenumber

Font size of the curved text and button label.

Default16
backgroundColorstring

Fill color of the input bar; overrides the theme.

Defaultundefined
textColorstring

Color of the typed text and caret; overrides the theme.

Defaultundefined
placeholderColorstring

Color of the placeholder text; overrides the theme.

Defaultundefined
borderColorstring

Color of the outline stroke; overrides the theme.

Defaultundefined
buttonColorstring

Fill of the submit button, the focus ring and the default icon chip; overrides the theme.

Defaultundefined
buttonTextColorstring

Color of the button label; overrides the theme.

Defaultundefined
iconColorstring

Fill of the icon chip; defaults to the button color.

Defaultundefined
shadowSize"none" | "sm" | "md" | "lg"

Size of the soft drop shadow under the bar.

Default"md"
shadowColorstring

Tint of the drop shadow; overrides the theme.

Defaultundefined
showButtonboolean

Render the curved submit button.

showIconboolean

Render the leading icon chip.

iconReact.ReactNode

Custom SVG content for the icon, centered at the origin; replaces the default envelope chip.

Defaultundefined

Additional CSS classes for the wrapper form.

Default""
styleReact.CSSProperties

Inline styles for the wrapper form.

Defaultundefined