A UI library provides reusable user-interface components. React uses JavaScript to define components that combine interface structure, behavior, and communication logic, rather than treating each UI as a one-off template. section 1.0
Reusable form components
A form can drop in components such as <Captcha /> or <DatePicker />. An <Autocomplete charNum="4" /> component can query a database after four characters, while a textbox option can connect it to another form element. section 1.0
Use a UI library in several ways:
- Add interactive widgets to a mostly server-rendered website without replacing the rest of the site. section 1.3
- Build client-side web applications, including single-page applications. section 1.3
- Combine the core library with tools such as React Router and Redux when a broader application stack is needed. section 1.3
- Connect the frontend to backends written in Java, Ruby, Go, Python, Node, or Deno, and to separate frontend data libraries. section 1.3
A UI library is narrower than a full web application framework. Its strength is reusable, composable interface work; additional libraries may supply routing, data handling, or other application concerns. section 1.0 section 1.3


