Skip to content

Resizable

A brutal layout block bounded by thick borders that users can rescale to fit their content needs.

Basic Usage

The component is functionally identical to the native CSS resize property, except the resizer thumb uses the signature Neobrutalism dotted pattern instead of native browser graphics.

loading

API

Props

PropertyTypeDefaultDescription
direction'both' | 'horizontal' | 'vertical' | 'none''both'Allowable directions to stretch the container.
minWidthstring'200px'Defines minimum pixel/rem boundary.
minHeightstring'100px'Defines minimum vertical boundary.
maxWidthstring''Defines maximum horizontal boundary.
maxHeightstring''Defines maximum vertical boundary.

MIT License