Skip to main content

UsersStyle

Styling properties of CometChatUsers component.

NameDescription
widthSets the width of the component
heightSets the height of the component
borderSets the border of the component
borderRadiusSets the border radius of the component
backgroundSets all background style properties at once, such as color, image, origin and size, or repeat method. Reference link
boxShadowAdds shadow effects around the component.
titleTextFontSets all the different properties of font for the heading text. Reference link
titleTextColorSets the foreground color of heading text.
emptyStateTextFontSets all the different properties of font for the placeholder text. Reference link
emptyStateTextColorSets the foreground color of placeholder text displayed in the component.
errorStateTextFontSets all the different properties of font for the error message. Reference link
errorStateTextColorSets the foreground color of error message displayed in the component.
searchPlaceholderTextFontSets all the different properties of font for the placeholder text of the search input. Reference link
searchPlaceholderTextColorSets the foreground color of the placeholder text displayed in the search input.
searchTextFontSets all the different properties of font for the search input text. Reference link
searchTextColorSets the foreground color of the text displayed in the search input.
sectionHeaderTextFontSets all the different properties of font for the heading text for individual sections. Reference link
sectionHeaderTextColorSets the foreground color of the heading text for individual sections.
searchBorderSets the border of the search input.
searchBackgroundSets the background of the search input.
searchBorderRadiusSets the border radius of the search input.
loadingIconTintSets the tint or color applied to the loading indicator icon of the component
searchIconTintSets the tint or color applied to the search icon.
onlineStatusColorSets the color of the status indicator representing the user's online status
separatorColorSets the color of the separator between individual items