Warning: session_start(): open(/var/lib/php/fpm/session/sess_n1j26vgigq1r8fdcqnoeqttkas, O_RDWR) failed: Permission denied (13) in /var/www/tst02/wp-content/plugins/wordpress-social-login/wp-social-login.php on line 64

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/fpm/session) in /var/www/tst02/wp-content/plugins/wordpress-social-login/wp-social-login.php on line 64

Notice: Undefined index: HTTP_REFERER in /var/www/tst02/wp-content/themes/mdbootstrap4/inc/cookie-setter.php on line 8
Vue Pills - Bootstrap 4 & Material Design. Examples & tutorial - Material Design for Bootstrap

Vue Bootstrap Pills

Vue Pills - Bootstrap 4 & Material Design

Vue Bootstrap pills are simple navigation components that expedite browsing through various options in the layout.

They allow you to fit a lot of information in single space.

See the following Bootstrap pills examples:


Default pills

The default styling for Bootstrap Pills components

Consequat occaecat ullamco amet non eiusmod nostrud dolore irure incididunt est duis anim sunt officia. Fugiat velit proident aliquip nisi incididunt nostrud exercitation proident est nisi. Irure magna elit commodo anim ex veniam culpa eiusmod id nostrud sit cupidatat in veniam ad. Eiusmod consequat eu adipisicing minim anim aliquip cupidatat culpa excepteur quis. Occaecat sit eu exercitation irure Lorem incididunt nostrud.
Ad pariatur nostrud pariatur exercitation ipsum ipsum culpa mollit commodo mollit ex. Aute sunt incididunt amet commodo est sint nisi deserunt pariatur do. Aliquip ex eiusmod voluptate exercitation cillum id incididunt elit sunt. Qui minim sit magna Lorem id et dolore velit Lorem amet exercitation duis deserunt. Anim id labore elit adipisicing ut in id occaecat pariatur ut ullamco ea tempor duis.
Est quis nulla laborum officia ad nisi ex nostrud culpa Lorem excepteur aliquip dolor aliqua irure ex. Nulla ut duis ipsum nisi elit fugiat commodo sunt reprehenderit laborum veniam eu veniam. Eiusmod minim exercitation fugiat irure ex labore incididunt do fugiat commodo aliquip sit id deserunt reprehenderit aliquip nostrud. Amet ex cupidatat excepteur aute veniam incididunt mollit cupidatat esse irure officia elit do ipsum ullamco Lorem. Ullamco ut ad minim do mollit labore ipsum laboris ipsum commodo sunt tempor enim incididunt. Commodo quis sunt dolore aliquip aute tempor irure magna enim minim reprehenderit. Ullamco consectetur culpa veniam sint cillum aliqua incididunt velit ullamco sunt ullamco quis quis commodo voluptate. Mollit nulla nostrud adipisicing aliqua cupidatat aliqua pariatur mollit voluptate voluptate consequat non.

            <template>
              <mdb-tabs 
                :active="0"
                pills 
                color="secondary"
                :links="[
                  { text: 'Active' },
                  { text: 'Link' },
                  { text: 'Link' },
                  { text: 'Help' }]" 
                :content="[
                  `Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.`,
                  `<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.</p><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.</p>`,
                  `Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.`,
                  `Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.`]"
              />
            </template>
          

            <script>
              import { mdbTabs } from 'mdbvue';
              export default {
                name: 'Pills',
                components: {
                  mdbTabs
                }
              }
            </script>
          

Material pills MDB Pro component

Material Design styling for Bootstrap Pills component


Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.


Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.


Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.


Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.


            <template>
              <mdb-tabs 
                :active="0"
                pills 
                color="secondary"
                :links="[
                  { text: 'Active' },
                  { text: 'Link' },
                  { text: 'Link' },
                  { text: 'Help' }]" 
                :content="[
                  `Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.`,
                  `<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.</p><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.</p>`,
                  `Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.`,
                  `Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.`]"
              />
            </template>
          

            <script>
              import { mdbTabs } from 'mdbvue';
              export default {
                name: 'Pills',
                components: {
                  mdbTabs
                }
              }
            </script>
          

Pills justified MDB Pro component


        <template>
          <mdb-tabs 
            :active="0"
            pills 
            justify
            color="pink"
            :links="[
              { text: 'Active' },
              { text: 'Link 1' },
              { text: 'Link 2' },
              { text: 'Link 3' }]" 
          />
        </template>
      

        <script>
          import { mdbTabs } from 'mdbvue';
          export default {
            name: 'Pills',
            components: {
              mdbTabs
            }
          }
        </script>
      

Pills with dropdown MDB Pro component


        <template>
          <mdb-tabs 
            :active="0"
            pills 
            justify
            color="success"
            :links="[
              { text: 'Active' },
              { text: 'Dropdown', dropdown: true, dropdownItems: [{ text: 'Action' }, { text: 'Another action' }, { text: 'Something else here' }, { divider: true }, { text: 'Separeted link'}]},
              { text: 'Link 1' },
              { text: 'Link 2' }]" 
            />
        </template>
      

        <script>
          import { mdbTabs } from 'mdbvue';
          export default {
            name: 'Pills',
            components: {
              mdbTabs
            }
          }
        </script>
      

Gradient pills MDB Pro component


        <template>
          <mdb-tabs 
            :active="0"
            pills 
            justify
            gradient="peach"
            :links="[
              { text: 'Active' },
              { text: 'Link 1' },
              { text: 'Link 2' },
              { text: 'Link 3' }]" 
            />
        </template>
      

        <script>
          import { mdbTabs } from 'mdbvue';
          export default {
            name: 'Pills',
            components: {
              mdbTabs
            }
          }
        </script>
      

        <style>
          .pills-peach-gradient .nav-item .nav-link.active {
          background: linear-gradient(40deg, #FFD86F, #FC6262);
          }
          .pills-blue-gradient .nav-item .nav-link.active {
          background: linear-gradient(40deg, #45cafc, #303f9f);
          }
          .pills-purple-gradient .nav-item .nav-link.active {
          background: linear-gradient(40deg, #ff6ec4, #7873f5);
          }
          .pills-aqua-gradient .nav-item .nav-link.active {
          background: linear-gradient(40deg, #2096ff, #05ffa3);
          }
        </style>
      

Rounded pills MDB Pro component


        <template>
          <mdb-row>
            <mdb-col md="10" lg="8" xl="6">
              <mdb-tabs 
                :active="0"
                pills 
                rounded
                color="deep-purple"
                justify
                :links="[
                  { text: 'Active' },
                  { text: 'Link 1' },
                  { text: 'Link 2' },
                  { text: 'Link 3' }]" 
                />
            </mdb-col>
            <mdb-col md="10" lg="8" xl="6">
              <mdb-tabs 
                :active="0"
                pills 
                rounded
                color="light-purple"
                justify
                :links="[
                  { text: 'Active' },
                  { text: 'Link 1' },
                  { text: 'Link 2' },
                  { text: 'Link 3' }]" 
                />
            </mdb-col>
          </mdb-row>
          <mdb-row>
            <mdb-col md="10" lg="8" xl="6">
              <mdb-tabs 
                :active="0"
                pills 
                rounded
                gradient="peach"
                justify
                :links="[
                  { text: 'Active' },
                  { text: 'Link 1' },
                  { text: 'Link 2' },
                  { text: 'Link 3' }]" 
                />
            </mdb-col>
            <mdb-col md="10" lg="8" xl="6">
              <mdb-tabs 
                :active="0"
                pills 
                rounded
                gradient="aqua"
                justify
                :links="[
                  { text: 'Active' },
                  { text: 'Link 1' },
                  { text: 'Link 2' },
                  { text: 'Link 3' }]" 
                />
            </mdb-col>
          </mdb-row>
          <mdb-row>
            <mdb-col md="10" lg="8" xl="6">
              <mdb-tabs 
                :active="0"
                pills 
                rounded
                outline="red"
                justify
                :links="[
                  { text: 'Active' },
                  { text: 'Link 1' },
                  { text: 'Link 2' },
                  { text: 'Link 3' }]" 
                />
            </mdb-col>
            <mdb-col md="10" lg="8" xl="6">
              <mdb-tabs 
                :active="0"
                pills 
                rounded
                outline="green"
                justify
                :links="[
                  { text: 'Active' },
                  { text: 'Link 1' },
                  { text: 'Link 2' },
                  { text: 'Link 3' }]" 
                />
            </mdb-col>
          </mdb-row>
        </template>
      

        <script>
          import { mdbTabs, mdbRow, mdbCol } from 'mdbvue';
          export default {
            name: 'Pills',
            components: {
              mdbTabs,
              mdbRow,
              mdbCol
            }
          }
        </script>
      

        <style>
          .pills-rounded .nav-item .nav-link {
          border-radius: 10em;
          }
          .pills-light-purple .nav-item .nav-link.active {
          background-color: #ba68c8;
          }

          .pills-outline-red .nav-item .nav-link {
          border: 2px solid #fff;
          color: #666;
          background-color: transparent;
          }
          .pills-outline-red .nav-item .nav-link:hover {
          border: 2px solid #eee;
          }
          .pills-outline-red .nav-item .nav-link.active {
          border: 2px solid #f44336;
          color: #f44336;
          }
          .pills-outline-red .nav-item .nav-link.active:hover {
          border: 2px solid #f44336;
          color: #f44336;
          }

          .pills-outline-green .nav-item .nav-link {
          border: 2px solid #fff;
          color: #666;
          background-color: transparent;
          }
          .pills-outline-green .nav-item .nav-link:hover {
          border: 2px solid #eee;
          }
          .pills-outline-green .nav-item .nav-link.active {
          border: 2px solid #4caf50;
          color: #4caf50;
          }
          .pills-outline-green .nav-item .nav-link.active:hover {
          border: 2px solid #4caf50;
          color: #4caf50;
          }
        </style>
      

Pills with icons MDB Pro component


        <template>
          <section>
            <mdb-tabs 
              :active="0"
              pills 
              justify
              color="info"
              :links="[
                { text: 'USA', icon: 'android', fab: true },
                { text: 'Mexico', icon: 'leaf' },
                { text: 'Poland', icon: 'heart' },
                { text: 'Brazil', icon: 'futbol', far: true }]" 
              />
            <mdb-tabs 
              :active="0"
              pills 
              justify
              rounded
              outline="red"
              :links="[
                { text: 'San Francisco', icon: 'grin', far: true },
                { text: 'Tijuana', icon: 'users' },
                { text: 'Cracow', icon: 'thumbs-up' },
                { text: 'Rio de Janeiro', icon: 'coffee' }]" 
              />
          </section>
        </template>
      

        <script>
          import { mdbTabs } from 'mdbvue';
          export default {
            name: 'Pills',
            components: {
              mdbTabs
            }
          }
        </script>
      

Pills with content MDB Pro component

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.


        <template>
          <mdb-row>
            <mdb-col md="10" lg="8" xl="6">
              <mdb-tabs 
                :active="0"
                pills 
                gradient="purple"
                rounded
                :links="[
                  { text: 'Fashion' },
                  { text: 'Lifestyle' },
                  { text: 'Beauty' },
                  { text: 'Shop' }]" 
                :content="[
                  `Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.`,
                  `<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.</p><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.</p>`,
                  `Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.`,
                  `Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.`]"
              />
            </mdb-col>
            <mdb-col md="10" lg="8" xl="6">
              <mdb-tabs 
                :active="0"
                pills 
                color="warning"
                card
                navClass="mb-4"
                :links="[
                  { text: 'About' },
                  { text: 'Features' },
                  { text: 'Pricing' }]" 
                :content="[
                  `Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.`,
                  `<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.</p><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.</p>`,
                  `Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.`,
                  `Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.`]"
              />
            </mdb-col>
          </mdb-row>
        </template>
      

        <script>
          import { mdbTabs, mdbRow, mdbCol } from 'mdbvue';
          export default {
            name: 'Pills',
            components: {
              mdbTabs,
              mdbRow,
              mdbCol
            }
          }
        </script>
      

Color animations MDB Pro component

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.


        <template>
          <section>
            <mdb-tabs 
              :active="0"
              pills 
              justify
              color="blue-teal"
              :links="[
                { text: 'Fashion' },
                { text: 'Lifestyle' },
                { text: 'Beauty' },
                { text: 'Shop' }]" 
              />
            <mdb-tabs 
              :active="0"
              pills 
              justify
              rounded
              outline="purple-anm"
              :links="[
                { text: 'Madrid' },
                { text: 'Bari' },
                { text: 'Warsaw' },
                { text: 'Paris' }]" 
              />
            <mdb-tabs 
              :active="0"
              pills 
              justify
              rounded
              color="orange-anm"
              :links="[
                { text: 'Features' },
                { text: 'Pricing' },
                { text: 'Gadgets' },
                { text: 'Technology' }]" 
              />
          </section>
        </template>
      

        <script>
          import { mdbTabs } from 'mdbvue';
          export default {
            name: 'Pills',
            components: {
              mdbTabs
            }
          }
        </script>
      

        <style>
          .pills-blue-teal .nav-item .nav-link.active {
          background-color: #4fc3f7;
          -webkit-animation-name: example; /* Safari 4.0 - 8.0 */
          -webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
          animation-name: example;
          animation-duration: 4s;
          }
          /* Safari 4.0 - 8.0 */
          @-webkit-keyframes example {
          from {background-color: #4fc3f7;}
          to {background-color: #009688;}
          }

          /* Standard syntax */
          @keyframes example {
          from {background-color: #4fc3f7;}
          to {background-color: #009688;}
          }

          .pills-outline-purple-anm .nav-item .nav-link.active {
          border: 2px solid #9c27b0;
          color: #9c27b0;
          background-color: transparent;
          -webkit-animation-name: outline; /* Safari 4.0 - 8.0 */
          -webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
          animation-name: outline;
          animation-duration: 4s;
          }
          /* Safari 4.0 - 8.0 */
          @-webkit-keyframes outline {
          from {border: 2px solid #9c27b0; color: #9c27b0;}
          to {border: 2px solid #f48fb1; color: #f48fb1;}
          }

          /* Standard syntax */
          @keyframes outline {
          from {border: 2px solid #9c27b0; color: #9c27b0;}
          to {border: 2px solid #f48fb1; color: #f48fb1;}
          }

          .pills-orange-anm .nav-item .nav-link.active {
          background-color: #ffa000 ;
          -webkit-animation-name: orange; /* Safari 4.0 - 8.0 */
          -webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
          animation-name: orange;
          animation-duration: 4s;
          }
          /* Safari 4.0 - 8.0 */
          @-webkit-keyframes orange {
          from {background-color: #ffa000 ;}
          to {background-color: #f44336;}
          }

          /* Standard syntax */
          @keyframes orange {
          from {background-color: #ffa000 ;}
          to {background-color: #f44336;}
          }
        </style>
      

Pills - API

In this section you will find advanced information about the Pills component. You will learn which modules are required in this component, what are the possibilities of configuring the component, and what events and methods you can use in working with it.


Import statement


            import { mdbTabs } from 'mdbvue';
        

API Reference: Properties

Name Type Default Description Example
tag String 'ul' Changes tabs's wrapper tag <mdb-tabs tag="div" />
active Number 0 Active element index <mdb-tabs :active="1" />
color String 'default' Changes tabs's color <mdb-tabs color="cyan" />
pills Boolean false Changes tabs into pills <mdb-tabs pills />
tabs Boolean false Changes tabs into nav tabs <mdb-tabs tabs />
vertical Boolean false Flex column layout <mdb-tabs vertical />
justify Boolean false Justified layout <mdb-tabs justify />
navClass String Adds new classes to already existing <mdb-tabs navClass="..." />
card Boolean false Changes tabs style into card layout <mdb-tabs card />
header Boolean false Changes tabs style into card header layout <mdb-tabs header />
links Array Nav links data <mdb-tabs :links="[{...}, {...}]" />
content Array Tab content data <mdb-tabs :content="[{...}, {...}]" />
border Boolean false Replace card shadow by border <mdb-tabs border />
zIndex Number 1 Change component z-index value <mdb-tabs zIndex="0" />
gradient String Change color theme to gradient <mdb-tabs gradient="peach" />
outline String Change color theme to outline <mdb-tabs outline="green" />
rounded Boolean Change design to rounded <mdb-tabs rounded />

API Reference: Methods

Name Parameters Description Example
v-on:activeTab index Returns active tab index after each tab change <mdb-tabs @activeTab="getActiveTabIndex" />