Semantic-UI Comment Types
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. It uses a class to add CSS to the elements. Comments are an excellent way to display user feedback and interact about the content with other users. Semantic UI provides us with a semantic UI-styled comment element. Let’s have a look at various comment types.
Semantic UI Comment Types:
- Semantic UI Comments: Semantic UI Comments create a standard list of comments, which can be styled and modified using various classes provided by Semantic UI.
<div class="ui comments"> <div class="comment"> ... </div> </div>
Note: Use the above syntax according to the need by using a combination of the above-mentioned classes. Refer to the examples below for a better understanding of the classes.
Example 1: In the below example, we have created standard Semantic UI Comments.
Example 2: In the below example, we have standard Semantic UI comments with a reply form.