useSidebarState
import { useSidebarState } from "@wunderui/react"Installation
useSidebarState comes with WunderUI Core and Pro, in the entry of the package from your plan. See the plans. Then import it:
import { useSidebarState } from "@wunderui/react"Signature
useSidebarState(options?: SidebarStateOptions): SidebarStateParameters
Returns
Notes for AI
Give your coding assistant the page or the MCP call instead of screenshots.
MCP
get_component("useSidebarState")Import
import { useSidebarState } from "@wunderui/react"The full library index for assistants is at /llms.txt.