Images A multiple cropping component for React Mar 08, 2018 1 min read React Multi Crops A multiple cropping component for React. View demo Download Source Installation npm install react-multi-crops --save Usage import React from 'react' import ReactDOM from 'react-dom' import MultiCrops from 'react-multi-crops' import img from './imgs/kumamon.jpg' class App extends React.Component { state = { coordinates: [], } changeCoordinate = (coordinate, index, coordinates) => { this.setState({ coordinates, }) } deleteCoordinate = (coordinate, index, coordinates) => { this.setState({ coordinates, }) } render() { return <MultiCrops src={img} width={1000} coordinates={this.state.coordinates} onChange={this.changeCoordinate} onDelete={this.deleteCoordinate} /> </div> } } ReactDOM.render( <div> <App /> </div>, document.getElementById('root'), ) Js GitHub beizhedenglong/react-multi-crops?? — Read MoreDownload as zip Images
Images A simple Image to text website built with Next.js Image to text, fast. Built with the Vercel AI SDK, Claude, and Next.js. 18 April 2024
Images Alpaca image generator website Built with ReactJS Alpaca image generator website Built with ReactJS 29 February 2024
Images A React component that converts any image into interactive particles A React component that converts any image into interactive particles. 31 January 2024