Angular Material Design File Input Component Library

Material file input library provides a component to use inside the mat form field of Angular Material, the FileValidator with maxContentSize, to limit file size; and ByteFormatPipe to format the file size in a human-readable format.

material design file upload, style input typefile, custom file input styling, material design form, input typefile design, material design image upload, angular material file upload demo

Convert An HTML File Input Type Into a Fancy File Uploader

How to make use of it:


npm i ngx-material-file-input

1. MaterialFileInputModule

import { MaterialFileInputModule } from 'ngx-material-file-input';

  imports: [
    // the module for this lib

2. NGX_MAT_FILE_INPUT_CONFIG token (optional):

export const config: FileInputConfig = {
  sizeUnit: 'Octet'

// add with module injection
providers: [{ provide: NGX_MAT_FILE_INPUT_CONFIG, useValue: config }];

Material Design File Input Library, material-file-input Plugin/Github

See Demo And Download

Official Website(merlosy): Click Here

This superior jQuery/javascript plugin is developed by merlosy. For extra advanced usage, please go to the official website.

Related Posts


[Icon Picker] Iconpicker for Bootstrap 5 Icons Library

Bootstrap 5-based icon picker which supports any icon libraries like Bootstrap Icons, Font Awesome[], etc. Must Read: 1000+ Pixel Perfect SVG Icons For Vue Components | Unicons How…


Bootstrap Multiple Image Upload with Preview and Delete | ImagesLoader

ImagesLoader is a standard bootstrap image upload plugin that provides an easy-to-use and nice-looking interface for uploading multiple images to a web server. Must Read: HTML 5…


A Lightweight jQuery Plugin for Animating Split-Flap Displays | fallblatt

fallblatt is a lightweight jQuery plugin for animating split screens. This jQuery plugin allows you to include such offers in your web application. Everything from virtual departure…


Dark & Light Switch Mode Toggle for Bootstrap 5

Switching to dark mode is done by toggling HTML tags that include -dark or -light as a category. It is made by manipulating the DOM with JavaScript. The text color also changes depending…


jQuery Plugin for Countdown Timer on HTML Page | SyoTimer

yoTimer jQuery plugin allows you to create digital style countdowns/periodic timers on the webpage, with callbacks support and timezone/translation customization. Features Periodic count with the specified period…


Dynamic, Data-driven Periodic Table built with Vue.js

Periodicity is a dynamic, data-driven periodic table created with Vue.js that uses D3 animations and graphs to show the beauty of periodic trends. Built With vue.js (component…