Logout

The user-menu item that signs the user out.

Installation

pnpm dlx shadcn@latest add @chelone/logout

The user-menu item that signs the user out.

Props

PropTypeDefaultDescription
classNamestring—
iconReactNode—Custom icon rendered alongside the logout label. Defaults to a power icon.
redirectTostring—Path the user is redirected to after logout. Passed through to the authProvider's `logout` params.