Calendar
Display your data in a calendar layout.
The Calendar Block provides a dynamic way to display and manage date-based information. Perfect for organizing schedules, tracking deadlines, or visualizing project timelines, it helps users see upcoming events and tasks at a glance.
Use case examples
- Project Timelines: Map out project milestones, deadlines, and task timelines.
- Company Calendar: Coordinate team schedules by visualizing meeting times, vacation days, and work shifts in a single shared calendar. Use color coding to distinguish between team members or event types.
- Training Sessions: Schedule employee training events and allow easy access to session times, locations, and participant lists.
Calendar block is available for Professional, Business, and Enterprise plans.
Configure a Calendar block
Source
The Source panel connects the list block to your data source. Here, you can:
- Connect the list block to your data source.
- Set up conditional filters to display only the data that meets specific criteria.
- Define sorting rules and set the number of items to display per page.
- Customize the empty state message that appears when no data matches the requirements.
Once you connect to your source data, you can configure Content, Actions, and block Visibility settings.
Some configuration options depend on the data source. For more details, check the documentation for your specific data source.
Content
In the Content tab, customize the Calendar layout data fields, adjust their display, and add features like search and filters to help users find information quickly.
Event fields
The Calendar block uses default event fields to display your events. Make sure to map the following required fields:
- Event Title: Displays the name of the event on the calendar.
- Start Time: Specifies when the event begins, shown on the calendar.
- End Time: Specifies when the event ends, shown on the calendar.
If you’re using GSheet as your data source you can specify if the date field includes time and define the time format you would like it to be displayed.
Calendar Views
Customize how users interact with the calendar by enabling multiple view options. Available views include:
- Month View: Ideal for an overview of all events within a month.
- Week View: Focuses on events for a single week, with detailed time slots.
- Day View: Displays events for a single day, perfect for detailed scheduling.
- Agenda View: Lists events in chronological order for a streamlined overview.
You can decide which views are available for your users and set a default view they will see when they open the calendar.
Event Popover
The Event Popover appears when a user clicks on an event. By default, it includes:
- Event Title
- Event start and end date
You can customize the popover to include additional fields from your data source, such as location, description, or tags, providing more context for each event.
Item fields
Item Fields lets you connect fields from your data source to each list item, making it easy to display the information you need. You can control what information appears by adding, removing, or rearranging fields such as task names, assignees, or descriptions.
For each field in the Item Fields section, you can customize the following options:
- Type: Defines the display field type that controls how content appears in the block (e.g., text, checkbox, or image).
- Content: Chooses the specific data field from connected data sources to display.
- Label (Optional): Adds context to the field. If left blank, the label will not be visible to users.
Note: Some display field types are compatible only with specific data formats. For example, if a field is set to display images, you cannot map it to text data. Ensure the field type matches your data source field format to avoid display issues.
Supported field types
Display Field | Description |
Text | Displays plain text. Ideal for names, titles, or short descriptions. |
Rich Text | Supports long text, markdown, or HTML formatting. Allows for more detailed descriptions or notes. |
Headings | Various heading sizes. |
Email | Displays email addresses as clickable mailto links, allowing users to start an email directly. |
URL | Displays website links as clickable URLs, allowing users to navigate to external pages. |
Tag | Allows you to display one or more tags, helpful for organizing items by category or status. |
File | Provides a link for users to download attachments, such as PDFs or other documents. |
Video | Embed video content from a supported source, allowing users to watch content directly in the block. |
Audio | Embed audio files, letting users listen to content directly within the block. |
Image | Displays a single image, useful for things like profile pictures or product images. |
Image gallery | Displays multiple images in a gallery format, useful for showcasing a collection of visuals. |
Embed | Allows you to embed content from other services, such as YouTube videos, Calendly, or social media posts. |
Rating | Displays a rating system, typically with stars, to visually represent ratings or scores. |
Checkbox | Shows a checkbox, useful for indicating completed items or allowing users to mark items as done. |
Divider | Visual content separator. |
Search bar
The Search Bar allows users to search through items in your block, making it easier to find specific entries quickly.
You can configure which parameters you want the search to be performed by adding fields to Search by input. For instance, if you’re displaying a list of employees, you might select “Name,” “Department,” and “Job title” as searchable fields.
If no fields are selected, the search bar will display all items regardless of the search term. To ensure meaningful search results, always select at least one field.
Filters
Filters allow your app users to narrow down list items based on specific fields, making it easier to find what they need without scrolling through all the items. You can set up one or more filters in the block to enhance user search functionality.
Choose between a Dropdown menu (collapsible for large option sets) or Tags (clickable labels for frequently used categories). Depending on your layout needs, decide where filters will appear—at the top or Left of the block.
For each filter, you can configure:
- Label: Add a descriptive label to guide users, such as "Filter by Status" or "Filter by Category.”
- Field: Select the data field users can filter by, such as Status, Category, or Language.
- Options: Define the values users can select in the filter.
- When Sync with Data Source is Enabled, the filter options automatically pull all available values from your data source. You can then select which of these synced values to display in the filter, making it easy to keep options updated while retaining customization. *This feature is only available for specific field types, such as single-select, multi-select, and linked record fields.
- When Sync is Disabled: You must manually define and update the filter options. This allows full control over which values appear but requires manual changes whenever your data is updated.
- Sorting Options: You can arrange filter options alphabetically (A-Z or Z-A) or in a custom order based on relevance.
- Multi-select (Optional): This option allows users to select multiple filter options at a time. It is useful when filtering by multiple categories, statuses, or other fields simultaneously.
Embed Block
You can embed any Softr block in another application. Learn how in our Page and Block Embed guide.
Actions
Actions let you define what happens when users interact with a block, such as navigating to a new page, editing records, or triggering workflows. This ensures your app not only displays data but also offers dynamic user engagement.
Topbar buttons
- Add record: Create new entries in your data.
- Open page: Navigate to another page within your app.
- Open URL: Redirect users to an external link.
- Scroll to: Move the view to a specific section within the block.
On Click Actions:
- Do nothing: Nothing happens when the user clicks on the item.
- Open popover: Opens the default popover
- Open URL: Redirect users to an external link.
- Scroll to: Move the view to a specific section within the block.
- Open details page:: Open the details page of the selected record.
Event popover buttons:
- Edit record: Modify the details of a specific record.
- One-Click Update: Apply predefined updates to a record with a single click.
- Open details page: Open the details page of the selected record.
- Delete Record: Remove a record from your data.
- Open URL: Redirect users to an external link.
- Scroll to: Move the view to a specific section within the block.
- Download file: Provide users with a direct option to download associated files.
- Call API: This action triggers a custom API call for advanced integrations (available for Professional, Business, and Enterprise plans).
Visibility
Control who can see a block by setting up visibility rules. This helps tailor the user experience by showing relevant content to the right audience, improving personalization and security.
Style
Customize the look and feel of your blocks with styling options. Adjust fonts, colors, spacing, and more to align with your app’s branding and create a polished, professional design.
Relevant Guides
Last updated on January 26, 2024