diff --git a/docs/en-US/component/radio.md b/docs/en-US/component/radio.md index c63ce7f3c4..fba9107680 100644 --- a/docs/en-US/component/radio.md +++ b/docs/en-US/component/radio.md @@ -51,13 +51,21 @@ radio/disabled ::: -## Radio button group +## Radio Group Suitable for choosing from some mutually exclusive options. :::demo Combine `el-radio-group` with `el-radio` to display a radio group. Bind a variable with `v-model` of `el-radio-group` element and set label value in `el-radio`. It also provides `change` event with the current value as its parameter. -radio/radio-button-group +radio/radio-group + +::: + +## With borders + +:::demo The `border` attribute adds a border to Radios. + +radio/with-borders ::: @@ -69,31 +77,13 @@ radio/options ::: -## Button style +## Radio Button -Radio with button styles. +Radio with button group visual effect. -:::demo You just need to change `el-radio` element into `el-radio-button` element. We also provide `size` attribute. +:::demo You just need to change `el-radio` element into `el-radio-button` element. You can also set the style of the button when it is active by using `fill` and `text-color`. -radio/button-style - -::: - -## Button style - -Radio with button styles. - -:::demo You can set the style of the button when it is active by using `fill` and `text-color`. - -radio/button-fill-textcolor - -::: - -## With borders - -:::demo The `border` attribute adds a border to Radios. - -radio/with-borders +radio/radio-button ::: diff --git a/docs/examples/radio/button-style.vue b/docs/examples/radio/button-style.vue deleted file mode 100644 index 494b3b3246..0000000000 --- a/docs/examples/radio/button-style.vue +++ /dev/null @@ -1,34 +0,0 @@ - - - diff --git a/docs/examples/radio/button-fill-textcolor.vue b/docs/examples/radio/radio-button.vue similarity index 82% rename from docs/examples/radio/button-fill-textcolor.vue rename to docs/examples/radio/radio-button.vue index 4c86ea8dfa..b30f59c07d 100644 --- a/docs/examples/radio/button-fill-textcolor.vue +++ b/docs/examples/radio/radio-button.vue @@ -1,6 +1,6 @@