# Action Button URL: /components/action-button Source: https://github.com/daangn/seed-design/blob/dev/docs/content/components/action-button.mdx A basic interaction component that helps users easily perform a clear action. ## Anatomy ![Anatomy image of Action Button. Consists of a Container, Label, Prefix Icon, and Suffix Icon.]() Action Button consists of a Container wrapping a Label, and can have a Prefix Icon and a Suffix Icon. ## Properties ### Size ![Action Button Size Property - XSmall, Small, Medium, Large]() Action Button is provided in four sizes: XSmall, Small, Medium, and Large. Small and Medium are used generally in the center of the screen, while Large is mainly used as a CTA. XSmall is provided as a pill shape that can be used efficiently in small spaces. ### Layout ![Action Button Layout - Text Only, Icon + Text, Text + Icon, Icon Only]() Action Button consists of a combination of a label and an icon, where the icon visually emphasizes the button's purpose or supports the action. It can be composed with the icon before or after the label, or with only an icon, so it can be flexibly used depending on the situation. However, it is recommended to use icons sparingly so as not to harm label readability. The Icon Only layout has lower accessibility because it conveys meaning through the icon alone. It is recommended to use it only when absolutely necessary. ### Variant ![Action Button Variant - Neutral Solid, Brand Solid, Neutral Weak, Brand Outline, Neutral Outline, Critical Solid]() Action Button consists of a total of 7 variants: Neutral Solid, Brand Solid, Neutral Weak, Brand Outline, Neutral Outline, Critical Solid, and Ghost. In Figma, the Ghost Variant is provided as a separate component. ### State ![Action Button State - Enabled, Pressed, Loading, Disabled]() Action Button has Enabled, Pressed, Loading, and Disabled states. ### Width ![Action Button Width Property - Fill, Hug]() Action Button can fill the entire width of its container or adjust to fit its content. Each size has a default minimum width set, and you can specify a minimum and maximum width as needed. ## Guidelines ### Hierarchy ![Action Button Hierarchy - High emphasis, Medium emphasis, Low emphasis]() The visual prominence of Action Button depends on the contrast of the background color. Choose the appropriate variant depending on how much emphasis is needed on the screen. | Emphasis Level | Variant | Count on screen | Usage | | -------------------------------------------- | -------------------------------------- | --------------- | ------------------------------------------------------------------------------------------------------------ | | **High emphasis**(high-contrast background) | Brand SolidNeutral SolidCritical Solid | 1 | Used for the most important CTA | | **Medium emphasis**(low-contrast background) | Neutral Weak | Multiple | Used for most actionsUsed in combination with High emphasis buttons | | **Low emphasis**(transparent background) | Brand OutlineNeutral OutlineGhost | Multiple | Used to express lower-importance secondary actionsUsed in combination with Brand Outline and Neutral Outline | ### Using the appropriate Variant depending on the situation Choose the appropriate variant based on the importance within the screen. ![Action Button Brand Solid variant and Neutral Solid Variant]() ![Action Button Critical Solid variant and Neutral Weak Variant]() ![Action Button Neutral Outline variant and Brand Outline Variant]() | Variant | Description | | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Brand Solid** | Conveys the brand's core values, and is used for key features of the service where connection between users occurs. Because it has a high hierarchy and strong brand impact, it is recommended to use only one per screen. | | **Neutral Solid** | Has the second-highest hierarchy after Brand Solid, and is used as the CTA on most screens. Its high contrast provides high accessibility and readability, helping users focus on the screen's information. It is recommended to use only one per screen. | | **Critical Solid** | Used for important, irreversible actions such as deletion or reset. It plays the role of clearly notifying the user of risk, and is mainly used in [Alert Dialog](/components/alert-dialog). | | **Neutral Weak** | Used for most actions other than the CTA. It is a Solid type but is characterized by a lighter visual weight. When used together with a CTA, it plays the role of a secondary action. | | **Brand Outline** | Used for actions of lower importance than the Solid type, and has a higher hierarchy than Neutral Outline. It cannot be used together with a Solid type, and is recommended to be combined with Neutral Outline. | | **Neutral Outline** | Has the lowest hierarchy, and is mainly used to express secondary actions. It is characterized by low visual prominence. It cannot be used together with a Solid type, and is recommended to be combined with Brand Outline. | ### Use the Brand color only where truly necessary ![Example of using the Action Button Brand color]() The Brand color is an important asset that conveys the brand's identity and values, and should be used intensively on brand symbol elements such as logos, primary buttons, and key messages. Overusing the Brand color dilutes its meaning and emphasis. Use it where it conveys the meaning of "connection between neighbors." In Action Button, the Brand color can be applied to actions that create a connection between users, such as "Chat" and "Add as regular," and to core service actions such as "Write post" and "Post ad." ### Combining Buttons #### Solid combination ![Example of an Action Button Solid combination]() Combining Neutral Weak with Neutral Solid or Brand Solid clearly expresses the hierarchy of actions. This combination reduces visual burden while providing an intuitive experience, and helps users make decisions quickly and easily. #### Outline combination ![Example of an Action Button Outline combination]() Neutral Outline and Brand Outline are suitable for expressing sub-actions with low emphasis. Combining the two buttons side by side clearly conveys hierarchy. Recommended when buttons appear multiple times on a single screen. ### Button placement When combining two or more buttons, an appropriate layout must be composed depending on the situation. ![Example of Action Button placement]() In a Solid combination, if the Neutral Weak button has the meaning of Dismiss, such as reset or close, it is recommended to use a 3:7 ratio to clearly express the action hierarchy. Variants with low emphasis hierarchy, like Neutral Weak, can be used side by side for two actions of similar hierarchy. If there are more than two actions, use an Icon Only button so the user can check additional actions. **It is not recommended to use three or more Action Buttons side by side.** Placing many side by side makes each button appear similarly important, making it harder for the user to choose, and reduces the effect of encouraging clicks. Also, when using large text due to font scaling, the label may be truncated. ### Writing Labels Button copy must clearly and predictably express the action the user will perform. Always write from the user's point of view, and keep consistent wording and tone for the same action. Avoid unnecessary words or ambiguous expressions, and use concise verb-form sentences. ### When using a long Label ![Example of placing two Action Buttons side by side and stacked]() If a long Label is needed, or unintentionally becomes long after translation, or when using large text due to font scaling, the Action Button layout may overflow. **In this case, the implementation can use the Responsive Pair utility to automatically switch the layout according to the configured logic.** ### Using Icons ![Example of using an Icon in Action Button]() Icons help visually express and emphasize the button's action. Icons can be placed before or after the label; Prefix mainly supports the meaning of the action, while Suffix, like a Chevron, supports the action itself. It is recommended to use icons sparingly, only when truly necessary, so as not to harm the readability of the label. ## Action Button vs. Chip ![Comparison image of Action Button and Chip]() Action Button and [Chip](/components/chip) have a similar shape, but differ in purpose and functionality. | | Action Button | Chip | | -------------------- | -------------------------------------------------------- | ----------------------------------------------------------------------- | | **Purpose** | Perform an action | Express information + express selection | | **Example** | 'Complete', 'Submit', 'Next', 'Delete' | Filter ('Seocho 4-dong and 34 others'), option selection ('0-6 months') | | **Label expression** | The action can be predicted just by looking at the label | Displays selected or active content | | **Label purpose** | Important to recognize what action is being taken | Important to check which condition/information is currently active | | **Usage pattern** | Can be used standalone | Recommended to use in groups of 2 or more | ## Learn more ## Specification Component spec (JSON): /rootage/components/action-button.json