ワンクリックで
groww-image
Image component with lazy loading, dark mode support, and error handling. Use for displaying images with optimized loading.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Image component with lazy loading, dark mode support, and error handling. Use for displaying images with optimized loading.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Accordion component with collapsible sections. Use for FAQs, nested content, or expandable details sections.
Button component with variants, sizes, loading states, and icon support. Use when creating clickable actions, forms, or navigation buttons.
Calendar component for date and month selection. Use when building date pickers, scheduling interfaces, or date range selectors.
Carousel component for image/content sliders with navigation controls. Use for image galleries, hero sections, or content that scrolls horizontally.
Checkbox component for boolean or multi-select inputs. Use when building forms with boolean toggles or multiple selection lists.
Dropdown menu component with trigger and content pattern. Use when building selectable menus, action menus, or nested navigation.
SOC 職業分類に基づく
| name | groww-image |
| description | Image component with lazy loading, dark mode support, and error handling. Use for displaying images with optimized loading. |
import Image from '@groww-tech/ui-toolkit/dist/esm/components/atoms/Image';
// or
import { Image } from '@groww-tech/ui-toolkit';
interface ImageProps {
src: string; // Image source (required)
alt: string; // Alt text (required)
width?: number | string; // Image width
height?: number | string; // Image height
srcDark?: string; // Dark mode image
addClass?: string; // Light mode class
addClassDark?: string; // Dark mode class
useLazyLoad?: boolean; // Lazy load (default: true)
className?: string;
}
<Image
src="/image.jpg"
alt="Description"
width={200}
height={150}
/>
<Image
src="/logo-light.png"
srcDark="/logo-dark.png"
alt="Logo"
width={100}
height={40}
/>
<Image
src="/hero.jpg"
alt="Hero"
width="100%"
height={400}
useLazyLoad={false}
/>