1.1.0 • Published 8 months ago
@raddix/switch v1.1.0
Features
- Full support for browser features.
- Accessible to screen reader and keyboard navigation.
- Doesn’t implement any rendering or impose a DOM structure, unstyled.
- Fully-typed API
Installation
Install the primitive from your command line.
yarn add @raddix/switch
#or
pnpm add @raddix/switch
Usage
This is a simple example of how to use it. To see the options and more modes of use here.
import { useSwitch } from '@raddix/switch';
import './styles.scss';
const Switch = props => {
const { switchProps } = useSwitch(props);
return <div {...switchProps} className='switch'></div>;
};
0.0.0-beta-20241025154109
8 months ago
1.1.0
1 year ago
0.0.0-beta-20240704040035
1 year ago
0.0.0-beta-20240703044317
1 year ago
1.0.6
1 year ago
0.0.0-beta-20240225234228
1 year ago
1.0.2
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
0.0.0-beta-20231109045242
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
1.0.0-beta.2
2 years ago
1.0.0-canary.1
2 years ago
1.0.0-beta.1
2 years ago
0.5.0
2 years ago
0.4.1
2 years ago
0.4.0
2 years ago
0.3.1
3 years ago
0.3.0
3 years ago
0.2.0
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago