Gathering detailed insights and metrics for react-selecto
Gathering detailed insights and metrics for react-selecto
Gathering detailed insights and metrics for react-selecto
Gathering detailed insights and metrics for react-selecto
testcafe-react-selectors
ReactJS selectors for TestCafe
@fluentui/react-context-selector
React useContextSelector hook in userland
cypress-react-selector
cypress plugin to locate react elements by component, props and state
@grapecity/wijmo.react.grid.selector
UI library for pure JS, Angular, React, Vue and more...
Selecto.js is a component that allows you to select elements in the drag area using the mouse or touch.
npm install react-selecto
Typescript
Module System
Node Version
NPM Version
1.26.3 Release (2023-12-03)
Updated on Dec 03, 2023
1.26.2 Release (2023-12-02)
Updated on Dec 01, 2023
1.26.1 Release (2023-11-11)
Updated on Nov 11, 2023
1.26.0 Release (2023-07-08)
Updated on Jul 07, 2023
1.25.1 Release (2023-07-05)
Updated on Jul 05, 2023
1.25.0 Release (2023-06-22)
Updated on Jun 22, 2023
TypeScript (71.72%)
HTML (13.04%)
JavaScript (7.14%)
Vue (5.01%)
CSS (2.09%)
Svelte (1%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2,147 Stars
397 Commits
89 Forks
12 Watchers
2 Branches
8 Contributors
Updated on Jul 09, 2025
Latest Version
1.26.3
Package Id
react-selecto@1.26.3
Unpacked Size
40.47 kB
Size
11.28 kB
File Count
25
NPM Version
8.3.1
Node Version
16.14.0
Published on
Dec 03, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
React Selecto is a React component that allows you to select elements in the drag area using the mouse or touch.
Demo / API / Main Project
1$ npm install react-selecto
1import Selecto from "react-selecto"; 2 3<Selecto 4 // The container to add a selection element 5 container={document.body} 6 // The area to drag selection element (default: container) 7 dragContainer={window} 8 // Targets to select. You can register a queryselector or an Element. 9 selectableTargets={[".target", document.querySelector(".target2")]} 10 // Whether to select by click (default: true) 11 selectByClick={true} 12 // Whether to select from the target inside (default: true) 13 selectFromInside={true} 14 // After the select, whether to select the next target with the selected target (deselected if the target is selected again). 15 continueSelect={false} 16 // Determines which key to continue selecting the next target via keydown and keyup. 17 toggleContinueSelect={"shift"} 18 // The container for keydown and keyup events 19 keyContainer={window} 20 // The rate at which the target overlaps the drag area to be selected. (default: 100) 21 hitRate={100} 22 onSelect={e => { 23 e.added.forEach(el => { 24 el.classList.add("selected"); 25 }); 26 e.removed.forEach(el => { 27 el.classList.remove("selected"); 28 }); 29 }} 30 />
npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Please give a ⭐️ if this project helped you!
If you have any questions or requests or want to contribute to selecto
or other packages, please write the issue or give me a Pull Request freely.
If you find a bug, please report to us opening a new Issue on GitHub.
This project is MIT licensed.
MIT License
Copyright (c) 2020 Daybrush
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/30 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
117 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More