extends ../../layouts/LayoutComponent
include ../../mixins/components/Buttons
include ../../mixins/components/CloseButton
append variables
-
var pageHeader = [
{
title: 'Buttons',
description: `Use ${name} custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.`,
url: `https://getbootstrap.com/docs/${bootstrapVersion}/components/buttons/`,
linkText: 'Buttons on Bootstrap'
},
{
title: 'Button Group\n',
description: 'Group a series of buttons together on a single line with the button group, and super-power them with JavaScript.',
url: `https://getbootstrap.com/docs/${bootstrapVersion}/components/button-group/`,
linkText: 'Button-Group on Bootstrap'
},
]
block component
+PageHeader(pageHeader[0])
+ComponentCard({
title: 'Falcon Buttons',
anchor: true,
}).mb-3
+FalconButtonsDemo
+ComponentCard({
title: 'Solid Buttons',
anchor: true,
}).mb-3
+SolidButtonsDemo
+ComponentCard({
title: 'Outline Buttons',
anchor: true,
description:"In need of a button, but not the hefty background colors they bring? Replace the default modifier classes with the .btn-outline-* ones to remove all background images and colors on any button.",
descriptionClass:'mt-2 mb-0'
}).mb-3
+ButtonOutlineDemo
+ComponentCard({
title: 'Close Buttons',
anchor: true,
description:"Be sure to include text for screen readers, as we’ve done with aria-label. Disabled close buttons have pointer-events: none and user-select: none applied to, preventing hover and active states from triggering.",
descriptionClass:'mt-2 mb-0'
}).mb-3
+CloseButtonExample
+ComponentCard({
title: 'Close buttons white variant',
anchor: true,
description:"Add data-bs-theme=\"dark\" to the .btn-close , or to its parent element, to invert the close button. This uses the filter property to invert the background-image without overriding its value.",
descriptionClass:'mt-2 mb-0'
}).mb-3
.bg-1000.rounded-1.p-3(data-bs-theme="light")
+CloseButtonWhiteVariant
+ComponentCard({
title: 'Falcon close button',
anchor: true,
description:"Falcon close button is properly optimized for both light and dark mode. Use .btn-close-falcon class for falcon close button.",
descriptionClass:'mt-2 mb-0'
}).mb-3
+FalconCloseButton
+ComponentCard({
title: 'Button Sizes',
anchor: true,
description:"Fancy larger or smaller buttons? Add .btn-lg or .btn-sm for additional sizes.",
descriptionClass:'mt-2 mb-0'
}).mb-3
+ButtonSizesDemo
+ComponentCard({
title: 'Icon Buttons',
anchor: true,
}).mb-3
+ButtonIconDemo
+ComponentCard({
title: 'Button Capsule',
anchor: true,
}).mb-3
+ButtonCapsuleDemo
+PageHeader(pageHeader[1])
+ComponentCard({
title: 'Basic Example',
anchor: true,
description:"Wrap a series of buttons with .btn in.btn-group. Add on optional JavaScript radio and checkbox style behavior with",
descriptionClass:'mt-2 mb-0'
}).mb-3
+ButtonGroupDemo
+ComponentCard({
title: 'Button Toolbar',
anchor: true,
description:"Combine sets of button groups into button toolbars for more complex components. Use utility classes as needed to space out groups, buttons, and more.",
descriptionClass:'mt-2 mb-0'
}).mb-3
+ButtonToolbarDemo
+ComponentCard({
title: 'Button toolbar with input group',
anchor: true,
description:"Feel free to mix input groups with button groups in your toolbars. Similar to the example above, you'll likely need some utilities though to space things properly.",
descriptionClass:'mt-2 mb-0'
}).mb-3
+ButtonToolbarWithInputGroupDemo
+ComponentCard({
title: 'Sizing',
anchor: true,
description:"Instead of aplying button sizing classes to every button in a group, just add .btn-gorup-* to each .btn-group, including each one when nesting multiple groups.",
descriptionClass:'mt-2 mb-0'
}).mb-3
+ButtonGroupSizeDemo
+ComponentCard({
title: 'Vertical variation',
anchor: true,
description:"Make a set of buttons appear vertically tacked rather than horizontally. Split button dropdowns ae not supported here.",
descriptionClass:'mt-2 mb-0'
}).mb-3
+ButtonGroupVerticalDemo
+ComponentCard({
title: 'Vertical variation with dropdown',
anchor: true,
}).mb-3
+ButtonGroupVerticalWithDropdownDemo
+ComponentCard({
title: 'Disabled state',
anchor: true,
description:"Make buttons look inactive by adding the disabled boolean attribute to any <button> element. Disabled buttons have pointer-events: none; applied to, preventing hover and active states from triggering.",
descriptionClass:'mt-2 mb-0'
}).mb-3
+ButtonDisableStateDemo
+ComponentCard({
title: 'Block buttons',
anchor: true,
})
+BlockButtonsDemo