Found 90 Articles for ReactJS

How to customize checkboxes in Material UI?

Tarun Singh
Updated on 30-Oct-2023 11:20:42

34 Views

Material UI, a used frontend library offers a variety of pre designed and customizable UI components. When building forms or applications that require user input and selections checkboxes are commonly used. However, what if you want to personalize your checkboxes with attributes, like size, color, design, text, icons and more? Luckily Material UI has you covered with its customization options that allow you to easily style checkboxes according to your applications design and branding needs. In this article, we will explore the process of customizing checkboxes in Material UI. Before diving, in it is important to have a React project ... Read More

How to customize autocomplete components in Material UI?

Tarun Singh
Updated on 30-Oct-2023 11:19:19

72 Views

In this article, we will learn how to customize the autocomplete components in Material UI. Popular React UI framework Material UI provides a wide range of components with contemporary and elegant designs. Autocomplete, which offers users suggestions in real−time as they work with input fields, is one such flexible component. Autocomplete components can be easily customized also with the help of some props that are available in the documentation of Material UI. The props like renderTags and renderInput can help customize the input autocomplete component. The Autocomplete component not only improves the user experience but also allows for seamless customization, ... Read More

How to create loading buttons in Material UI?

Tarun Singh
Updated on 30-Oct-2023 11:17:57

324 Views

The loading buttons, or simply the spinners that are used in the buttons, are a way to demonstrate that the state of a component is being loaded. The loading button can be used to display the progress of your projects as they load. They are solely made of Material UI, so your application will not require the use of any other libraries. Specific utility classes can be used to easily customize their shape, size, and alignment. In this article, we are going to learn how to create loading buttons in Material UI. Before going further in the article, we need ... Read More

How to Validate Mobile Number Length in ReactJS?

Rushi Javiya
Updated on 08-Sep-2023 12:58:57

671 Views

Nowadays, validation of mobile number input is a required feature for any application, and it requires validation of the length of the mobile number. Many apps use the mobile number for authentication purposes, sending OTP to users' mobile numbers for successful authentication. If the user enters the wrong mobile number, the app can face issues with sending OTP. So, before the user submits the mobile number for registration or authenticates the app, our app should validate the length of the mobile number. This tutorial will teach us various approaches to validating a mobile number using ReactJs. Before we start, users ... Read More

Destructuring of Props in ReactJS

Prince Yadav
Updated on 26-Jul-2023 15:18:21

4K+ Views

ReactJS is a popular JavaScript library that has gained immense popularity in the last few years. It provides an efficient way to build complex user interfaces with reusable components. One of the essential features that make ReactJS a powerful tool is the way it handles props. Props are properties that are passed down to components, allowing for customization and dynamic rendering of data. Destructuring of Props is a feature in ReactJS that makes it easier to handle props in components. In this tutorial, we'll explore the concept of destructuring in JavaScript and how it can be used in ReactJS to ... Read More

How to Create a Time Picker in ReactJS ?

Rohan Singh
Updated on 18-Jul-2023 15:27:21

853 Views

ReactJS is a popular JavaScript library for building user interfaces. It provides developers with a flexible and efficient way to create interactive web applications. Time pickers are commonly used in applications where users need to select a specific time slot for booking appointments, scheduling events, or reserving resources. A time picker allows users to easily select the desired time and ensures accurate time allocation. In this article, we will create a time picker in steps using reactjs. Setting Up the React App First, let's set up a new React application using Create React App. Open your terminal and run the ... Read More

Difference Between AngularJS and ReactJS

Pradeep Kumar
Updated on 19-Apr-2023 17:10:32

110 Views

Two well-liked JavaScript-based front-end web development frameworks used to create contemporary online apps are AngularJS and ReactJS. Although though both frameworks can handle data-driven applications, for example, they differ greatly in terms of their design, programming paradigms, and development strategies. Developers must be aware of the differences between AngularJS and ReactJS in order to choose the best framework for their individual project requirements. We will compare and contrast AngularJS and ReactJS in this lesson, outlining their advantages and disadvantages to assist developers in selecting the ideal framework for their web development projects. What is AngularJS? An open-source front-end web ... Read More

How to Send Axios Delete to the Backend ReactJS in JavaScript

Nikesh Jagsish Malik
Updated on 17-Apr-2023 16:06:15

3K+ Views

What is Send Axios Delete? Deleting data from a backend using ReactJS and Axios can be a challenging task. However, with the right approach and knowledge, you can easily achieve this task. In this article, we'll explore how to send an Axios delete request to the backend in ReactJS using JavaScript. We'll cover two different approaches with code and explanations, as well as two working examples. So, let's dive in! Algorithm To commence our discourse, it is of utmost importance to apprehend the procedure for transmitting an Axios obliteration entreaty to the back end when utilizing ReactJS. Here are the ... Read More

How to Add Dark Mode in ReactJS using Tailwind CSS?

Aayush Mohan Sinha
Updated on 10-Apr-2023 15:01:00

2K+ Views

Dark mode has become one of the important aesthetic additions that one might think in recent years. It offers several benefits like reduced eye strain, improved accessibility, and a modern aesthetic. And this might be tempting enough for you to add this functionality to your web pages. And this might even be way easier than you might actually think. By combining two of the most widely used frameworks ReactJS and Tailwind CSS, you can add dark mode to your web pages quickly and easily. useState() Hook useState is a hook in React that allows you to add state to your ... Read More

How to Hot-Reload in ReactJS Docker?

Hemant Sharma
Updated on 28-Dec-2022 11:17:20

9K+ Views

Hot-Reloading is adding dynamic functionality to the react application on the web browser. This means if we change something in the code of the application it immediately reflects this change on the web application front. But before “reloading” anything we must know “loading”, that is to make some ReactJs project on the Node Docker container. Creation and Containerization of React App Step 1: React app Use the prebuild commands to create a basic react application. Example $npx create-react-app reactapp Output npx: installed 67 in 19.076s Creating a new React app in /home/hemant/project/reactapp. Installing packages. This might take ... Read More

Advertisements