shadcn-expansions
Navigation
UI
Utils

magic-back-button

Redirects first-time visitors to the homepage; otherwise, respects browser history.

From shadcn/ui ExpansionsMITSource

navigation
button
back
history
Docs

Source Code