Skip to main content

GroupsStyle

Styling properties of CometChatGroups component.

PropertiesDescription
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.
subTitleTextFontSets all the different properties of font for the secondary text. Reference link
subTitleTextColorSets the foreground color of secondary 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.
searchBorderSets the border of the search input.
searchBackgroundSets the background of the search input.
searchBorderRadiusSets the border radius of the search input.
searchIconTintSets the tint or color applied to the search icon.
loadingIconTintSets the tint or color applied to the loading indicator icon of the component
privateGroupIconBackgroundSets all background style properties at once, such as color, image, origin and size, or repeat method for private groups. Reference link
passwordGroupIconBackgroundSets all background style properties at once, such as color, image, origin and size, or repeat method for password protected groups. Reference link
onlineStatusColorSets the color of the status indicator representing the user's online status
separatorColorSets the color of the separator between individual items

Styling properties and values of the groups component