@inkline/inkline
Version:
Inkline is the intuitive UI Components library that gives you a developer-friendly foundation for building high-quality, accessible, and customizable Vue.js 3 Design Systems.
57 lines (54 loc) • 2.15 kB
HTML
<i-input v-model="prepend" placeholder="Type something..">
<template #prepend>
<i-dropdown>
<i-button>Dropdown</i-button>
<template #body>
<i-dropdown-item>Action</i-dropdown-item>
<i-dropdown-item>Another action</i-dropdown-item>
<i-dropdown-item disabled>Disabled action</i-dropdown-item>
<i-dropdown-divider />
<i-dropdown-item>Separated item</i-dropdown-item>
</template>
</i-dropdown>
</template>
</i-input>
<i-input v-model="append" placeholder="Type something..">
<template #append>
<i-dropdown>
<i-button>Dropdown</i-button>
<template #body>
<i-dropdown-item>Action</i-dropdown-item>
<i-dropdown-item>Another action</i-dropdown-item>
<i-dropdown-item disabled>Disabled action</i-dropdown-item>
<i-dropdown-divider />
<i-dropdown-item>Separated item</i-dropdown-item>
</template>
</i-dropdown>
</template>
</i-input>
<i-input v-model="prependAppend" placeholder="Type something..">
<template #prepend>
<i-dropdown>
<i-button>Dropdown</i-button>
<template #body>
<i-dropdown-item>Action</i-dropdown-item>
<i-dropdown-item>Another action</i-dropdown-item>
<i-dropdown-item disabled>Disabled action</i-dropdown-item>
<i-dropdown-divider />
<i-dropdown-item>Separated item</i-dropdown-item>
</template>
</i-dropdown>
</template>
<template #append>
<i-dropdown>
<i-button>Dropdown</i-button>
<template #body>
<i-dropdown-item>Action</i-dropdown-item>
<i-dropdown-item>Another action</i-dropdown-item>
<i-dropdown-item disabled>Disabled action</i-dropdown-item>
<i-dropdown-divider />
<i-dropdown-item>Separated item</i-dropdown-item>
</template>
</i-dropdown>
</template>
</i-input>