Skip to content

Commit

Permalink
docs(VBtn): rearrange page content
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Apr 13, 2024
1 parent e54966b commit cea1cf8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/docs/src/pages/en/components/buttons.md
Expand Up @@ -24,14 +24,14 @@ The `v-btn` component replaces the standard html button with a material design t

<PageFeatures />

<VoPromotionsCardVuetify />

## Usage

Buttons in their simplest form contain uppercase text, a slight elevation, hover effect, and a ripple effect on click.

<ExamplesUsage name="v-btn" />

<PromotedEntry />

## API

| Component | Description |
Expand Down Expand Up @@ -128,8 +128,6 @@ Icons can be used for the primary content of a button. They are commonly used in

<ExamplesExample file="v-btn/prop-icon" />

<PromotedRandom />

#### Loaders

Using the loading prop, you can notify a user that there is processing taking place. The default behavior is to use a `v-progress-circular` component but this can be customized with the **loader** slot.
Expand Down Expand Up @@ -169,6 +167,8 @@ The **loader** slot allows you to customize the loading indicator. In this examp

<ExamplesExample file="v-btn/slot-loader" />

<VoPromotionsCardVuetify />

## Examples

The following are a collection of examples that demonstrate more advanced and real world use of the `v-btn` component.
Expand All @@ -191,8 +191,6 @@ This example utilizes the [v-text-field](/components/text-fields/) component to

<ExamplesExample file="v-btn/misc-tax-form" />

<PromotedRandom />

### Dialog action

Buttons are often used to trigger actions within a [v-dialog](/components/dialogs/). In this example we use the **outlined** variant and the **color** prop to create a button that is visually distinct from the other buttons.
Expand Down Expand Up @@ -400,6 +398,8 @@ The following properties are modified when used within a `v-toolbar` or `v-toolb
| **height** | provided by `v-toolbar-items` |
| **variant** | `text` |

<VoPromotionsCardVuetify />

## Accessibility

The `v-btn` component is an extension of the native `button` element and supports all of the same accessibility features.
Expand Down

0 comments on commit cea1cf8

Please sign in to comment.