Blocks Deprecated
Deprecated group: use the web blocks for new pages This block belongs to state pages and UI components. Existing pages keep running, but new pages should use the web blocks. See Web Pages and the migration guide.
state ui
157 blocks in 11 groups. Open a block for its pins, an example and how it behaves.
datatable actions
- radio input
statedatatableconnectionv13.0.6Adds a radio input that can be placed anywhere in the row. - button
statedatatableconnectionv13.0.1Adds a button that can be placed anywhere in the row. - multiple
statedatatableconnectionv10.4.28Combine multiple datatable connections - checkbox
statedatatableconnectionv13.0.1Adds a checkbox that can be placed anywhere in the row. - link
statedatatableconnectionv13.0.1Adds a link that can be placed anywhere in the row. - if
statedatatableconnectionv10.4.28Conditional branching for datatable connection (if.. then.. else..)
datatable filter
- query filter
statedatatablefilterv13.0.2 - if
statedatatablefilterv13.0.2 - dynamic query filter
statedatatablefilterv14.0.1Creates a dynamic filter using a query - multiple
statedatatablefilterv13.0.2
form fields
- class
stateformfieldconnectionv10.4.28Overwrites class for given fields - state
stateformfieldconnectionv13.0.1Overwrites state for given fields - attributes
stateformfieldconnectionv10.4.28Overwrites attributes for given fields - multiple
stateformfieldconnectionv10.4.28 - style
stateformfieldconnectionv10.4.28Overwrites style for given fields
function
homeassist ui
state actions
- remove from server state array
flowv10.4.28Removes given value from the array on the frontend and triggers updates based of it. - redirect to page
flowv10.4.28Sends the user to the selected page. - add to state array
flowv10.4.28Adds given value to the array on the frontend and triggers updates based of it. - update server state fields
flowv10.4.28Sends a state update to the frontend and triggers updates based of it. - update server state
flowv10.4.28Sends a state update to the frontend and triggers updates based of it. - rerender server state
flowv10.4.28Sends all previously non-processed state updates to the UI directly without waiting for further updates. - datatable update selection
arrayv10.4.28Updates the datatable selection. - get uploaded file
filev10.4.28Get a recently uploaded file. The file is stored on a temp. dir, move it if you want to keep it. - set access token
flowv10.4.28 - get fields
valuev10.4.28Get given field(s) from the current UI state. - redirect
flowv10.4.28Sends the user to the given page directly. - go back
flowv13.0.5Causes the browser to move back one page in the session history. - get form data
valuev10.4.28Retrieves the form data from the state. - clear active datatable filters
flowv10.4.28Sends a state update to the datatable to clear the active datatable filters. - go forward
flowv13.0.5Causes the browser to move forward one page in the session history. - set cookie
flowv10.4.28 - refresh datatable
flowv14.0.2Sends a state update to the datatable to refresh their data. - new tab
flowv10.4.28Opens a new tab with the given url. - push to datatable
flowv14.0.3Sends a state update to the datatable to refresh their data. - increment server state
flowv10.4.28Sends a state update to the frontend and triggers updates based of it. - datatable get selection
arrayv10.4.28Returns the current datatable selection. - backend request
statev14.0.1Requests the backend for data that can be used in the state flow - refresh page
flowv10.4.28Refreshes the current page directly. - text to speech
flowv10.4.28Uses browsers text-to-speech to output a certain text in voice - set localstorage
flowv14.0.5 - decrement server state
flowv10.4.28Sends a state update to the frontend and triggers updates based of it. - run js function
flowv10.4.28 - update url
flowv13.0.5Modifies the session history by adding to the stack or replacing the current state. - get key
valuev10.4.28Get given key from the current UI state. - update datatable search
flowv13.0.7Sends a state update to the datatable to search for a specific value. - update server state if empty
flowv10.4.28Sends a state update to the frontend and triggers updates based of it if the field is empty. - play audio
flowv10.4.28Plays the given audio file in the users browser - logout
flowv10.4.28Logs the user out.
state conditions
- switch
statev10.4.28Returns state based of the given expression. - custom is not empty
conditionv10.4.28Checks if a custom field is not empty. - elseif
statev10.4.28Allows you to use different state UIs based on your given condition. - is not empty
conditionv10.4.28Checks if the given field is not empty. - is true
conditionv10.4.28Checks if the given field is true. - custom is empty
conditionv10.4.28Checks if a custom field is empty. - if
statev10.4.28Allows you to use different state UIs based on your given condition. - is empty
conditionv10.4.28Checks if the given field is empty.
state elements
- code
statev13.0.1A code element. - outlined alert
statev13.0.1Generates outline styled information alert element with a icon next to the text. - embed
statev13.0.1A embed element, that defines a container for an external resource. - kbd
statev13.0.1A kbd element. - debug
flowv13.0.4Shows a debug modal to easily debug values within any flow - image from file
statev13.0.1A img element from a internal or public file. - hr
statev13.0.1A horizontal rule element - iframe
statev13.0.1A iframe element with URL state binding. - nav
statev13.0.1Defines a set of navigation links. - label
statev13.0.1Represents a caption for an item in a user interface. - h4
statev13.0.1A H4 element. - ol foreach
statev13.0.7Serves as a dynamic ol container. - password input
statev13.0.1Generates a password input. The field will be used as state key. - table
statev13.0.1A table element. - table column
statev13.0.1A table column element. - table body
statev13.0.1A tbody element. - h2
statev13.0.1A H2 element. - footer
statev13.0.1A footer element. - list element
statev13.0.1A list element. - checkmark
statev13.0.1A button filled with a green checkmark. - price input
statev13.0.1Generates a price input. The field will be used as state key. - video
statev13.0.9A video element. - div foreach
statev13.0.1Serves as a dynamic container, generating an uniquedivfor each element in the specified array. - italic
statev13.0.1A italic text element. - h1
statev13.0.1A H1 element. - checkbox
statev13.0.1Generates a basic checkbox. The field will be used as state key, prefixed with theform. - tbody foreach
statev13.0.4Serves as a dynamic container, generating an uniquetbodyfor each element in the specified array. - svg
statev13.0.7A SVG element. - date input
statev13.0.1Generates a date input. The field will be used as state key. - h3
statev13.0.1A H3 element. - geopoint input
statev13.0.1Generates a geopoint input. The field will be used as state key. - time input
statev13.0.1Generates a time input. The field will be used as state key, prefixed with theform. - datatable
statev13.0.1A styled table made to display a lot of data using pagination. - paragraph
statev13.0.1A paragraph element. - file input
statev10.4.28Generates a file input. The field will be used as state key. - form
statev13.0.1Generates a basic form element using state UI. All fields within this form will be prefixed if a prefix is given. - fontawesome icon
statev13.0.1Integrates a dynamic FontAwesome icon into your web page - dropdown
statev13.0.1Generates a designed dropdown menu. The field will be used as state key. - regular card
statev13.0.1Shows a regular card. - card icon box
statev10.4.28Shows a card with ribbon build-in. - ordered list
statev13.0.1An ordered list element. - header
statev13.0.1A header element. - code (highlighted)
statev15.0.0Source code with syntax highlighting. Renders server-side with no external library; supports nginx, javascript, json, bash, go, sql and yaml. - custom text
statev13.0.1 - table header
statev13.0.1A th element. - preformatted text
statev13.0.1A pre element. - svg path
statev13.0.7A path element, to define an arbitrary shape. - hyperlink
statev13.0.1A anchor element, that can be used to create an link to an intern/extern page. - span
statev13.0.1A span element. - button
statev13.0.1Generates a basic html button element with default styling. - strong
statev13.0.1Indicates that its text has strong importance, seriousness, or urgency. - image
statev13.0.1A image element. - basic canvas
statev13.0.1A basic canvas element - container
statev13.0.1Adivwith the classcontaineron it by default. - textarea
statev13.0.1Generates a basic textarea. The field will be used as state key. - dynamic input
statev13.0.6Generates a basic input with a dynamic field. The field will be used as state key, prefixed with theform. - security
statev13.0.4A basic security component that shows the current sessions, 2fa devices and allows the user to add new twofactor authentication methods. - table row
statev13.0.1A tr element. - column
statev13.0.1Adivwith thecol-*classes available to it. - button with text and icon
statev13.0.1Generates a basic html button element with default styling. - datetime input
statev13.0.1Generates a datetime input. The field will be used as state key, prefixed with theform. - basic alert
statev13.0.1Generates a basic styled alert with text. - autocomplete multiple values
statev13.0.8Generates auto-complete select searching a storage and filling the state with the search-key. The field will be used as state key. - form rows from fields
statev13.0.1Generates rows with the given fields. The fields will be used as state keys. - dynamic select
statev13.0.6Generates a basic select with a dynamic field. The field will be used as state key. - advanced datatable
statev13.0.1A pre-styled advanced table showing data using advanced tooling - h6
statev13.0.1A H6 element. - custom number
statev13.0.1A custom number element - div
statev13.0.1Creates a dynamic and customizable div element on your web page. - spinner
statev13.0.1Adivwith the classspinneron it by default. - card with ribbon
statev10.4.28Shows a card with ribbon build-in. - h5
statev13.0.1A H5 element. - br
statev10.4.28A br element. - datalist
statev13.0.1A datalist element. - small
statev13.0.6A small text element. - hyperlink to page
statev10.4.28A anchor element. - script
statev13.0.1A script element. - row
statev13.0.1A div with the class row on it by default. - progressbar
statev13.0.1A progress bar filled up to certain percentage. - table head
statev13.0.1A thead element. - input
statev13.0.1Generates a basic input. The field will be used as state key, prefixed with theform. - tr foreach
statev13.0.4Serves as a dynamic container, generating an uniquetrfor each element in the specified array. - number input
statev13.0.1Generates a number input. The field will be used as state key. - autocomplete single value
statev13.0.8Generates auto-complete select searching a storage and filling the state with the search-key. The field will be used as state key. - select
statev13.0.1Generates a basic select. The field will be used as state key. - thead foreach
statev13.0.4Serves as a dynamic container, generating an uniquetheadfor each element in the specified array. - code editor
statev14.0.3Opens a code editor to define code in various languages (CSS, HTML, JavaScript, JSON, etc.). The code is stored in a document on disk. - ul foreach
statev13.0.7Serves as a dynamic ul container. - custom html
statev10.4.28Renders custom html. - unordered list
statev13.0.1An unordered list element. - dynamic textarea
statev13.0.6Generates a basic textarea with a dynamic field. The field will be used as state key. - price format
statev13.0.1 - list card
statev10.4.28Shows a list card.
state flow
state modals
- new modal
modalconnectionv10.4.28Builds a custom modal - close modal
flowv10.4.28Closes the first modal that is open. - return modal
execute_functionv13.0.1Returns modal content
state paging
- render
execute_functionv10.4.28Sends the combined HTML to the frontend and renders the page into React components. - new page
httpconnectionv10.4.28Allowes you to create a dynamic web page on the given URL.