Basic Text Input
A standard text input with label, placeholder text, and helper text.
chevron_right HTML
<bh-input-text
label="Full name"
placeholder="John Doe"
helper-text="Enter your first and last name"
></bh-input-text> chevron_right React
<BhInputText
label="Full name"
placeholder="John Doe"
helperText="Enter your first and last name"
/> chevron_right Angular
<bh-input-text
label="Full name"
placeholder="John Doe"
helperText="Enter your first and last name"
></bh-input-text> With Leading Icon
Text input with an icon at the start to provide visual context about the expected input type.
chevron_right HTML
<bh-input-text
label="Search"
placeholder="Search for items..."
leading-icon="search"
></bh-input-text> chevron_right React
<BhInputText
label="Search"
placeholder="Search for items..."
leadingIcon="search"
/> chevron_right Angular
<bh-input-text
label="Search"
placeholder="Search for items..."
leadingIcon="search"
></bh-input-text> Error State
Text input showing a validation error with error message and visual styling.
chevron_right HTML
<bh-input-text
label="Email"
placeholder="[email protected]"
value="invalid-email"
error
error-text="Please enter a valid email address"
></bh-input-text> chevron_right React
<BhInputText
label="Email"
placeholder="[email protected]"
value="invalid-email"
error
errorText="Please enter a valid email address"
/> chevron_right Angular
<bh-input-text
label="Email"
placeholder="[email protected]"
value="invalid-email"
error
errorText="Please enter a valid email address"
></bh-input-text>