画面の主要アクション用に、primary 色で塗りつぶした Filled Button(CTA ボタン)を作って。幅は画面いっぱい、高さ 52dp、角丸 14dp で。
# Filled Button / フィルドボタン(塗りつぶしボタン)
- id: `filled_button` URL: https://uizukan.dev/entry/filled_button/
- 種別: 表示 / Buttons
- 別名: Primary Button, Contained Button, CTA Button, Solid Button
- 呼び名: Material 3=Filled button / Material 2=Contained button / Android (Compose)=Button(既定が Filled) / iOS (HIG)=Button(prominent。UIKit の filled style) / SwiftUI=Button + .buttonStyle(.borderedProminent) / Web=<button>(Primary button) / Flutter=FilledButton
- Flutter: `FilledButton`
- 関連: elevated_button, filled_tonal_button, outlined_button, loading_button
**説明**: primary 色でベタ塗りされたボタン。画面内で「一番押してほしい操作」を示す。影は基本なし(Material 3)。1画面に1つが原則。
**使いどころ**: 「保存」「購入」「次へ」など、その画面の主目的となる操作。複数並べると強調が薄れるので、2番手は Filled Tonal / Outlined にする。
**AI への伝え方(日本語)**: 画面の主要アクション用に、primary 色で塗りつぶした Filled Button(CTA ボタン)を作って。幅は画面いっぱい、高さ 52dp、角丸 14dp で。
**Prompt (English)**: Create a full-width primary Filled Button (CTA) for the main action of the screen. Height 52dp, corner radius 14dp, primary background with onPrimary text.
詳細プロンプト は Pro
開発者向け Pro(準備中)で、AI が MCP から直接取りに行けるようになります。名前・デモ・プロンプト・Markdown は無料のままです。
Pro の案内を見る
Flutter コード は Pro
開発者向け Pro(準備中)で、AI が MCP から直接取りに行けるようになります。名前・デモ・プロンプト・Markdown は無料のままです。
Pro の案内を見る