Semantic-UI Button Variations Last Updated : 22 Apr, 2022 Comments Improve Suggest changes Like Article Like Report Semantic UI is a modern framework used in developing seamless designs for the website, It gives the user a lightweight experience with its components. It uses the predefined CSS and jQuery to incorporate in different frameworks. Semantic UI Button Group offers variation of button, there are Social buttons, different Size buttons, floated buttons, positive and negative buttons, etc. Semantic UI Button Variations Class: Social: This are use to create social media button for that we just need to use an icon and that social media theme color.Size: This is use to create different size of button, like min, tiny, small, medium upto massive size buttons.Floated: This is use to create floated button you can float your button left or right anywhere you want.Colored: This is use to create colored button just you have to put the before the button class of the button element.Compact: This can reduce its padding to fit into tighter spaces, this is used to create play, pause, next and previous type of buttons.Toggle: This can be formatted to toggle on and off, subscribed and Unsubscribed etc.Positive: This is use to create positive button that will have a defined lemon green color button.Negative: This is use to create negative button that will have a defined lemon radish color button.Fluid: This can take the width of its container, if you want the button to capture the width of your container this is useful.Circular: This is use to create circular buttons.Vertically Attached: This button can be attached to the top or bottom of other content.Horizontally Attached: This button can be attached to the left or right of other content Syntax: In this example we will us the Social, Size, Colored, Compact, Toggle and Floated buttons. <button class="ui Variation-class button">...</button> Below example will illustrate the Semantic-UI Button Variations: Example: HTML <!DOCTYPE html> <html> <head> <title>Semantic UI</title> <link href= "https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css" rel="stylesheet" /> <style> button { width: 170px; } .container { width: 600px; margin-left: 10%; } </style> </head> <body> <center> <h1>Geeksforgeeks</h1> <strong>Semantic UI Button Variations</strong> </center> <br><br> <div class="container"> <div> <strong>Social:</strong> <button class="ui facebook button"> <i class="facebook icon"></i> Facebook </button> <button class="ui twitter button"> <i class="twitter icon"></i> Twitter </button> <button class="ui google plus button"> <i class="youtube plus icon"></i> Youtube </button> </div> <br> <div> <strong>Size:</strong> <button class="mini ui button"> Mini </button> <button class="large ui button"> Tiny </button> <button class="massive ui button"> Small </button> </div> <br> <div> <strong>Colored:</strong> <button class="ui red button"> Red </button> <button class="ui green button"> Green </button> <button class="ui purple button"> Purple </button> </div> <br> <div> <strong>Compact:</strong> <button class="compact ui button"> <i class="like icon"></i> </button> <button class="ui compact icon button"> <i class="play icon"></i> </button> <button class="ui compact icon button"> <i class="pause icon"></i> </button> </div> <br> <div> <strong>Toggle:</strong> <button class="ui toggle button"> Up Vote </button> <button class="ui toggle button"> Down Vote </button> </div> <br> <div> <strong>Floated:</strong> <br> <button class="ui right floated button"> Right Floated </button> <button class="ui left floated button"> Left Floated </button> </div> </div> </body> </html> Output: Semantic-UI Button Variations Example 2: In this example we will use Positive, Negative, Fluid, Circular, Vertically Attached, and Horizontally Attached buttons. HTML <!DOCTYPE html> <html> <head> <title>Semantic UI</title> <link href= "https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css" rel="stylesheet" /> <style> button { width: 170px; } .container { width: 600px; margin-left: 10%; } </style> </head> <body> <center> <h1>Geeksforgeeks</h1> <strong>Semantic UI Button Variations</strong> </center> <br><br> <div class="container"> <div> <strong>Positive:</strong> <button class="ui positive button"> Positive Button </button> <strong>Negative:</strong> <button class="negative ui button"> Negative Button </button> </div> <br> <div> <strong>Fluid:</strong> <button class="fluid ui purple button"> Fluid Button </button> </div> <br> <div> <strong>Circular:</strong> <button class="ui circular twitter icon button"> <i class="twitter icon"></i> </button> <button class="ui circular linkedin icon button"> <i class="facebook icon"></i> </button> <button class="ui circular google plus icon button"> <i class="google plus icon"></i> </button> </div> <br> <div> <strong>Vertically Attached:</strong> <div class="ui top attached green button"> Top Vertically Attached </div> <div class="ui attached segment"> <p>A Computer Science Portal for Geeks</p> </div> <div class="ui bottom attached purple button"> Bottom Vertically Attached </div> </div> <br> <div> <strong>Horizontally Attached:</strong> <button class="ui left attached red button"> Left Hori Attached </button> <button class="ui right attached green button"> Right Hori Attached </button> </div> </div> </body> </html> Output: Semantic-UI Button Variations Comment More infoAdvertise with us Next Article Semantic-UI Button Group Variations S skyridetim Follow Improve Article Tags : Web Technologies CSS Semantic-UI Semantic-UI Button Semantic-UI Elements +1 More Similar Reads Semantic UI 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. Semantic UIWhy Semantic UI?Semantic UI is 2 min read Introduction to Semantic UI 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.How to use Semantic UI ? Just google CDN semantic UI and you will get the CDN link for 2 min read Semantic-UI ButtonSemantic-UI | ButtonsSemantic 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 can be used directly by CDN. There are different types of buttons in Semantic UI. 3 min read Semantic-UI Button TypesSemantic UI is a modern framework used in developing seamless designs for the website. It gives the user a lightweight experience with its components. It uses predefined CSS and jQuery to incorporate different frameworks. In this article, we will learn about the different kinds of buttons. The butto 3 min read Semantic-UI Button GroupsSemantic UI is a modern framework used in developing seamless designs for the website, It gives the user a lightweight experience with its components. It uses predefined CSS and jQuery to incorporate different frameworks. Semantic UI Button Group offers categorized button group which allow to group 2 min read Semantic-UI Button ContentSemantic UI is a modern framework used in developing seamless designs for the website, It gives the user a lightweight experience with its components. It uses predefined CSS and jQuery to incorporate different frameworks. Semantic UI Button Content offers conditions between buttons like delete or Sa 2 min read Semantic-UI Button StatesSemantic UI is a modern framework used in developing seamless designs for the website, It gives the user a lightweight experience with its components. It uses the predefined CSS and jQuery to incorporate in different frameworks. Semantic UI Button Group offers status of the button, if you want to cr 1 min read Semantic-UI Button VariationsSemantic UI is a modern framework used in developing seamless designs for the website, It gives the user a lightweight experience with its components. It uses the predefined CSS and jQuery to incorporate in different frameworks. Semantic UI Button Group offers variation of button, there are Social b 4 min read Semantic-UI Button Group VariationsSemantic UI is a modern framework used in developing seamless designs for the website, It gives the user a lightweight experience with its components. It uses predefined CSS and jQuery to incorporate different frameworks. Semantic UI Button Group also offers a group variation of buttons, there are I 3 min read Semantic-UI | Container Semantic UI open-source framework provides a container which helps to limit content up to greatest width. The framework uses jQuery and CSS to create interactive user interfaces. It is very much similar to bootstrap usage and has different elements for creating page structure of any website. Example 4 min read Semantic-UI DividerSemantic-UI | DividerSemantic UI is an open-source framework available for building nice and flexible user interfaces using CSS and jQuery. It is very much similar to bootstrap having different elements for website creation. It majorly uses classes to add styles to different elements of HTML. Divider helps in visually d 2 min read Semantic-UI Divider TypesSemantic UI is a free open-source front-end development framework that is equipped with pre-built semantic components that helps create responsive layouts using user-friendly HTML. In terms of user-friendliness, Semantic UI is better than Bootstrap styling. Top companies like Snapchat, Accenture hav 4 min read Semantic-UI Divider VariationsSemantic UI is a free open-source front-end development framework that is equipped with pre-built semantic components that helps create responsive layouts using user-friendly HTML. It uses predefined CSS and jQuery to incorporate different frameworks. A divider is generally used to divide the conten 3 min read Semantic-UI | Flag Semantic UI open-source framework provides classes that are used to show flags of different countries. The framework is very much similar to bootstrap usage and has many elements for creating amazing interactive interfaces for websites. Classes are added to elements for adding styles. Example: The f 5 min read Semantic-UI HeaderSemantic-UI | HeaderSemantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is 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. Semantic-UI has really cool headers they can 3 min read Semantic-UI Header TypesSemantic 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. Semantic-UI has really cool headers that 3 min read Semantic-UI Header ContentSemantic 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. Semantic-UI header provides a short summary of content and it's can contain 3 content 2 min read Semantic-UI Header StatesSemantic UI offers many components for users to design their interface. The Header component offers us different types of headers, different types of content holding headers, states of header in different variations. In this article, we will learn about the Semantic UI Header States. These states ar 1 min read Semantic-UI Header VariationsSemantic UI offers many components for users to design their interface. It offers us different types of headers, different types of content holding headers, states of header in different variations. In this article, we will learn about the Semantic UI Header Variations. Header variations have many v 3 min read Semantic-UI | Icon Semantic UI open-source framework gives icons or glyphs that are used to show pictures related to some elements using CSS and jQuery that is used to create great user interfaces. It is very much similar to bootstrap usage to make the website more amazing. It uses classes to add styles to the HTML el 3 min read Semantic-UI Icon Set 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 and responsive. An icon is a glyph used to represent something else. Semantic UI provi 3 min read Semantic-UI ImageSemantic-UI | ImagesSemantic 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.There are different styles of putting imag 2 min read Semantic-UI Image TypesSemantic 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 various different elements to use to make your website look more amazing. Semantic UI provides us with a very easy way to style images. It offers images of d 3 min read Semantic-UI Image StatesSemantic-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 various different elements to use to make your website look more amazing. Semantic-UI provides us with a very easy way to style images instead of using long 2 min read Semantic-UI Image VariationsSemantic 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. Semantic UI has a bunch of components for user interface design. One of them is âimag 4 min read Semantic-UI Image GroupsSemantic 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. Semantic UI provides us with a very easy way to style images. It offers images in dif 2 min read Like