Skip to content
W WRNexusJS
core component

Inline

Reusable inline component.

@wrnexus/ui 0.2.672 props1 slots0 events

Usage

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

<Inline
  gap="4"
/>

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

Props and attributes

PropTypeRequirementDefault
gapstringOptional"4"
classNamestringOptional""

Slots

  • default

Events

This component does not declare a custom event.

Source contract

Installed source: components/Inline.wrn

component Inline {
  props {
    gap = "4"
    className = ""
  }
  view {
        <div class="flex flex-wrap items-center gap-{gap} {className}">
        <slot />
        </div>
    }
}