
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
vue-form-style-generator
Advanced tools
A Vue 3 plugin for generating customizable form styles with theme support
A Vue 3 plugin for generating customizable form styles with theme support.
npm install vue-form-style-generator
import { createApp } from 'vue'
import App from './App.vue'
import StyleGenerator from 'vue-form-style-generator'
import 'vue-form-style-generator/src/style.css'
const app = createApp(App)
// Use with default theme
app.use(StyleGenerator)
// Or use with dark theme
app.use(StyleGenerator, { theme: 'dark' })
app.mount('#app')
default
: Light theme with blue accent colorsdark
: Dark theme with blue accent colorsimport { formClasses } from 'vue-form-style-generator'
// Available classes:
formClasses.input // Form input styles
formClasses.label // Form label styles
formClasses.button // Form button styles
formClasses.error // Form error message styles
formClasses.container // Form container styles
formClasses.group // Form group styles
<template>
<div :class="formClasses.container">
<form>
<div :class="formClasses.group">
<label :class="formClasses.label">Username</label>
<input type="text" :class="formClasses.input" />
</div>
<button :class="formClasses.button">Submit</button>
</form>
</div>
</template>
<script setup lang="ts">
import { formClasses } from 'vue-form-style-generator'
</script>
You can customize the theme by overriding CSS variables:
:root {
--color-primary: #your-color;
--color-background: #your-color;
/* ... other variables */
}
MIT
FAQs
A Vue 3 plugin for generating customizable form styles with theme support
We found that vue-form-style-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.