Are you an LLM? You can read better optimized documentation at /buttons.md for this page in Markdown format
Buttons
Bullframe CSS provides button styles for creating consistent, accessible buttons.
Basic Buttons
Default Button
html
<button class="bf-btn">Default Button</button>Primary Button
html
<button class="bf-btn bf-btn--primary">Primary Button</button>Button as Link
html
<a href="#" class="bf-btn">Link Button</a>Button States
Disabled
Use the disabled attribute or the .bf-disabled class:
html
<button class="bf-btn" disabled>Disabled Button</button>
<button class="bf-btn bf-disabled">Disabled Button</button>
<button class="bf-btn bf-btn--primary bf-disabled">Disabled Primary</button>Accessibility
- Primary buttons meet WCAG AA 4.5:1 contrast (white text on blue background)
- Disabled buttons use
cursor: not-allowedandpointer-events: none - Focus states include a visible box-shadow ring