Socket
Socket
Sign inDemoInstall

@contentful/f36-image

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/f36-image

Forma 36: Image component


Version published
Maintainers
0
Created
Source

title: 'Image' type: 'component' status: 'stable' slug: /components/image/ github: 'https://github.com/contentful/forma-36/tree/main/packages/components/image' storybook: 'https://f36-storybook.contentful.com/?path=/story/components-image--overview' typescript: ./src/Image.tsx

Image component that can handle showing a loading skeleton while the image is loading.

Import

import { Image } from '@contentful/f36-image';
// or
import { Image } from '@contentful/f36-component';

Examples

Basic example

Without a src

The image component will render a loading skeleton matching the dimensions of the image if no src prop is passed.

Props (API reference)

Accessibility

Make sure you pass the required alt prop.

FAQs

Package last updated on 07 Aug 2024

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