Fusce quis eleifend turpis. Cras volutpat lectus ut ante luctus aliquet. Donec non consequat erat. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Curabitur ac diam eleifend, varius tortor sagittis, tincidunt lacus. Vivamus lorem urna, tempor vel cursus eu, facilisis vitae erat. Suspendisse vel rutrum mi. Sed et viverra nulla, eget scelerisque leo. Phasellus pharetra est ac quam feugiat egestas nec ac mauris.
Fusce quis eleifend turpis. Cras volutpat lectus ut ante luctus aliquet. Donec non consequat erat. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Curabitur ac diam eleifend, varius tortor sagittis, tincidunt lacus. Vivamus lorem urna, tempor vel cursus eu, facilisis vitae erat. Suspendisse vel rutrum mi. Sed et viverra nulla, eget scelerisque leo. Phasellus pharetra est ac quam feugiat egestas nec ac mauris.
Fusce quis eleifend turpis. Cras volutpat lectus ut ante luctus aliquet. Donec non consequat erat. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Curabitur ac diam eleifend, varius tortor sagittis, tincidunt lacus. Vivamus lorem urna, tempor vel cursus eu, facilisis vitae erat. Suspendisse vel rutrum mi. Sed et viverra nulla, eget scelerisque leo. Phasellus pharetra est ac quam feugiat egestas nec ac mauris.
To apply this component, add the .uk-button class to an <a> or <button> element. Now you have created a button. Add the disabled attribute to a <button> element to disable the button.
NOTE If you are displaying a number of buttons in a row, you can add a top margin to them, when they stack on smaller viewports. Just add the data-uk-margin attribute from the Utility component to their parent element.
Toggle between a group of buttons like a checkbox by wrapping a <div> element with the data attribute data-uk-button-checkbox around them. This can also be applied to a button group.
Toggle between a group of buttons, like radio buttons, by wrapping a div element that uses data-uk-button-radio around them. This can also be applied to a button group.
A button can be used to trigger a dropdown menu from the Dropdown component. Just add the .uk-button-dropdown class and the data-uk-dropdown attribute to a <div> element that contains the button and the dropdown itself.
<!-- This is the container enabling the JavaScript --><divclass="uk-button-dropdown"data-uk-dropdown><!-- This is the button toggling the dropdown --><buttonclass="uk-button">...</button><!-- This is the dropdown --><divclass="uk-dropdown uk-dropdown-small"><ulclass="uk-nav uk-nav-dropdown"><li><ahref="">...</a></li><li><ahref="">...</a></li></ul></div></div>
Button group with dropdowns
Use button groups to split buttons into a standard action on the left and a dropdown toggle on the right. Just wrap a <div> element around the button and the dropdown and add the data-uk-dropdown="{mode:'click'}" attribute. Of course, a dropdown can also be applied to a button within a button group.
<divclass="uk-button-group"><!-- This is a button --><buttonclass="uk-button">...</button><!-- This is the container enabling the JavaScript --><divdata-uk-dropdown="{mode:'click'}"><!-- This is the button toggling the dropdown --><ahref=""class="uk-button">...</a><!-- This is the dropdown --><divclass="uk-dropdown uk-dropdown-small"><ulclass="uk-nav uk-nav-dropdown"><li><ahref="">...</a></li><li><ahref="">...</a></li></ul></div></div></div>
Our Partners
About Us
Cras egestas tincidunt nulla et cursus. Ut ac molestie dui. Fusce eu quam ac purus malesuada auctor. Suspendisse tempus aliquet erat, ac elementum justo eleifend eget. Pellentesque sodales aliquam.
Head Office
Address : No 75 Mitchel Sreet 0800 Alice Springs, NT, Australia Email : info@yoursite.com Phone 1 : +61 098 7654 32 Phone 2 : +61 098 7654 35