The b.Button
, b.ButtonA
, b.ButtonAHref
, b.ButtonSubmit
, b.ButtonInputSubmit
and b.ButtonInputReset
constructors create buttons.
Modifier | Action |
---|---|
b.Responsive | Responsive size |
b.FullWidth | Take the whole width |
b.Outlined | Outline style |
b.Inverted | Inverted style |
b.Rounded | Rounded button |
b.Hovered | Apply the hovered style |
b.Focused | Apply the focused style |
b.Active | Apply the active style |
b.Loading | Replace the content with a loading spinner |
b.Static | Make the button non-interactive |
e.Disabled() | Disable the button |
e.Disabled(bool) | Disable the button conditionally |
b.Selected | In a list of attached buttons (Buttons with Addons), make sure this button is above the other buttons |
b.Small | Set size to small |
b.Normal | Set size to normal |
b.Medium | Set size to medium |
b.Large | Set size to large |
b.White | Set color to white |
b.Light | Set color to light |
b.Dark | Set color to dark |
b.Black | Set color to black |
b.Text | Set style to underlined text |
b.Ghost | Set style to link-looking blue text |
b.Primary | Set color to primary |
b.Link | Set color to link |
b.Info | Set color to info |
b.Success | Set color to success |
b.Warning | Set color to warning |
b.Danger | Set color to danger |
b.PrimaryLight | Set color to primary light |
b.LinkLight | Set color to link light |
b.InfoLight | Set color to info light |
b.SuccessLight | Set color to success light |
b.WarningLight | Set color to warning light |
b.DangerLight | Set color to danger light |
b.PrimaryDark | Set color to primary dark |
b.LinkDark | Set color to link dark |
b.InfoDark | Set color to info dark |
b.SuccessDark | Set color to success dark |
b.WarningDark | Set color to warning dark |
b.DangerDark | Set color to danger dark |
The b.Buttons
constructor creates a button.
Modifier | Action |
---|---|
b.Addons | Attach the buttons together |
b.Centered | Center the buttons |
b.Right | Align the buttons to the right |
b.Small | Set the buttons size to small |
b.Medium | Set the buttons size to medium |
b.Large | Set the buttons size to large |