Skip to content
W WRNexusJS
content component

MutedText

Reusable muted text component.

@wrnexus/ui 0.2.673 props1 slots0 events

Usage

Components are auto-discovered. Use the component directly in any .wrn view:

<MutedText
  text="text"
  align="start"
/>

Legacy mount name: data-component="MutedText".

Props and attributes

PropTypeRequirementDefault
textstringOptional""
alignstringOptional"start"
classstringOptional""

Slots

  • default

Events

This component does not declare a custom event.

Source contract

Installed source: components/MutedText.wrn

component MutedText {
  props {
    text = ""
    align = "start"
    class = ""
  }
  view {
        <div class="wire-type wire-type--small wire-text--{align} wire-muted {class}">{text}<slot />
        </div>
    }
}