FormKit Inputs
Enhanced input types for FormKit
A collection of additional input types to use with FormKit.
How to use
Install it in your project
npm install @kgierke/formkit-inputs
# Install it in your project
yarn add @kgierke/formkit-inputs
Initialize FormKit with the plugin:
import createApp from "vue";
import App from "./App.vue";
import { defaultConfig, plugin } from "@formkit/vue";
import { createFormKitInputsPlugin } from "@kgierke/formkit-inputs";
const formKitInputPlugin = createFormKitInputsPlugin();
const app = createApp(App);
app
.use(
plugin,
defaultConfig({
plugins: [formKitInputPlugin],
})
)
.mount("#app");
Enjoy!
<FormKit type="image" name="image" label="Image" />