The v-avatar component is typically used to display circular user profile pictures. This component will allow you to dynamically size and add a border radius of responsive images, icons, and text. A tile variation is available for displaying an avatar without border radius.

使い方

Avatars in their simplest form display content within a circular container.

Options

API

サンプル

Size

The size prop allows you to define the height and width of v-avatar. This prop scales both evenly with an aspect ratio of 1. height and width props will override this prop.

Tile

The tile prop removes the border radius from v-avatar leaving you with a simple square avatar.

Default slot

The v-avatar default slot will accept the v-icon component, an image, or text. Mix and match these with other props to create something unique.

Profile Card

Using the tile prop, we can create a sleek hard-lined profile card.

Advanced usage

Avatar と他のコンポーネントを組み合わせることで、革新的で美しいユーザーインターフェイスをすぐに構築することができます。

Edit this page on Github | Translate on Crowdin
Vuetify
StoreFor Enterprise