react-styled-kit - v4.0.3
    Preparing search index...

    Variable StyledTextFieldConst

    StyledTextField: StyledComponent<
        {} & Omit<
            OutlinedTextFieldProps
            | FilledTextFieldProps
            | StandardTextFieldProps,
            "variant",
        > & MUIStyledCommonProps<Theme> & { error?: boolean; required?: boolean },
        {},
        {},
    > = ...

    Styled text field component

    StyledTextField

    A customized text input field with:

    • Error state styling
    • Required field indication
    • Theme-aware colors and typography
    • Consistent hover and focus states

    Component props

    Whether the field is in error state

    Whether the field is required

    Material-UI theme object

    <StyledTextField
    label="Email"
    required
    error={!!errors.email}
    helperText={errors.email?.message}
    />