/syncfusion-vue:syncfusion-vue-inputsfrom Syncfusion Vue UI Components
Comprehensive guide for implementing Syncfusion Vue 3 input components including Uploader, NumericTextBox, TextBox, TextArea, CheckBox, OTP Input, Signature, RangeSlider, ColorPicker, MaskedTextBox, and Rating. Use this when building file upload UIs with async/chunk uploads, drag-and-drop functionality, numeric inputs with validation and formatting, text inputs with floating labels, custom adornments, form integration, accessibility compliance, and styling in Vue 3 applications.
Ships in Syncfusion Vue UI Components. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Syncfusion Vue UploaderComponent provides a rich file upload control with async upload, drag-and-drop, chunk upload with pause/resume/cancel, validation, templates, form integration, and accessibility support.
🛑 Agentic use: Do not execute multiple steps autonomously. Confirm with the user before each action (install, run, file creation).
📄 Read: references/uploader-getting-started.md
@syncfusion/ej2-vue-inputs 🛑 STOP — Do not install packages autonomously. Ask the user to run: npm install @syncfusion/ej2-vue-inputs. Verify with npm auditUploaderComponent usage in Vue 3 SFC (Single File Component)📄 Read: references/uploader-async-upload.md
asyncSettings with saveUrl and removeUrl in Vue data()multiple)autoUpload)sequentialUpload)files property)uploading/removing events📄 Read: references/uploader-chunk-upload.md
asyncSettings.chunkSizeretryCount, retryAfterDelay)pause, resume methods)cancel method)chunkSuccess and chunkFailure events📄 Read: references/uploader-validation.md
allowedExtensions)minFileSize, maxFileSize)selected event📄 Read: references/uploader-file-source.md
directoryUpload)dropArea)📄 Read: references/uploader-template-customization.md
template property (Vue slots)showFileList: falsebuttons property)📄 Read: references/uploader-advanced-how-to.md
upload method, getFilesData)📄 Read: references/uploader-api.md
allowedExtensions, asyncSettings, autoUpload, buttons, cssClass, directoryUpload, dropArea, dropEffect, enabled, files, htmlAttributes, locale, maxFileSize, minFileSize, multiple, sequentialUpload, showFileList, template, and more)upload, remove, cancel, pause, resume, retry, clearAll, getFilesData, bytesToSize, createFileList, sortFileList)uploading, success, failure, selected, removing, change, progress, chunkSuccess, chunkFailure, chunkUploading, actionComplete, beforeRemove, beforeUpload, canceling, clearing, fileListRendering, pausing, resuming, created)<template>
<div class="uploader-container">
<h1>File Uploader</h1>
<UploaderComponent
ref="uploaderRef"
:asyncSettings="asyncSettings"
:autoUpload="false"
:multiple="true"
@success="onSuccess"
@failure="onFailure"
/>
</div>
</template>
<script setup>
import { ref } from 'vue';
import { UploaderComponent } from '@syncfusion/ej2-vue-inputs';
import '@syncfusion/ej2-base/styles/material.css';
import '@syncfusion/ej2-buttons/styles/material.css';
import '@syncfusion/ej2-inputs/styles/material.css';
import '@syncfusion/ej2-popups/styles/material.css';
import '@syncfusion/ej2-vue-inputs/styles/material.css';
// Component reference for imperative access
const uploaderRef = ref(null);
// Async settings with server endpoints
// ⚠️ Replace with your own server-side endpoints.
// Never use third-party demo URLs in production — files will be sent to that external server.
const asyncSettings = {
saveUrl: '/api/upload/save',
removeUrl: '/api/upload/remove'
};
// Success handler
const onSuccess = (args) => {
console.log('Upload operation:', args.operation, 'File:', args.file.name);
};
// Failure handler
const onFailure = (args) => {
console.error('Upload failed:', args.file.name);
};
</script>
<style scoped>
.uploader-container {
padding: 20px;
max-width: 600px;
margin: 0 auto;
}
</style>
<template>
<UploaderComponent
:asyncSettings="{ saveUrl: '/api/upload/save', removeUrl: '/api/upload/remove' }"
:allowedExtensions="'.pdf,.doc,.docx'"
:maxFileSize="5000000"
:multiple="true"
:autoUpload="true"
/>
</template>
<script setup>
import { UploaderComponent } from '@syncfusion/ej2-vue-inputs';
</script>
<template>
<UploaderComponent
ref="uploaderRef"
:asyncSettings="{ saveUrl: '/api/upload/save', removeUrl: '/api/upload/remove' }"
:autoUpload="false"
:buttons="{ browse: 'Choose File', clear: 'Clear All', upload: 'Upload All' }"
@success="onSuccess"
/>
</template>
<script setup>
import { ref } from 'vue';
import { UploaderComponent } from '@syncfusion/ej2-vue-inputs';
const uploaderRef = ref(null);
const onSuccess = (args) => {
console.log('Files uploaded successfully');
};
</script>
Use the NumericTextBox for numeric input with formatting, validation, spinners, and decimal precision.
📄 Read: references/numerictextbox-getting-started.md
📄 Read: references/numerictextbox-formats-and-validation.md
📄 Read: references/numerictextbox-precision-decimals.md
📄 Read: references/numerictextbox-api.md
<template>
<div class="numeric-input">
<label>Enter Amount:</label>
<NumericTextBoxComponent
v-model="amount"
:format="'c2'"
:min="0"
:max="10000"
@change="onAmountChange"
/>
<p v-if="amount">Total: {{ amount }}</p>
</div>
</template>
<script setup>
import { ref } from 'vue';
import { NumericTextBoxComponent } from '@syncfusion/ej2-vue-inputs';
const amount = ref(100);
const onAmountChange = (args) => {
console.log('Amount changed to:', args.value);
};
</script>
Use the TextBox for text input with floating labels, icons, and validation.
📄 Read: references/textbox-getting-started.md
📄 Read: references/textbox-api.md
<template>
<div class="textbox-container">
<TextBoxComponent
v-model="userName"
placeholder="Enter your name"
:floatLabelType="'Auto'"
@change="onTextChange"
/>
</div>
</template>
<script setup>
import { ref } from 'vue';
import { TextBoxComponent } from '@syncfusion/ej2-vue-inputs';
const userName = ref('');
const onTextChange = (args) => {
console.log('Username:', args.value);
};
</script>
Use the TextArea for multi-line text input with auto-resize, character count, and floating labels.
📄 Read: references/textarea-getting-started.md
📄 Read: references/textarea-api.md
<template>
<div class="textarea-container">
<TextAreaComponent
v-model="message"
placeholder="Enter your message"
:floatLabelType="'Auto'"
:maxLength="500"
/>
<p>{{ message.length }} / 500</p>
</div>
</template>
<script setup>
import { ref, computed } from 'vue';
import { TextAreaComponent } from '@syncfusion/ej2-vue-inputs';
const message = ref('');
const characterCount = computed(() => message.value.length);
</script>
Use the CheckBox for single and grouped selections with accessibility support.
📄 Read: references/checkbox-getting-started.md
📄 Read: references/checkbox-api.md
<template>
<div class="checkbox-container">
<div class="checkbox-group">
<CheckBoxComponent
v-for="option in options"
:key="option.id"
v-model="selectedOptions"
:value="option.id"
:label="option.name"
/>
</div>
<p>Selected: {{ selectedOptions.join(', ') }}</p>
</div>
</template>
<script setup>
import { ref } from 'vue';
import { CheckBoxComponent } from '@syncfusion/ej2-vue-inputs';
const selectedOptions = ref([]);
const options = ref([
{ id: 1, name: 'Option 1' },
{ id: 2, name: 'Option 2' },
{ id: 3, name: 'Option 3' }
]);
</script>
For complete documentation on other input components, refer to these guides:
<script setup>
import { ref, reactive } from 'vue';
// Simple scalar value
const count = ref(0);
// Complex object (used for component state)
const formData = reactive({
name: '',
email: '',
phone: ''
});
// Access reactive values
formData.name = 'John';
console.log(count.value); // Note: .value required in script, not in template
</script>
<template>
<!-- Vue 3 component v-model -->
<NumericTextBoxComponent v-model="amount" />
<!-- Native HTML element -->
<input v-model="userName" />
</template>
<script setup>
import { ref } from 'vue';
const amount = ref(0);
const userName = ref('');
</script>
<template>
<UploaderComponent @success="onSuccess" @failure="onFailure" />
</template>
<script setup>
const onSuccess = (args) => {
console.log('Event args:', args);
};
const onFailure = (args) => {
console.error('Error:', args);
};
</script>
<template>
<UploaderComponent ref="uploaderRef" />
<button @click="uploadFiles">Upload</button>
</template>
<script setup>
import { ref } from 'vue';
const uploaderRef = ref(null);
const uploadFiles = () => {
if (uploaderRef.value) {
uploaderRef.value.upload(); // Call component method
}
};
</script>
<template>
<p>Total: {{ total }}</p>
</template>
<script setup>
import { ref, computed } from 'vue';
const items = ref([
{ price: 10, quantity: 2 },
{ price: 20, quantity: 1 }
]);
const total = computed(() => {
return items.value.reduce((sum, item) => sum + item.price * item.quantity, 0);
});
</script>
<script setup>
import { ref, watch } from 'vue';
const amount = ref(0);
watch(amount, (newValue, oldValue) => {
console.log(`Amount changed from ${oldValue} to ${newValue}`);
// Perform side effect (API call, etc.)
});
// Deep watch for complex objects
watch(
() => formData,
(newValue) => {
console.log('Form data changed:', newValue);
},
{ deep: true }
);
</script>
<script setup>
import { ref, onMounted, onUnmounted } from 'vue';
const isLoading = ref(false);
onMounted(() => {
console.log('Component mounted');
isLoading.value = true;
});
onUnmounted(() => {
console.log('Component unmounted');
// Cleanup resources
});
</script>
<template>
<!-- Parent component -->
<CustomComponent>
<template #header>
<h1>Custom Header</h1>
</template>
<template #default="{ item }">
<p>{{ item.name }}</p>
</template>
</CustomComponent>
</template>
<script setup>
import CustomComponent from './CustomComponent.vue';
</script>
| React Hook | Vue 3 Equivalent | Purpose |
|---|---|---|
useState(value) | ref(value) | Reactive state |
useContext(Context) | inject('key') | Access provided values |
useEffect() | watch(), onMounted() | Side effects |
useCallback() | Inline functions or computed() | Memoized functions |
useMemo() | computed() | Memoized values |
useRef() | ref() | DOM/component reference |
useReducer() | reactive() + state logic | Complex state management |
Vue 3:
<script setup>
defineProps({
label: String,
disabled: Boolean
});
defineEmits(['click']);
</script>
<template>
<button @click="$emit('click')" :disabled="disabled">{{ label }}</button>
</template>
Vue 3:
<template>
<button @click="handleClick">Click</button>
</template>
<script setup>
const handleClick = (e) => {
console.log(e.currentTarget);
};
</script>
Vue 3:
<p v-if="isVisible">Visible</p>
<component :is="condition ? 'A' : 'B'" />
Vue 3:
<div v-for="item in items" :key="item.id">{{ item.name }}</div>
npm install @syncfusion/ej2-vue-inputs
npm install @syncfusion/ej2-base
// main.ts or main.js
import { registerLicense } from '@syncfusion/ej2-base';
registerLicense('Your_License_Key');
<script setup>
import '@syncfusion/ej2-base/styles/material.css';
import '@syncfusion/ej2-inputs/styles/material.css';
</script>
<template>
<UploaderComponent ref="uploaderRef" :asyncSettings="asyncSettings" />
</template>
<script setup>
import { ref } from 'vue';
import { UploaderComponent } from '@syncfusion/ej2-vue-inputs';
</script>
Use v-model for two-way binding and form submission handling:
<template>
<form @submit.prevent="submitForm">
<NumericTextBoxComponent v-model="form.amount" />
<TextBoxComponent v-model="form.name" />
<button type="submit">Submit</button>
</form>
</template>
<script setup>
import { ref } from 'vue';
import { reactive } from 'vue';
const form = reactive({
amount: 0,
name: ''
});
const submitForm = () => {
console.log('Form submitted:', form);
};
</script>
Handle errors gracefully with try-catch and error states:
<template>
<div v-if="error" class="error">{{ error }}</div>
<UploaderComponent v-else @failure="handleError" />
</template>
<script setup>
import { ref } from 'vue';
const error = ref(null);
const handleError = (args) => {
error.value = `Error: ${args.statusText}`;
setTimeout(() => {
error.value = null;
}, 5000);
};
</script>
Always include proper ARIA labels and semantic HTML:
<template>
<div class="form-group">
<label for="name">Name:</label>
<TextBoxComponent id="name" aria-label="Full name" />
</div>
</template>
<script setup>
import { TextBoxComponent } from '@syncfusion/ej2-vue-inputs';
</script>
Solution: Ensure you've imported styles and registered the component correctly.
Solution: Use v-model for Vue 3 components, not .sync (deprecated).
Solution: Ensure event names are in camelCase and use @ prefix for event binding.
Solution: Remember to call .value in script setup, not in template.
references/accessibility-guide.md (opens in a new tab)references/checkbox-accessibility.md (opens in a new tab)references/checkbox-api.md (opens in a new tab)references/checkbox-getting-started.md (opens in a new tab)references/checkbox-how-to.md (opens in a new tab)references/checkbox-label-and-size.md (opens in a new tab)references/checkbox-states.md (opens in a new tab)references/checkbox-style-and-appearance.md (opens in a new tab)references/colorpicker-accessibility.md (opens in a new tab)references/colorpicker-api.md (opens in a new tab)references/colorpicker-getting-started.md (opens in a new tab)references/colorpicker-integration-and-advanced.md (opens in a new tab)references/colorpicker-localization-and-rtl.md (opens in a new tab)references/colorpicker-modes-and-value.md (opens in a new tab)references/colorpicker-palette-features.md (opens in a new tab)references/colorpicker-ui-customization.md (opens in a new tab)references/form-integration-guide.md (opens in a new tab)references/masked-textbox-api.md (opens in a new tab)references/maskedtextbox-adornments.md (opens in a new tab)references/maskedtextbox-api.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-vue49 skills in this plugin
/syncfusion-vue-3d-chartImplementing Syncfusion Vue 3D Chart component for interactive 3D data visualization. Use this skill ALWAYS when user needs to create 3D charts, visualize data in 3D columns/bars, customize 3D chart axes, configure 3D chart types, style 3D chart appearance, implement user interactions like tooltips and selection, or export/print 3D charts. Essential for displaying multidimensional data with rotation, perspective, and enhanced visual appeal./syncfusion-vue-3d-circular-chartCreate interactive 3D pie and donut charts using Syncfusion Vue components. Use this skill whenever the user needs to visualize data as circular/pie charts with 3D perspective, create donut visualizations, add data labels to charts, customize chart legends, tooltips, empty points and animations. Trigger when user mentions 3D charts, pie charts, donut charts, circular visualizations, 3D pie, data visualization, chart rotation, chart interactivity, or circular types./syncfusion-vue-accumulation-chartMaster Syncfusion Vue Accumulation Charts for building pie, doughnut, funnel, and pyramid visualizations. Always includes data binding, legend configuration, data labels, and accessibility features. Immediately implement any chart type, customize styling, configure legends, format data labels, and add drill-down interactivity using ALWAYS comprehensive examples and patterns./syncfusion-vue-ai-assistviewImplement the Syncfusion Vue AI AssistView component. Use this skill whenever the user needs to create conversational AI interfaces, chatbots, prompt-response systems, or integrate AI services like OpenAI, Gemini, or Claude into Vue applications. Includes setup, prompt management, suggestions, customization, event handling, templates, markdown responses, AI service integration, chain of thoughts visualization, generative UI with dynamic tools, text-to-speech audio conversion, telemetry tracking for AI metrics (duration, tokens, tool calls), and mentions in the prompt editor./syncfusion-vue-barcodeCreate and customize barcode, QR code, and Data Matrix components using Syncfusion Vue Barcode Generator. Use this skill when implementing barcode generation, QR code creation, Data Matrix codes, export functionality, and barcode styling. Covers Syncfusion's BarcodeGenerator, QRCodeGenerator, and DataMatrixGenerator components for Vue applications (Composition API and Options API)./syncfusion-vue-blockeditorImplement Syncfusion Vue BlockEditor component for block-based content editing with rich text, images, tables, and interactive blocks. Use this skill ALWAYS when user needs block editor, notion-style editor, content blocks, rich text blocks, document editor with blocks, modular content editor, or mentions @syncfusion/ej2-vue-blockeditor, BlockEditor, block-based editing, content management editor, collaborative editing, real-time collaboration. Covers all 14 block types, 5 content types, drag-and-drop, menus, methods, events, real-time collaborative editing with Yjs support, user presence and remote cursors, version history, and Composition API patterns.