// ============================================================================= // SPLIT BUTTONS (CSS) // ============================================================================= // Bigcommerce Component // ----------------------------------------------------------------------------- // // The Bigcommerce Coding Standards, coupled with Foundation. // If any library overrides or extra CSS is needed, declare it here. // // 1. If set to false, there is no outputted CSS for this component. // 2. Specific overrides for CP primary button colours // // ----------------------------------------------------------------------------- @if $exportCSS--split-buttons { // 1 /*doc --- title: Split Buttons name: splitButton parent: button category: Components --- The split button is a button with two triggers – the button as the primary action, and a dropdown with a list of secondary actions. The dropdown toggle is a small span that's placed within the button. This toggles the dropdown menu when clicked. The actions within the dropdown are triggered on click as well. The main button triggers a separate, primary action; however this is reserved for actions relating to the dropdown contents. ```sass_file_example src/settings/foundation/split-buttons/_settings.scss ``` ```html_example