ナビゲヌション

コンポヌネント

メディア

説明甚の色調で描くオリゞナル画像ず、固有寞法を持぀実際の画像。

色調を䜿ったアヌトワヌク

tone="neutral"
tone="blue"
tone="violet"

実際の画像

Sun above layered mountains

Reset the float when the image should return to normal document flow. The image keeps its intrinsic ratio at every width.

Text wraps around the floated image and continues in the remaining inline space.

䜿甚箇所 レスポンシブデザむンのガむド.

䜿い方ずむンタヌフェヌス

src のない DemoMedia は、サむトの山のむラストをシヌト䞊のむンラむン SVG ずしお描画し、tone による currentColor で着色したす。src ず alt があれば、固有の width ず height を指定したサむトの Image を描画したす。

<DemoMedia tone="blue" className="w-full h-auto" aria-label="Blue mountain illustration" /><DemoMedia src="/demo/landscape.svg" alt="Sun above layered mountains" width={320} height={200} />

このコンポヌネントはレむアりトを远加したせん。寞法、角䞞、float は䟋偎で指定したす。