List Button Vue Component

List Button is intended to be used inside of the List Vue Component.

Contents

List Button Components

There are following components included:

  • ListButton

ListButton Props

NameTypeDefaultDescription
colorsobject

Object with Tailwind CSS colors classes

colors.bgIosstring'active:bg-primary/15'
colors.bgMaterialstring''
colors.textIosstring'text-primary'
colors.textMaterialstring'text-md-light-primary dark:text-md-dark-primary'
colors.touchRipplestring'touch-ripple-primary'
componentstring'li'

Component's HTML Element

linkComponentstring'a'

Button HTML Element

linkPropsany

Object with additional props (attributes) to pass to the Link/Button

targetstring

Button's link

typestringundefined

Button's

valueany

Button's

Examples

ListButton.vue
<template>
<k-page>
<k-navbar title="List Button" />
<k-list strong outline>
<k-list-button>Button 1</k-list-button>
<k-list-button>Button 2</k-list-button>
<k-list-button>Button 3</k-list-button>
</k-list>
<k-list strong inset>
<k-list-button>Button 1</k-list-button>
<k-list-button>Button 2</k-list-button>
<k-list-button>Button 3</k-list-button>
</k-list>
<k-list strong inset>
<k-list-button class="k-color-brand-red"> Red Button </k-list-button>
</k-list>
</k-page>
</template>
<script>
import {
kPage,
kNavbar,
kNavbarBackLink,
kList,
kListButton,
} from 'konsta/vue';
export default {
components: {
kPage,
kNavbar,
kNavbarBackLink,
kList,
kListButton,
},
};
</script>
Code licensed under MIT.
2025 © Konsta UI by nolimits4web.