+ To get org information on the client-side, use the [`useOrganization()`](/docs/references/react/use-organization) hook to access the [`organization`](/docs/references/javascript/organization/organization){{ target: '_blank' }} object.
+
+ ```tsx {{ filename: 'src/app/orgs/[slug]/page.tsx' }}
+ 'use client'
+
+ import { OrganizationList, useOrganization } from '@clerk/nextjs'
+
+ export default function Home({ params }: { params: { slug: string } }) {
+ const { organization } = useOrganization()
+
+ if (!organization || organization.slug != params.slug) {
+ return (
+ <>
+ Sorry, organization {params.slug} is not valid.
+
+ >
+ )
+ }
+
+ return {organization &&
Welcome to organization {organization.name}
}
+ }
+ ```
+
+