A Vue 3 component library using Sonnat Design System with TailwindCSS 4, providing elegant and accessible web components.
npm install sonnat-vue
# or
yarn add sonnat-vue
import { createApp } from 'vue'
import SonnatVue from 'sonnat-vue'
import 'sonnat-vue/dist/style.css'
const app = createApp(App)
app.use(SonnatVue)
app.mount('#app')
<script setup>
import { SButton, SInput } from 'sonnat-vue'
</script>
<template>
<div>
<s-button variant="primary">Click me</s-button>
<s-input placeholder="Enter text..." />
</div>
</template>
SButton
- Button component with primary and secondary variantsSInput
- Text input componentSCard
- Card container componentSCheckbox
- Checkbox input componentSRadio
- Radio input componentSSelect
- Select dropdown componentSModal
- Modal dialog componentSTooltip
- Tooltip component
- 🎨 Beautiful design based on Sonnat Design System
- 🌟 Modern Vue 3.5 Composition API
- 🎯 Written in TypeScript
- 🎭 Fully accessible components
- 📦 TailwindCSS 4 integration
- 🚀 Tree-shakeable exports
- 📱 Responsive and mobile-friendly
# Install dependencies
yarn install
# Start development server
yarn dev
# Build for production
yarn build
# Run tests
yarn test
# Lint code
yarn lint
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
MIT License - see the LICENSE file for details