Guide
Why
Getting Started
API
Button
FramerPlugin
FramerPluginProvider
Icon
ListControls
NumberControls
SegmentedControls
Separator
Spinner
TextControls
useAutoSizer
useDebounce
useDebounceValue
useSelection
useStore
useTheme
asNumberOr
capitalizeWords
Hook
A hook that enables responsive sizing for an element.
const { ref, pluginDimensions, updatePluginDimensions } = useAutoSizer({ enabled: true, options: { resizable: true, width: 300, height: 400 } })
enabled
Whether the auto sizer is enabled.
type
boolean
options
The options of the UI interface.
Options