Welcome to the Document Viewer project! This web application allows users to view and interact with documents online. You can find the live demo here.
Easily navigate through multi-page documents. Whether your document has 5 pages or more, you can jump to any specific page with ease.
Rotate your document by 90 degrees, either clockwise or anticlockwise, to suit your preferred orientation.
Adjust the zoom level to get a closer or wider view of your document. Zoom in for detailed inspection or zoom out for a broader overview.
Utilize the browser's printing option to create a hard copy of the document. Customize print settings as needed for optimal results.
Download the document with a personalized filename. When clicking on the download button, you'll be prompted to enter the desired name, ensuring the downloaded file reflects your chosen identifier.
Efficiently search for specific keywords within the document. The text search feature makes it easy to locate and navigate to relevant content.
Users can seamlessly upload documents from their local directory. This feature enables you to view and interact with your own files directly within the Document Viewer.
Easily upload documents by dragging and dropping them onto the application. This intuitive feature enhances the user experience by providing a simple and convenient way to add files.
Check out the live demo of the Document Viewer at https://document-viewer-adarsh.netlify.app/.
To run the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/adarshsahu2803/doc-viewer.git
- Navigate to the project directory:
cd doc-viewer
- Start the React App:
npm run dev
Customized button for uniformity in the code base
Responsible for displaying any thing inside the Button Tag
Icon to be displayed next to the current selected breadcrumb item. Example: "icon-park:right"
bash Select
Customized Component for Drag and Drop input.
When user drops a file.
Called when user select a file
- More events can be created for future development.
Responsible for displaying/rendering the PDF