zero.appdocs

Text

Presentations v1.0 zero-schema

No description provided.

Required fields

PresentationType Text

Properties

PresentationType string required
Text is used to display styled text with various alignment and overflow handling options.
Text string required
The actual text content to be displayed.
FontSize number optional
The size of the plugin in pixels
Default 16
FontFamily string optional
The font family used for the plugin.
Default "DefaultUI"
Allowed DefaultUI DefaultMonospace Google:Inter Google:Roboto Google:Open Sans Google:Lato Google:Montserrat Google:Poppins Google:Nunito Google:Nunito Sans Google:Raleway Google:Work Sans Google:Rubik Google:Karla Google:Manrope Google:DM Sans Google:Outfit Google:Sora Google:Space Grotesk Google:Plus Jakarta Sans Google:Barlow Google:Cabin Google:Ubuntu Google:PT Sans Google:Fira Sans Google:Josefin Sans Google:Quicksand Google:Archivo Google:Noto Sans Google:Merriweather Google:Playfair Display Google:Lora Google:PT Serif Google:EB Garamond Google:Libre Baskerville Google:Crimson Text Google:Roboto Slab Google:Zilla Slab Google:Noto Serif Google:Oswald Google:Bebas Neue Google:Anton Google:Pacifico Google:Dancing Script Google:Caveat Google:Comfortaa Google:Righteous Google:Fira Code Google:JetBrains Mono Google:Roboto Mono Google:Source Code Pro Google:Space Mono Google:Inconsolata Google:Mukta Google:Hind Google:Noto Sans Devanagari
FontWeight string optional
The weight of the font used for the plugin.
Default "w400"
Height number optional
The height of the font used for the plugin.
BackgroundColor string optional
The BackgroundColor of the plugin
Color string optional
The BackgroundColor of the plugin
LetterSpacing number optional
The spacing between letters in the text.
TextAlign string optional
The alignment of the text.
Default "Left"
Allowed Left Center Right Justify
TextOverflow string optional
The strategy for handling text overflow.
Allowed Clip Ellipsis Fade
TextDecoration string optional
The decoration applied to the text.
Allowed None Underline Overline LineThrough
Icon string optional
An optional icon to display alongside the text.
Align string optional
The alignment of the text within its container.
Allowed Left Center Right Justify
ShowCursor boolean optional
Whether to show a cursor for text editing
CursorColor string optional
The color of a cursor as color name or hex value
CursorWidth number optional
The width of a cursor in pixels
Default 0
Selectable boolean optional
It state whether the text can be selected by the user.
Default false
Focus boolean optional
State whether the text should be focused or not
Default false
IsLink boolean optional
Treats text as a link with underline on hoover
Default false
ShowSpinner boolean optional
It shows the loading spinner next to the text
Default false
SoftWrap boolean optional
It wraps the text should wrap to the next line if it's too long.
Default false
MaxLines integer optional
The maximum number of lines to display for wrapped text.

Studio editor metadata

Shapes the studio editor; not enforced at runtime.

PresentationType
"Text"
BackgroundColor
{
  "OnChange": {
    "To": "{{ Id }}",
    "Handler": "Whisper"
  },
  "InitialValue": "{{ Value }}",
  "DisplayText": "BackgroundColor",
  "PresentationType": "ColorPicker"
}
Color
{
  "OnChange": {
    "To": "{{ Id }}",
    "Handler": "Whisper"
  },
  "InitialValue": "{{ Value }}",
  "DisplayText": "Color",
  "PresentationType": "ColorPicker"
}
TextAlign
"Select"
TextOverflow
"Select"
TextDecoration
"Select"
Align
"Select"
CursorColor
{
  "OnChange": {
    "To": "{{ Id }}",
    "Handler": "Whisper"
  },
  "InitialValue": "{{ Value }}",
  "DisplayText": "CursorColor",
  "PresentationType": "ColorPicker"
}