### Basecoat Table Styling Source: https://context7_llms Provides examples of Basecoat's CSS for styling HTML tables. It covers basic table styling and an option for striped rows to improve readability. ```html
``` -------------------------------- ### Basecoat CDN Installation Source: https://context7_llms Provides instructions for using Basecoat via CDN, including linking the CSS file and including the JavaScript bundle. The script tag uses the 'defer' attribute for asynchronous loading. ```html ``` -------------------------------- ### Install Basecoat CSS in a Tailwind Project Source: https://context7_llms Instructions for installing the basecoat-css package in a project that already uses Tailwind CSS. This involves adding the package via npm and importing the necessary CSS files. ```bash npm i basecoat-css ``` ```css @import "tailwindcss"; @import "basecoat-css"; ``` -------------------------------- ### Basecoat Button Styling Source: https://context7_llms Example of applying Basecoat's CSS classes to create styled buttons. It demonstrates base styling and variations for secondary buttons, as well as size modifiers. ```html ``` -------------------------------- ### Basecoat Card Component Structure Source: https://context7_llms Example of the HTML structure for a Basecoat Card component. It includes slots for a header, main content section, and footer, allowing for flexible content arrangement. ```html
Card Header
Card Content
``` -------------------------------- ### Manual Basecoat JavaScript Initialization Source: https://context7_llms Shows how to manually re-initialize Basecoat's JavaScript functionality. This can be done for specific components or for all components on the page. ```javascript window.basecoat.init('tabs'); window.basecoat.initAll(); ``` -------------------------------- ### Keyboard Key Visual Component (CSS) Source: https://context7_llms Styles elements to visually represent keyboard keys. Uses the `kbd` class for styling. ```html ⌘K ``` -------------------------------- ### Basecoat Alert Component Usage Source: https://context7_llms Example of using the Basecoat alert component. It requires the 'alert' class and can optionally use 'alert-destructive' for specific contexts. The component is semantically marked with 'role="alert"'. ```html ``` -------------------------------- ### Manual JavaScript Initialization for Basecoat Components Source: https://context7_llms Demonstrates how to manually initialize Basecoat components using its JavaScript API. This is useful for initializing specific components or all components after dynamic content has been loaded. ```javascript window.basecoat.init(''); window.basecoat.initAll(); ``` -------------------------------- ### Basecoat Dialog Styling (CSS/Native) Source: https://context7_llms Demonstrates how to style the native HTML `` element using Basecoat's CSS. It also shows a variant for integrating with the Command component. ```html ``` -------------------------------- ### Label Component (CSS) Source: https://context7_llms Styles form labels. Applied to native `