@inkline/inkline
Version:
Inkline is the Vue.js UI/UX Library built for creating your next design system
44 lines (40 loc) • 1.55 kB
HTML
<i-dropdown placement="top">
<i-button>Top 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>
<i-dropdown placement="bottom">
<i-button>Bottom 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>
<i-dropdown placement="left">
<i-button>Left 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>
<i-dropdown placement="right">
<i-button>Right 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>