diff --git a/src/components/Sidebar/LayoutSwitcher.tsx b/src/components/Sidebar/LayoutSwitcher.tsx
new file mode 100644
index 0000000..1e7e6b6
--- /dev/null
+++ b/src/components/Sidebar/LayoutSwitcher.tsx
@@ -0,0 +1,53 @@
+import { Button } from '@/components/ui/button'
+import { cn } from '@/lib/utils'
+import { useUserPreferences } from '@/providers/UserPreferencesProvider'
+import { Columns2, PanelLeft } from 'lucide-react'
+
+export default function LayoutSwitcher({ collapse }: { collapse: boolean }) {
+ const { enableSingleColumnLayout, updateEnableSingleColumnLayout } = useUserPreferences()
+
+ if (collapse) {
+ return (
+
+ )
+ }
+
+ return (
+
+
+
updateEnableSingleColumnLayout(false)}
+ >
+
+
+
updateEnableSingleColumnLayout(true)}
+ >
+
+
+
+
+
+ )
+}
diff --git a/src/components/Sidebar/index.tsx b/src/components/Sidebar/index.tsx
index 68a70ce..ed89a76 100644
--- a/src/components/Sidebar/index.tsx
+++ b/src/components/Sidebar/index.tsx
@@ -10,6 +10,7 @@ import AccountButton from './AccountButton'
import BookmarkButton from './BookmarkButton'
import RelaysButton from './ExploreButton'
import HomeButton from './HomeButton'
+import LayoutSwitcher from './LayoutSwitcher'
import NotificationsButton from './NotificationButton'
import PostButton from './PostButton'
import ProfileButton from './ProfileButton'
@@ -50,7 +51,10 @@ export default function PrimaryPageSidebar() {
-
+