@aopslabs/xf-ui-controls-react
v0.2.1
Published
Reusable accessible React controls for searchable selection, loading labels, and multilingual fields.
Maintainers
Readme
@aopslabs/xf-ui-controls-react
Reusable React controls for searchable selection, loading labels, and multilingual text input. Components expose class-name hooks so applications can supply their own visual styles.
Installation
npm install @aopslabs/xf-ui-controls-react reactUsage
import {
LoadingDotsLabel,
MlInputField,
SearchableSelect
} from '@aopslabs/xf-ui-controls-react';
<SearchableSelect
items={[
{ id: 'tr', label: 'Turkish' },
{ id: 'en', label: 'English' }
]}
getOptionLabel={(item) => item.label}
getOptionValue={(item) => item.id}
placeholder="Choose a language"
/>;The package also exports MlTextareaField and TypeScript declarations for all component props. It does not include application styles.
License
Copyright (c) 2026 Mehmet Zeki Sönmez.
Licensed under the PolyForm Strict License 1.0.0. The license permits noncommercial use and does not grant permission to modify or redistribute the package.
