Aspect ratio
An aspect ratio crop selector for React for switching a picture between landscape, square and portrait. The crop changes shape between four by three, one to one and three by four while keeping the same area each time. Morph speed and the picture's corners can be adjusted. Useful in photo editors, upload flows and social media tools.

Select · free, with full source
Aspect ratio props
| Name | Type | Default | Description |
|---|---|---|---|
morph | number | 50 | How quickly it changes shape. From 0 to 100. |
corner | number | 20 | The picture's radius. From 0 to 40. |
Free under MIT. Licence