
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
react-responsive-select
Advanced tools
A React customisable, touchable, single-select / multi-select form component. Built with keyboard and screen reader accessibility in mind.
A customisable, touchable, React single-select / multi-select form control.
Built with keyboard and screen reader accessibility in mind.
Install the dependency - https://www.npmjs.com/package/react-responsive-select
npm install react-responsive-select -save-dev
Example usage:
import React from 'react';
import RRS from 'react-responsive-select';
const onChange = (newValue) => console.log('onChange', newValue);
const onSubmit = () => console.log('onSubmit');
const Form = () => (
<form>
<RRS
name="make"
options={[
{ text: 'Any', value: 'null' },
{ text: 'Oldsmobile', value: 'oldsmobile', markup: <span>Oldsmobile</span> },
{ text: 'Ford', value: 'ford', markup: <span>Ford</span> }
]}
selectedValue="oldsmobile"
onSubmit={onSubmit}
onChange={onChange}
caretIcon={<CaretIcon />}
/>
</form>
);
https://benbowes.github.io/react-responsive-select/
https://benbowes.github.io/react-responsive-select/?path=/story/info--api
https://benbowes.github.io/react-responsive-select/?path=/story/info--screen-reader-demo
*.stories.tsx
files in here: https://github.com/benbowes/react-responsive-select/tree/master/src/storiesThe Codepen examples are consuming react-responsive-select via CDN if you'd like a guide.
Have a read of README_BUSINESS_RULES.md
FAQs
A customisable, touchable, React single-select / multi-select form control.
The npm package react-responsive-select receives a total of 1,592 weekly downloads. As such, react-responsive-select popularity was classified as popular.
We found that react-responsive-select demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.