Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fluentui/react-image

Package Overview
Dependencies
Maintainers
12
Versions
1044
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-image

Fluent UI React Image component.

  • 9.1.79
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
12
Created
Source

@fluentui/react-image

Image components for Fluent UI React

Usage of Image component ensures consistent styling and behaviour of images in your application based on the Fluent UI Design System.

Usage

To import Image:

import { Image } from '@fluentui/react-components';

Examples

<Image src="example_image.png" />
<Image src="example_image.png" alt="Example image" />;
<Image src="example_image.png" bordered />;
<Image src="example_image.png" fit="contain" />;
<Image src="example_image.png" shadow />;
<Image src="example_image.png" shape="circular" />;

See Fluent UI Storybook for more detailed usage examples.

Alternatively, run Storybook locally with:

  1. yarn start
  2. Select react-image from the list.

Specification

See SPEC.md.

Migration

If you're upgrading to Fluent UI v9 see MIGRATION.md for guidance on updating to the latest Image implementation.

FAQs

Package last updated on 08 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc