Inputs

Inputs allow users to customize your app in the Raydiant Dashboard, for example:

  • Set the location for a Weather app with the text input.
  • Select a channel for a Newsfeed app with the select input.
  • Enable a QR code for a Custom Menu app with the toggle input.

The URL template of your app receives the values of its inputs by specifying where to inject them using the syntax :input-id:

https://my-weather-app.com?location=:location
https://my-news-app.com/:channel
https://my-menus-app.com/juices?qrcode=:qrcode

When users customize your app in the Raydiant Dashboard the input values are injected into the URL template to render the resulting URL:

https://my-weather-app.com?location=New York
https://my-news-app.com/politics
https://my-menus-app.com/juices?qrcode=true

Raydiant supports a variety of input types you can use to customize your app. Check out the Build an App tutorial for an in-depth walkthrough on how to add inputs.


Button Group

For small lists of 2-3 options.

Multi-select

Select multiple values from a list of options.

Number

Set counts, quantities and durations.

Select

Select a single value from a large list options.

Text

Set headings, paragraphs and call to actions.

Toggle

On/off, yes/no and enable/disable.


Was this article helpful to you?
GitHubProvide feedback

Last edited on July 02, 2024.
GitHubEdit this page