WireScript
Components

text

Text display with emphasis levels.

Display text with various emphasis levels and optional navigation.

Usage

Emphasis Levels

Variants

Text can be clickable:

(text "Go to settings" :to settings)
(text "Open modal" :to "#my-modal")

Properties

accepts content

Alignment

PropertyTypeDefault
:startflag-
:centerflag-
:endflag-

Sizing

PropertyTypeDefault
:fullflag-
:fitflag-
:fillflag-

Dimensions

PropertyTypeDefault
:widthany-
:heightany-

Variants

PropertyTypeDefault
:primaryflag-
:secondaryflag-
:ghostflag-
:dangerflag-
:successflag-
:warningflag-
:infoflag-

Emphasis

PropertyTypeDefault
:highflag-
:mediumflag-
:lowflag-

Navigation

PropertyTypeDefault
:totarget-

Examples

Page Title

Status Messages

Linked Text

Article Content

On this page