O
Ouro UI

lib-fragment-focus-script · Ouro UI

fragmentFocusScript(), the inline script for the start of <body> that keeps focus in Safari on a page opened at a place on it while a stylesheet loads. No component imports it; add it by name. The helper lib/ouro/fragment-focus-script.ts.

npx shadcn@latest add @ouro/lib-fragment-focus-script
Loading the source for lib-fragment-focus-script…

lib-fragment-focus-script