Padding
パディング
パディングは、要素の境界内の、コンテンツとその端との間のスペースです。
もう一つの例
ボタンは文字の周りに余白を作るから、クリックできる場所が広くなるよ。
主な部分
- 01Outer constraint
- 02Content and spacing model
- 03Computed size or reflow result
以下の場合に使用します
表面内に余白を作り、対象を使いやすく保つためにパディングを使用します。
以下の場合は使用しないでください
幅の誤りを隠すためにランダムなパディングを追加しない。
コードで使用する名前
padding 出荷前に
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 パディング (Padding)。 User context:ボタンは文字の周りに余白を作るから、クリックできる場所が広くなるよ。 Design concept to apply:パディング (Padding)。 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 パディング (Padding) 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.