Overview
TheTextInput component allows users to enter text. Uniwind provides className prop support for styling this component with various color customization options.
Styling Convention
For
style props: Use regular Tailwind classes directly (e.g., className="p-4").For non-style props (like color): Use the accent- prefix (e.g., colorClassName="accent-blue-500").Uniwind Bindings
Maps to the
style prop. Use any Tailwind utility classes.Maps to the
cursorColor prop. Requires accent- prefix for color values.Maps to the
selectionColor prop. Requires accent- prefix for color values.Maps to the
placeholderTextColor prop. Requires accent- prefix for color values.Maps to the
selectionHandleColor prop. Requires accent- prefix for color values.Maps to the
underlineColorAndroid prop (Android only). Requires accent- prefix for color values.