Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/Cute-category-posts/Cute-category-posts.php on line 342

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CuteBibleText/CuteBibleText.php on line 157

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CuteEventGallery/CuteEventGallery.php on line 141

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CuteEvents/CuteEvents.php on line 205

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CuteEvents3columns/CuteEvents3columns.php on line 172

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CuteEventsSidebar/CuteEventsSidebar.php on line 162

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CuteFaq/CuteFaq.php on line 158

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CuteGallery/cute-gallery.php on line 163

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CuteLastDonation/CuteLastDonation.php on line 147

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CuteLatest/CuteLatest.php on line 165

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CuteLatestSidebar/CuteLatestSidebar.php on line 162

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CuteLocation/CuteLocation.php on line 176

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CutePartners/CutePartners.php on line 142

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CutePastors/CutePastors.php on line 170

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CutePostGallery/CutePostGallery.php on line 153

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CutePostThumbnails/CutePostThumbnails.php on line 142

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CuteScripture/CuteScripture.php on line 144

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CuteSermons/CuteSermons.php on line 176

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CuteTestimonials/CuteTestimonials.php on line 164

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/CuteText/CuteText.php on line 153

Deprecated: Function create_function() is deprecated in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/plugins/cutechurch-slider/cutechurch-slider.php on line 267

Notice: Trying to access array offset on value of type int in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/uploads/warp/src/Warp/Config/Repository.php on line 243

Notice: Trying to access array offset on value of type int in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/uploads/warp/src/Warp/Config/Repository.php on line 243

Notice: Trying to access array offset on value of type int in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/uploads/warp/src/Warp/Config/Repository.php on line 243

Notice: Trying to access array offset on value of type int in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/uploads/warp/src/Warp/Config/Repository.php on line 243

Warning: session_start(): Cannot start session when headers already sent in /home/klient.dhosting.pl/nvservice/sites/nowaparafiam/public_html/wp-content/uploads/warp/systems/wordpress/src/Warp/Wordpress/Helper/SystemHelper.php on line 487
Button » Church Button – Church Button – Church

Button

Easily create nicely looking buttons, which come in different styles.

Usage

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.

Example

Link

Markup

<a class="uk-button" href="">...</a>
<button class="uk-button" type="button">...</button>
<button class="uk-button" type="button" disabled>...</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.


Color modifiers

There are several color modifiers available. Just add one of the following classes to apply a different look.

Example Class Description
.uk-button-primary Emphasizes to identify the primary action in a set of buttons.
.uk-button-success Indicates a successful or positive action.
.uk-button-danger Indicates a dangerous or negative action.
Link .uk-button-link Deemphasizes to look like a link while maintaining button behavior.

Size modifiers

Add the .uk-button-mini, .uk-button-small or .uk-button-large class to a button to make it smaller or larger.


Full width button

Add the .uk-width-1-1 class from the Grid component and the button will take up full width.

Example

Markup

<button class="uk-button uk-width-1-1 uk-margin-small-bottom">...</button>
<button class="uk-button uk-width-1-1">...</button>

Button group

To create a button group, add the .uk-button-group class to a <div> element around the buttons. That’s it! No further markup needed.

Example

Link
Link
Link
Link

Markup

<div class="uk-button-group">
    <a class="uk-button" href="">...</a>
    <button class="uk-button">...</button>
    <button class="uk-button">...</button>
</div>

JavaScript

You can toggle button states via JavaScript. Just add the data attibute data-uk-button.

Example

Markup

<button class="uk-button uk-button-primary" type="button" data-uk-button>Button</button>

Checkbox buttons

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.

Example

Markup

<div data-uk-button-checkbox>
    <button class="uk-button">...</button>
    <button class="uk-button">...</button>
    <button class="uk-button">...</button>
</div>

Radio buttons

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.

Example

Markup

<div data-uk-button-radio>
    <button class="uk-button">...</button>
    <button class="uk-button">...</button>
    <button class="uk-button">...</button>
</div>

Button with dropdowns

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.

Example

Markup

<!-- This is the container enabling the JavaScript -->
<div class="uk-button-dropdown" data-uk-dropdown>

    <!-- This is the button toggling the dropdown -->
    <button class="uk-button">...</button>

    <!-- This is the dropdown -->
    <div class="uk-dropdown uk-dropdown-small">
        <ul class="uk-nav uk-nav-dropdown">
            <li><a href="">...</a></li>
            <li><a href="">...</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.

Example

Markup

<div class="uk-button-group">

    <!-- This is a button -->
    <button class="uk-button">...</button>

    <!-- This is the container enabling the JavaScript -->
    <div data-uk-dropdown="{mode:'click'}">

        <!-- This is the button toggling the dropdown -->
        <a href="" class="uk-button">...</a>

        <!-- This is the dropdown -->
        <div class="uk-dropdown uk-dropdown-small">
            <ul class="uk-nav uk-nav-dropdown">
                <li><a href="">...</a></li>
                <li><a href="">...</a></li>
            </ul>
        </div>

    </div>
</div>