</>
cf-buttons docs
view the repository
Theme variables
The following color and sizing variables are exposed, allowing you to easily override them before compiling.
Colors
Sizing
Default button
Note that the .visited, .hover, .focus, .active classes are for demonstration purposes only and should not be used in production.
Default state
Anchor Tag
Button Tag
Hovered state
Anchor Tag
Button Tag
Focused state
Anchor Tag
Button Tag
Active state
Anchor Tag
Button Tag
Secondary button
Note that the .visited, .hover, .focus, .active classes are for demonstration purposes only and should not be used in production.
Default state
Anchor Tag
Button Tag
Hovered state
Anchor Tag
Button Tag
Focused state
Anchor Tag
Button Tag
Active state
Anchor Tag
Button Tag
Destructive action button
Note that the .visited, .hover, .focus, .active classes are for demonstration purposes only and should not be used in production.
Default state
Anchor Tag
Button Tag
Hovered state
Anchor Tag
Button Tag
Focused state
Anchor Tag
Button Tag
Active state
Anchor Tag
Button Tag
Disabled button
Disabled buttons do not contain separate hover and active states since they should not be interacted with.
Note that the .focus class is for demonstration purposes only and should not be used in production.
Default/hovered/active state
Anchor Tag
Button Tag
Button Tag w/ disabled attr
Focused state
Anchor Tag
Button Tag
Button Tag w/ disabled attr
Super button
Default state
Anchor Tag
Button Tag
Hovered state
Anchor Tag
Button Tag
Focused state
Anchor Tag
Button Tag
Active state
Anchor Tag
Button Tag
Button with icons
Button icon left
Anchor Tag
Button Tag
Anchor Tag
Button Tag
Anchor Tag
Button Tag
Anchor Tag
Button Tag
Button Tag w/ disabled attr
Button icon right
Anchor Tag
Button Tag
Anchor Tag
Button Tag
Anchor Tag
Button Tag
Anchor Tag
Button Tag
Button Tag w/ disabled attr
Just an icon
Search
Search
Button group modifiers
Default buttons in a button group
Anchor 1
Anchor 2
Anchor 3
Button 1
Button 2
Button 3
Super buttons in a button group
Anchor 1
Anchor 2
Anchor 3
Button 1
Button 2
Button 3
Compound button
This pattern requires combining .btn__grouped modifiers with the .btn__compound-action modifier.
Note that the .visited, .hover, .focus, .active classes are for demonstration purposes only and should not be used in production.
All button styles
Anchor
Button
Anchor
Button
Anchor
Button
Anchor
Button
Button w/ disabled attr
Anchor
Button
Button link
Note that the .visited, .hover, .focus, .active classes are for demonstration purposes only and should not be used in production.
Default state
Anchor Tag
Button Tag
Hovered state
Anchor Tag
Button Tag
Focused state
Anchor Tag
Button Tag
Active state
Anchor Tag
Button Tag
Secondary button link
Note that the .visited, .hover, .focus, .active classes are for demonstration purposes only and should not be used in production.
Default state
Anchor Tag
Button Tag
Hovered state
Anchor Tag
Button Tag
Focused state
Anchor Tag
Button Tag
Active state
Anchor Tag
Button Tag
Destructive action button link
Note that the .visited, .hover, .focus, .active classes are for demonstration purposes only and should not be used in production.
Default state
Anchor Tag
Button Tag
Hovered state
Anchor Tag
Button Tag
Focused state
Anchor Tag
Button Tag
Active state
Anchor Tag
Button Tag
cf-core
cf-buttons
cf-expandables
cf-forms
cf-grid
cf-icons
cf-layout
cf-pagination
cf-typography