This component no longer exists. It was in diceui/base’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-13 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
use-isomorphic-layout-effect
diceui-base/use-isomorphic-layout-effectRemovedHook
diceui/base publishes no description for this item.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/sadmann7/diceui/HEAD/docs/public/r/styles/base-vega/use-isomorphic-layout-effect.jsonSource
1import * as React from "react";23const useIsomorphicLayoutEffect =4 typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;56export { useIsomorphicLayoutEffect };
