Intrinsic Sizing
固有サイズ設定
固有サイズ設定では、外部からの固定サイズだけでなく、要素の内容がサイズの決定に役立ちます。
もう一つの例
ダッシュボードのサイドバーは `fit-content(24rem)` を使用しています。翻訳されたラベルに応じて最大24remまで拡張でき、レポートは残りのスペースを使用します。70文字のケースIDは折り返されることがあります。これにより、`min-content` サイズがページ全体を横スクロールさせるのを防ぎます。
主な部分
- 01コンテンツ貢献
- 02利用可能な空間
- 03使用済みサイズの解決
以下の場合に使用します
コンテンツがサイズに影響を与えるべきだが、明確なレイアウト制限内に留めたい場合は、固有サイズの単語や関数を使用してください。
以下の場合は使用しないでください
ブレークのない長いテキスト、画像およびその他の置換要素、翻訳、およびデフォルトの最小サイズをテストしてから、それに頼ってください。
コードで使用する名前
min-content, max-content, fit-content(), and intrinsic size contributions 出荷前に
Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience.
Outcome:Complete the task with 固有サイズ設定 (Intrinsic Sizing)。 User context:ダッシュボードのサイドバーは `fit-content(24rem)` を使用しています。翻訳されたラベルに応じて最大24remまで拡張でき、レポートは残りのスペースを使用します。70文字のケースIDは折り返されることがあります。これにより、`min-content` サイズがページ全体を横スクロールさせるのを防ぎます。 Design concept to apply:固有サイズ設定 (Intrinsic Sizing)。 Why it fits:コンテンツがサイズに影響を与えるべきだが、明確なレイアウト制限内に留めたい場合は、固有サイズの単語や関数を使用してください。 Do not use it when:ブレークのない長いテキスト、画像およびその他の置換要素、翻訳、およびデフォルトの最小サイズをテストしてから、それに頼ってください。 Design requirements: Set the content order, shared design values, and reusable components. Define how the layout changes by screen size and state. Keep useful design choices separate from decoration. Inclusion and resilience: Check contrast, zoom, languages, themes, and reduced motion when needed. Do not use color or effects as the only way to show meaning. Acceptance criteria: The design stays clear on phones and desktops, at zoom, in every theme, and in all supported languages. Interactive states stay clear and consistent. Evidence and limits (evidence boundary):きちんとした書類でも、まだドラフトやリリース候補、あるいは最終版かもしれません。ステータスや、ブラウザやプラットフォームの対応状況を確認しましょう。 Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.
このリクエストを確認する
Review how 固有サイズ設定 (Intrinsic Sizing) is used now. Definition: 固有サイズ設定では、外部からの固定サイズだけでなく、要素の内容がサイズの決定に役立ちます。 Release checks: Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.