import all0 from "/src/fragments/ui/web/installation.mdx";
## Usage
```jsx
import React from "react";
import { Amplify } from "aws-amplify";
import { AmplifyS3Image } from "@aws-amplify/ui-react";
import awsconfig from "./aws-exports";
Amplify.configure(awsconfig);
const App = () => ;
```
import all1 from "/src/fragments/ui/angular/configure-module.mdx";
_app.component.html_
```html
```
_app.component.html_ (using data binding e.g. filename)
```html
```
import all3 from "/src/fragments/ui/vue/configure-app.mdx";
_App.vue_
```html
```
```css
amplify-s3-image {
--height: 200px;
--width: 400px;
}
```
## Use Cases
### Getting files from protected access level
Protected files from S3 bucket can be accessed by anyone other than the owner by using the `identityId` of the owner.
```jsx
const App = () => (
);
```
_app.component.html_
```html
```
_App.vue_
```html
```
## Migration
To migrate from using the `aws-amplify-` library to the latest `@aws-amplify/ui-` library use the steps below:
import all4 from "/src/fragments/ui/web/installation-diff.mdx";
### Usage
```diff
- import { S3Image } from 'aws-amplify-react';
+ import { AmplifyS3Image } from '@aws-amplify/ui-react';
const App = () => (
+
-
);
```
import all5 from "/src/fragments/ui/angular/configure-module-diff.mdx";
_app.component.html_
```diff
+
-
```
import all7 from "/src/fragments/ui/vue/configure-app-diff.mdx";
_App.vue_
```diff
-
+
```
If you were using `S3Image` with `picker` property enabled, please see the documentation for [`S3ImagePicker`](/ui/storage/s3-image-picker).