Semantic-UI Sidebar 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.
A Sidebar is a great way to hide additional content from the user unless required. Semantic UI provides us with a styled sidebar. Before jumping into the sidebar types, let’s have a look at various sidebar type classes.
Semantic UI Sidebar Type:
- Sidebar: This is used to create a sidebar.
<div class="ui sidebar"> ... </div>
Note: Sidebars can be used with any type of content but are mostly used with an inverted vertical menu. Follow the below examples for understanding.
Example 1: In the below example, we have created a standard menu sidebar using sidebar vertical menu classes.
Example 2: In the below example, we have created an inverted sidebar using sidebar inverted vertical menu classes.
Please Login to comment...