diff --git a/docs.json b/docs.json
index e78206de1..32a4b6dc8 100644
--- a/docs.json
+++ b/docs.json
@@ -39,6 +39,7 @@
"organize/navigation",
"organize/pages",
"organize/hidden-pages",
+ "organize/hiding-ui-elements",
"organize/mintignore"
]
},
diff --git a/organize/hiding-ui-elements.mdx b/organize/hiding-ui-elements.mdx
new file mode 100644
index 000000000..bb2fc626d
--- /dev/null
+++ b/organize/hiding-ui-elements.mdx
@@ -0,0 +1,338 @@
+---
+title: "Hiding UI elements"
+description: "Control visibility of navigation elements, API sections, and other UI components."
+keywords: ["hide navigation", "hide sidebar", "hide tabs", "hide API sections", "UI visibility", "custom CSS"]
+---
+
+Control which UI elements appear in your documentation. Hide navigation elements, API sections, sidebars, and other components to create a cleaner, more focused user experience.
+
+## Hiding navigation elements
+
+Use the `hidden` property to remove navigation elements from view while keeping them in your configuration.
+
+### Hide pages
+
+Hide individual pages from navigation by setting `hidden: true` in the page's frontmatter:
+
+```yaml
+---
+title: "Internal documentation"
+hidden: true
+---
+```
+
+Hidden pages remain accessible via direct URL but don't appear in navigation, search results, or sitemaps. See [Hidden pages](/organize/hidden-pages) for more details.
+
+### Hide groups
+
+Hide entire groups of pages by setting the `hidden` property in your `docs.json`:
+
+```json
+{
+ "navigation": {
+ "groups": [
+ {
+ "group": "Internal docs",
+ "hidden": true,
+ "pages": ["internal/page1", "internal/page2"]
+ }
+ ]
+ }
+}
+```
+
+### Hide tabs
+
+Hide tabs from the top navigation bar:
+
+```json
+{
+ "navigation": {
+ "tabs": [
+ {
+ "tab": "Beta features",
+ "hidden": true,
+ "pages": ["beta/feature1", "beta/feature2"]
+ }
+ ]
+ }
+}
+```
+
+### Hide anchors
+
+Hide anchors from the sidebar:
+
+```json
+{
+ "navigation": {
+ "anchors": [
+ {
+ "anchor": "Legacy docs",
+ "hidden": true,
+ "pages": ["legacy/overview"]
+ }
+ ]
+ }
+}
+```
+
+### Hide dropdowns
+
+Hide dropdown menus:
+
+```json
+{
+ "navigation": {
+ "dropdowns": [
+ {
+ "dropdown": "Archive",
+ "hidden": true,
+ "pages": ["archive/old-content"]
+ }
+ ]
+ }
+}
+```
+
+## Hiding API documentation sections
+
+Control visibility of API playground and documentation elements.
+
+### Hide the API playground
+
+Hide the interactive API playground globally by setting `display` to `none` in your `docs.json`:
+
+```json
+{
+ "api": {
+ "playground": {
+ "display": "none"
+ }
+ }
+}
+```
+
+Options for `display`:
+- `interactive` - Show the full interactive playground (default)
+- `simple` - Show a copyable endpoint without the playground
+- `none` - Hide the playground entirely
+
+### Hide playground on specific pages
+
+Override the global playground setting for individual API pages using frontmatter:
+
+```yaml
+---
+title: "Create user"
+api: "POST /users"
+playground: "none"
+---
+```
+
+### Hide playground for unauthenticated users
+
+Show the playground only to authenticated users:
+
+```yaml
+---
+title: "Create user"
+api: "POST /users"
+playground: "auth"
+---
+```
+
+When `playground` is set to `auth`:
+- Authenticated users see the interactive playground
+- Unauthenticated users see no playground
+
+Combine with the `groups` property to restrict access to specific user groups:
+
+```yaml
+---
+title: "Admin endpoint"
+api: "POST /admin/users"
+playground: "auth"
+groups: ["admin", "developer"]
+public: true
+---
+```
+
+### Hide specific API sections
+
+Use custom CSS to hide specific sections of API documentation. Create a `style.css` file in your repository:
+
+```css
+/* Hide the Authorization section */
+.api-section[data-section="authorization"] {
+ display: none;
+}
+
+/* Hide the Authentication section */
+.api-section[data-section="authentication"] {
+ display: none;
+}
+```
+
+