Vue port of shadcn-ui
shadcn-vue is an unofficial community-led Vue port of shadcn/ui. It is a project born out of the need for a similar project for the Vue ecosystem. With shadcn-vue, you get accessible and customizable components that you can easily copy and paste into your apps. It is free, open source, and provides a way to build your own component library.
To install shadcn-vue, you can follow these steps:
npm install shadcn-vue
import { Button, Card, Modal } from 'shadcn-vue';
<template>
<div>
<Button @click="handleButtonClick">Click Me</Button>
<Card>
<!-- Card content here -->
</Card>
<Modal v-model="showModal">
<!-- Modal content here -->
</Modal>
</div>
</template>
<script>
export default {
data() {
return {
showModal: false
}
},
methods: {
handleButtonClick() {
// Button click handler logic here
}
}
}
</script>
shadcn-vue is a community-led Vue port of shadcn/ui, providing accessible and customizable components for Vue applications. It is a free and open source project that allows you to build your own component library. With easy installation and integration into the Vue ecosystem, shadcn-vue is a valuable resource for developers looking to enhance their Vue applications with beautiful and functional components.