CommunityHire an ExpertSign Up
User Groups and PermissionsBlock Visibility
User Groups and Permissions

Block Visibility

Make a block visible to selected user group(s).

This section goes through the process of configuring the visibility of any block in your Softr app.

As soon as you have set up memberships, you can choose which user group you want a particular block to be visible to. This is configured through Visibility tab in block settings and has the following options:

  • All users (selected by default)

  • Logged in users

  • Non Logged in users

Visibility options

Visibility options

If you switch the block visibility to Logged in users or to Non Logged in users, a padlock icon will start appearing on the block, as shown below, indicating that it’s gated content with limited visibility.

Padlock icon indicating limited visibility

Padlock icon indicating limited visibility

For example, the block visibility feature can be used to show a header with log-in/sign-up buttons to non-logged-in users and a different header without buttons to logged-in users (discussed here). But that’s just one case, and there can be many other cases when you need to display/hide a certain block from a different user group, thus having different content for logged-in and non-logged-in users.

Device visibility

Apart from setting block visibility for certain user groups, you can set device-based visibility.

Device visibility options

Device visibility options

By default, Desktop, Tablet, and Mobile options are enabled. You can disable any of the options by clicking on it. In the example below, only logged-in users who are viewing the page on a mobile device will see the block.

Applying device visibility

Applying device visibility

Custom user groups

You can also define more low-level visibility rules for custom user groups. Learn more about User Groups.

Security

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.