New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

djvuefileinput

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

djvuefileinput

The best and simplest File Input component for Vue 3, UI independent and no dependency

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

DjVueFileinput - Custom File Input component for Vue3

Version 1.0.0

The best and simplest File Input component for Vue 3, UI independent and no dependency.

Features

  • without dependency
  • works with v-model as standard text input
  • Supports simple and multiple selection
  • Customizable style with css variables
  • Deselect file(s) option
  • Preview option with customizable size and type
  • Preview shows filename and size

SHOW DEMO HERE!!!

Install

npm install djvuefileinput --save

Import

import DjFileinput from 'djvuefileinput'

Using

<FileInput  v-model="myfile" />

The type of v-model is 'File' for simple selection and File Array for multiple selection.

Available properties

PropTypeDefaultDescription
previewBooleantrueIndicates if show a thumbnail of the selected image, or an icon if it is not an image.
multipleBooleanfalseIndicates whether or not multiple files are allowed
widthString'100%'Width of thumbnail if visible
heightString'100%'Height of thumbnail if visible
typeString'square'type of thumbnail if visible ('square' or 'circle')

css vars

  • --dj-fileinput-btn-bg
  • --dj-fileinput-btn-border
  • --dj-fileinput-btn-color
  • --dj-fileinput-close-btn-bg
  • --dj-fileinput-close-color

Documentation

You can find full documentation and examples here

Author

The DjVueFileinput vue component was written by David Esneyder Jerez Garnica.

Linkedin

esneyderg357@gmail.com

License

Copyright (c) 2025 David Esneyder Jerez Garnica. Released under the GPL v3 license.

Keywords

vue

FAQs

Package last updated on 28 Jul 2025

Did you know?

Socket

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.

Install

Related posts