--- title: '' description: Render components only in client-side with the component. links: - label: Source icon: i-simple-icons-github to: https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/components/client-only.ts size: xs --- The `` component is used for purposely rendering a component only on client side. ::note The content of the default slot will be tree-shaken out of the server build. (This does mean that any CSS used by components within it may not be inlined when rendering the initial HTML.) :: ## Props - `placeholderTag` | `fallbackTag`: specify a tag to be rendered server-side. - `placeholder` | `fallback`: specify a content to be rendered server-side. ```vue ``` ## Slots - `#fallback`: specify a content to be rendered on the server and displayed until `` is mounted in the browser. ```vue [pages/example.vue] ```