Skip to content

Kirby 3.5.7.1

Info Field

<k-info-field>

<k-info-field label="Info" text="This is a nice info text" />

The info field has no events and does not submit any data

Props

label

String (default: null)

Sets the label text for the field.

name

String (default: null)

The name of the field must be defined to get fields in fieldsets up and running.

text

String (default: null)

Sets the info text. You can use HTML here to format the info.

theme

String (default: "info")

The info box can have different styles/themes. The themes are inherited from the k-box component. The following themes are available:

  • info
  • positive
  • negative

CSS class

.k-info-field