---
title: gluestack-ui Image Component | Image Installation, Usage & API
description: Enhance your app with the Image component from gluestack-ui. Build seamless UI component images in React & React Native with ease. Explore the docs now!
pageTitle: Image
pageDescription: Enhance your app with the Image component from gluestack-ui. Build seamless UI component images in React & React Native with ease. Explore the docs now!
showHeader: true
---
import { Tabs, TabItem } from '@/docs-components/tabs';
import {
Table,
TableHeader,
TableCell,
TableHeaderCell,
TableBody,
TableRow,
} from '@/docs-components/table';
import { InlineCode } from '@/docs-components/inline-code';
# Image
Enhance your app with the Image component from gluestack-ui. Build seamless UI component images in React & React Native with ease. Explore the docs now!
This is an illustration of **Image** component.
/// {Example:basic} ///
## Installation
### Run the following command:
### Step 1: Copy and paste the following code into your project.
```tsx
%%-- File: src/components/ui/image/index.tsx --%%
```
### Step 2: Update the import paths to match your project setup.
## API Reference
To use this component in your project, include the following import statement in your file.
```ts
import { Image } from '@/components/ui/image';
```
```ts
export default () => ;
```
### Component Props
This section provides a comprehensive reference list for the component props, detailing descriptions, properties, types, and default behavior for easy project integration.
#### Image
It inherits all the properties of React Native's [Image](https://reactnative.dev/docs/image) component.
<>
Platform
Output
Web
{`
`}
Native
{``}
>
### Props
Image component is created using Image component from react-native. It extends all the props supported by [React Native Image](https://reactnative.dev/docs/image#props).
<>
Prop
Type
Default
Description
source
ImageSourcePropType
-
The source of the image
alt
string
-
The alt text for the image
size
2xs | xs | sm | md | lg | xl | 2xl | full
md
The size of the image
>
### Examples
The Examples section offers visual previews of the component, letting you quickly identify the best fit for your needs. Just copy the code and use it in your project.
#### Basic Unitools Image
The below example will run for both Expo and Next.js projects. For installation steps, refer to the [Installation](https://unitools.geekyants.com/packages/image/) section of `@unitools/image`.
```ts
import Image from '@unitools/image';
```
{/* */}
/// {Example:example-2} ///