Skip to content

Conversation

@amanna13
Copy link
Contributor

@amanna13 amanna13 commented Jan 2, 2026

Fixes - #13

Added more text customization to animated search bar component.

A new Configuration class for text input customization added in AnimatedSearchBar

// Example usage  - 
  AnimatedSearchBarTextConfig(
       fontFamily = FontFamily.SansSerif,
       fontWeight = FontWeight.Medium,
       letterSpacing = 0.5.sp,
       focusedTextColor = Color.Black,
       placeholderTextColor = Color.Black,
       cursorColor = Color.Blue
   ) 

List of all the available customizations -

 * @param textStyle Base text style for the input text.
 * @param fontFamily Custom font family for input text.
 * @param fontWeight Custom font weight for input text.
 * @param letterSpacing Letter spacing for input text.
 * @param inputTextColor Text color for the search bar input text.
 * @param placeholderTextStyle Text style for the placeholder (size, line height, etc.).
 * @param placeholderFontFamily Custom font family for placeholder text.
 * @param placeholderFontWeight Custom font weight for placeholder text.
 * @param placeholderTextColor Color for the placeholder text. (Text string is in [AnimatedSearchBarConfig])
 * @param cursorColor Color of the text cursor.

Note

This PR fixes the issue for both KMP and Android

@amanna13 amanna13 marked this pull request as ready for review January 2, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant