Group
Install

Install

Group is a special component for wrapping form elements


API

Props

nametypedefaultdescriptionrequired version
titlestringgroup title--
title-colorstringgroup title's color--
label-widthstringcommon label width for child components--
label-alignstringcommon label text-align for child components--
label-margin-rightstringcommon margin right value for child components--
gutterstringset the marginTop value when there is no title--

Slots

namedescriptionrequired version
defaultcontent body for child components--
titletitle slotv2.5.1
Variables

Variables

namedefaultdescriptioninherited name
@group-title-margin-top .77em margin-top of title
@group-title-margin-bottom .3em margin-bottom of title
@group-footer-title-margin-top .3em margin-top of footer title
@group-footer-title-margin-bottom .77em margin-bottom of footer title


Contributors

Contributors

Total commits quantity: 19,Total contributors quantity: 5

KwanairylandSapphireQiongrong Jiang万刚

Changelog

Releases

  • v2.5.4 [enhance] XSwitch:labelAlign support justify #1707
  • v2.5.3 [enhance] prop:labelAlign support justify #1574
  • v2.5.1 [feature] Add slot:title #1650
  • v2.3.2 [feature] prop:gutter could be a number
  • v2.1.1-rc.2 [feature] Support title margin-top variable