nr-site
v1.0.74
Published
A modular React component library for building flexible and customizable srs web applications with built-in support for common UI elements like headers, form, table, and more.
Downloads
4,584
Readme
NR-SITE COMPONENTS
This repository contains React components:
-LanguageSwitcher
-Header
-Form
-Table
and [Other Components]
. All components are designed to be reusable, customizable, and fully accessible, providing seamless integration into your React applications.
Contents
Components
LanguageSwitcher Component
The LanguageSwitcher
component allows users to select a language from a list of options. It provides a customizable dropdown with support for custom icons, styles, and callback functions.
Features
- Displays a dropdown for language selection.
- Fully customizable with support for custom icons and CSS classes.
- Supports both default and dynamic language changes.
- Accessible with
aria-*
attributes for improved screen reader support. - Click outside functionality to close the dropdown.
Installation
You can install the LanguageSwitcher
component via npm or yarn:
npm install language-switcher