Defaults providers
The defaults provider allows you to provide specific default prop values to components in a section of your application
Usage
The v-defaults-provider component is used to provide default props to components within its scope. It hooks into the Global configuration feature and makes it easy to assign multiple properties at once or scope out all incoming changes to any children.
<v-defaults-provider>
<v-btn>Button</v-btn>
</v-defaults-provider>API
| Component | Description |
|---|---|
| v-defaults-provider | Primary Component |
Toggle Inline API
Examples
Defaults
The v-defaults-provider expects a prop defaults which looks the same as the defaults object that you can pass to createVuetify when creating your application.
Title
Subtitle
Title
Subtitle
Ready for more?
Continue your learning with related content selected by the Team or move between pages by using the navigation links below.