+ {title && (
+
+ )}
+ {description && (
+
+ )}
+
+
+ {maxLength && (
+
+
+
+
+ )}
+
+
+ );
+ }
+);
diff --git a/packages/core/lib/components/TextInput.tsx b/packages/core/lib/components/TextInput.tsx
new file mode 100644
index 0000000..1b1877f
--- /dev/null
+++ b/packages/core/lib/components/TextInput.tsx
@@ -0,0 +1,85 @@
+import React, { forwardRef } from 'react';
+import { Label } from './Label';
+
+type TextInputProps = {
+ id: string;
+ title?: string;
+ description?: string;
+ helpText?: string;
+ error?: string;
+ length?: 'x-short' | 'short' | 'middle' | 'long' | 'full';
+} & React.InputHTMLAttributes