### Install Kuat-Core Package
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/kuat-core-integration.md
Provides commands for installing the @equal-experts/kuat-core package using different package managers.
```bash
# Using pnpm (recommended)
pnpm add @equal-experts/kuat-core
# Using npm
npm install @equal-experts/kuat-core
# Using yarn
yarn add @equal-experts/kuat-core
```
--------------------------------
### Install Kuat-Core and Shadcn CLI (React)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/kuat-core-integration.md
Installs the kuat-core package and initializes the shadcn/ui CLI for component management in a React project.
```bash
# 1. Install kuat-core
pnpm add @equal-experts/kuat-core
# 2. Initialize shadcn
npx shadcn@latest init
# 3. Install components as needed
npx shadcn@latest add button dialog
```
--------------------------------
### Running Kuat Test Consumer App (Bash)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/verification.md
Commands to set up and run a minimal React test application that demonstrates the integration of kuat-core design tokens with shadcn components. This includes installing dependencies and starting the development server.
```bash
cd apps/test-consumer-react
pnpm install
pnpm dev
```
--------------------------------
### Install Tailwind CSS and Vite Plugin
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/kuat-core-integration.md
Installs Tailwind CSS and its Vite plugin, necessary for Tailwind CSS integration.
```bash
pnpm add -D tailwindcss@^4.0.0 @tailwindcss/vite
```
--------------------------------
### Initialize shadcn/ui (React)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Initializes the shadcn/ui component library in your React project. This command sets up the necessary configuration files and directory structure for shadcn/ui components, allowing you to add them to your project.
```bash
npx shadcn@latest init
```
--------------------------------
### Install kuat-core (React & Vue)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Installs the core Kuat Design System package, which provides design tokens and theming capabilities. This is a foundational step for both React and Vue projects.
```bash
pnpm add @equal-experts/kuat-core
```
--------------------------------
### Card Padding Examples in React
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/react/spacing.md
Demonstrates different padding levels for cards using Kuat Design System spacing utilities. Includes standard, compact, and spacious card examples.
```tsx
// Standard card padding
Card Title
Card content
// Small card
Compact card
// Large card
Spacious card
```
--------------------------------
### Divider Examples in React
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/react/borders.md
Demonstrates how to create horizontal and vertical dividers using Tailwind CSS border utilities. Includes examples for spacing and alignment.
```tsx
// Horizontal divider
// Vertical divider
```
--------------------------------
### Grid Layout Spacing Examples in React
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/react/spacing.md
Shows different grid layouts with varying column counts and gap sizes using Kuat Design System's grid utilities. Includes standard, tight, and spacious grid examples.
```tsx
// Standard grid
Item 1
Item 2
Item 3
// Tight grid
{/* items */}
// Spacious grid
{/* items */}
```
--------------------------------
### Install Kuat Core and shadcn/ui Components
Source: https://context7.com/equalexperts/kuat-agent-rules/llms.txt
Steps to install the core Kuat theming package and initialize/add shadcn/ui components in a React project. This sets up the foundational styling and component library.
```bash
# Step 1: Install kuat-core
pnpm add @equal-experts/kuat-core
# Step 2: Initialize shadcn (React)
npx shadcn@latest init
# Step 3: Install shadcn components as needed
npx shadcn@latest add button
npx shadcn@latest add dialog
npx shadcn@latest add dropdown-menu
# Step 4: (Optional) Install Kuat custom components
pnpm add @equal-experts/kuat-react
```
--------------------------------
### Button Spacing Examples in React
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/react/spacing.md
Provides examples of different button sizes (small, standard, large) using Kuat Design System's padding utilities. Demonstrates how padding affects button dimensions.
```tsx
// Small button
// Standard button
// Large button
```
--------------------------------
### Configure Grid Gaps
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/css/spacing.md
Shows how to set the gap between grid items using CSS. Includes examples for standard, tight, and spacious grid layouts.
```css
/* Standard grid */
.grid {
display: grid;
gap: 1rem; /* 16px - equivalent to gap-4 */
}
/* Tight grid */
.grid-tight {
gap: 0.5rem; /* 8px - equivalent to gap-2 */
}
/* Spacious grid */
.grid-spacious {
gap: 1.5rem; /* 24px - equivalent to gap-6 */
}
```
--------------------------------
### Initialize shadcn-vue (Vue)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Initializes the shadcn-vue component library in your Vue project. This command sets up the necessary configuration and structure for shadcn-vue components, enabling their integration into your Vue application.
```bash
npx shadcn-vue@latest init
```
--------------------------------
### Flex Layout Spacing Examples in React
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/react/spacing.md
Illustrates common flexbox layouts with spacing using Kuat Design System's `flex` and `gap-*` utilities. Examples include button groups and navigation bars.
```tsx
// Button group
// Navigation
```
--------------------------------
### Basic CSS Color Usage with Variables
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/css/colours.md
Demonstrates fundamental CSS color usage with Kuat Design System variables for backgrounds and foregrounds. Includes examples for primary, secondary, and destructive buttons.
```css
/* Basic color usage */
.container {
background-color: var(--background);
color: var(--foreground);
}
/* Primary button */
.button-primary {
background-color: var(--primary);
color: var(--primary-foreground);
}
.button-primary:hover {
opacity: 0.9;
}
/* Secondary button */
.button-secondary {
background-color: var(--secondary);
color: var(--secondary-foreground);
}
/* Destructive button */
.button-destructive {
background-color: var(--destructive);
color: var(--destructive-foreground);
}
```
--------------------------------
### Section Spacing Examples in React
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/react/spacing.md
Shows how to apply vertical spacing between distinct sections on a page using Kuat Design System's `space-y-*` utility. Includes examples for section titles and content.
```tsx
// Page with section spacing
Section Title
Content
Another Section
More content
```
--------------------------------
### Complete Layout Spacing Example
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/css/spacing.md
An example combining various spacing and layout properties to structure a complete page layout, including headers, content grids, and cards.
```css
.page {
padding: 1.5rem; /* 24px */
}
.page-header {
margin-bottom: 2rem; /* 32px */
}
.page-title {
margin-bottom: 0.5rem; /* 8px */
}
.page-description {
color: var(--muted-foreground);
}
.content-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem; /* 16px */
}
.card {
padding: 1.5rem; /* 24px */
border: 1px solid var(--border);
}
.card-title {
margin-bottom: 1rem; /* 16px */
}
.card-actions {
margin-top: 1rem; /* 16px */
display: flex;
gap: 0.5rem; /* 8px */
}
```
--------------------------------
### Apply Spacing to Layout Sections
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/css/spacing.md
Demonstrates how to apply vertical spacing between different types of layout sections using margins. Includes examples for page sections, content sections, and tight sections.
```css
/* Page sections */
.section + .section {
margin-top: 3rem; /* 48px - equivalent to space-y-12 */
}
/* Content sections */
.content-section + .content-section {
margin-top: 2rem; /* 32px - equivalent to space-y-8 */
}
/* Tight sections */
.tight-section + .tight-section {
margin-top: 1rem; /* 16px - equivalent to space-y-4 */
}
```
--------------------------------
### Basic Borders in React
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/react/borders.md
Demonstrates how to apply basic borders and emphasized borders using Tailwind CSS classes. Includes an example of a focus ring for interactive elements.
```tsx
// 1px default border
Content
// 2px emphasized border
Important content
// Focus ring (4px)
```
--------------------------------
### React Link Color Example with Tailwind CSS
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/react/colours.md
Provides an example of styling links in React using Kuat Design System's primary color and Tailwind CSS for hover effects, demonstrating how to create clickable text elements.
```tsx
Link text
```
--------------------------------
### List Spacing Examples in React
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/react/spacing.md
Demonstrates how to apply vertical spacing between list items using Kuat Design System's `space-y-*` utility. This ensures consistent spacing in unordered lists.
```tsx
List item 1
List item 2
List item 3
```
--------------------------------
### Good vs Bad Spacing Practices in Vue
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/vue/spacing.md
Highlights the recommended approach for applying spacing in Vue.js using Kuat Design System's predefined scale (good example) versus arbitrary values (bad example). This promotes consistency and maintainability.
```vue
Title
Content
Title
Content
```
--------------------------------
### Spacing vs Borders Best Practices in React
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/react/borders.md
Compares the preferred use of spacing for element separation versus the less preferred use of borders. Provides examples of good and bad practices.
```tsx
// ✅ Good: Using spacing for separation (preferred)
Section Title
Content here
Another Section
More content
// ❌ Avoid: Unnecessary borders when spacing is sufficient
Section Title
Another Section
```
--------------------------------
### Focus Rings in React
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/react/borders.md
Shows how to implement focus rings for interactive elements like buttons using Tailwind CSS. This example includes ring color, width, and offset.
```tsx
```
--------------------------------
### Implement Dividers in Vue
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/vue/borders.md
Shows how to create horizontal and vertical dividers in Vue using Kuat Design System border utility classes. These examples demonstrate simple line separators for layout.
```vue
```
--------------------------------
### Form Spacing Examples in React
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/react/spacing.md
Illustrates consistent vertical spacing within a form using Kuat Design System's `space-y-*` utility. Shows spacing for labels, inputs, and buttons.
```tsx
// Form with consistent spacing
```
--------------------------------
### Install Kuat Custom Components (Vue)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Installs the Kuat Vue components library, providing custom components such as ButtonGroup. These are intended for use alongside shadcn components and are imported separately.
```bash
pnpm add @equal-experts/kuat-vue
```
--------------------------------
### Install Kuat Custom Components (React)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Installs the Kuat React components library, which includes custom components like ButtonGroup. These are used in conjunction with shadcn components and are imported separately.
```bash
pnpm add @equal-experts/kuat-react
```
--------------------------------
### Add shadcn-vue Components (Vue)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Installs individual shadcn-vue components into your Vue project. You can add components like 'button' and 'dialog' as needed. These components will be placed in your project's UI components directory.
```bash
npx shadcn-vue@latest add button
npx shadcn-vue@latest add dialog
# ... etc
```
--------------------------------
### Add shadcn/ui Components (React)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Installs individual shadcn/ui components into your React project. You can add components like 'button', 'dialog', 'dropdown-menu', etc., as needed. These components will be copied into your project's components directory.
```bash
# Install components as needed
npx shadcn@latest add button
npx shadcn@latest add dialog
npx shadcn@latest add dropdown-menu
# ... etc
```
--------------------------------
### Use Kuat ButtonGroup with shadcn Button (React)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Demonstrates how to use the Kuat ButtonGroup component along with shadcn Button components in a React application. This example shows the composition of Kuat's layout component with shadcn's styled button.
```tsx
// Only import custom components, not standard ones
import { ButtonGroup, ButtonGroupText } from '@equal-experts/kuat-react';
import { Button } from '@/components/ui/button'; // Your shadcn copy
function Example() {
return (
);
}
```
--------------------------------
### Use Kuat ButtonGroup with shadcn Button (Vue)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Illustrates the usage of the Kuat ButtonGroup component combined with shadcn Button components within a Vue application. This example showcases how to integrate Kuat's layout component with shadcn's styled buttons.
```vue
```
--------------------------------
### React Component Examples from Kuat Design System
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/README.md
This snippet demonstrates how to import and use custom React components provided by the '@equal-experts/kuat-react' package. These components are built using the Kuat Design System's principles and are designed to be easily themed using 'kuat-core'. The example shows a basic ButtonGroup usage, highlighting the integration of Kuat's design tokens and patterns within a React application.
```javascript
import ButtonGroup from '@equal-experts/kuat-react/ButtonGroup';
// Example usage:
console.log('Option 1 clicked') },
{ label: 'Option 2', onClick: () => console.log('Option 2 clicked') },
]} />
```
--------------------------------
### Spacing System Examples (React/TSX)
Source: https://context7.com/equalexperts/kuat-agent-rules/llms.txt
Demonstrates the application of an 8-point grid system for consistent spacing in various UI elements like cards, buttons, forms, and layouts. It shows how different padding and gap utilities create visual hierarchy and responsiveness.
```tsx
// Card padding variations
Compact card (16px)
Standard card (24px)
Spacious card (32px)
// Button size variations
// Form with consistent spacing
// Grid and flex layouts
{/* Standard 16px gap */}
{/* Tight 8px gap */}
{/* Button group */}
// Responsive container spacing
Responsive Container
```
--------------------------------
### Load Kuat Design Context (Python)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/integration.md
A Python function to dynamically load Kuat design context based on a specified task and optional framework. It aggregates rules and examples from local paths.
```python
def get_kuat_context(task: str, framework: str = None) -> str:
"""Load Kuat design context for a task."""
base = "kuat-docs/"
files = {
"design": ["rules/design/colours.md", "rules/design/spacing.md"],
"content": ["rules/content/foundations.md"],
"component": ["rules/components/patterns.md"],
}
result = [load(f"{base}{f}") for f in files.get(task, [])]
if framework:
result.append(load(f"{base}examples/{framework}/"))
return "\n".join(result)
```
--------------------------------
### Clone Kuat Design System Documentation Locally (Bash)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/integration.md
Bash commands to clone only the documentation directory from the Kuat Design System repository using sparse checkout. This method is efficient for integrating the full documentation into a local project without cloning the entire monorepo. It allows for deeper integration by referencing local files directly.
```bash
# Clone only the docs (sparse checkout)
git clone --filter=blob:none --sparse https://github.com/equalexperts/kuat-mono.git
cd kuat-mono
git sparse-checkout set kuat-docs
# Copy to your project
cp -r kuat-docs /path/to/your-project/
```
--------------------------------
### Toggle Dark Mode Dynamically - JavaScript
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Shows a JavaScript snippet to dynamically toggle the 'dark' class on the document's root element, allowing for runtime switching of dark mode.
```javascript
document.documentElement.classList.toggle('dark');
```
--------------------------------
### Implement Dark Mode with Root Class - React
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Demonstrates how to apply the 'dark' class to the root HTML element for enabling dark mode in a React application. This is a common pattern for theme switching.
```tsx
```
--------------------------------
### Clone Kuat Design System Documentation Locally
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/README.md
This bash script clones the Kuat Design System monorepo, specifically checking out the 'kuat-docs' directory. This allows developers to have the full documentation available locally for reference, especially for component patterns, layouts, and content guidelines. After cloning, the script instructs on how to update local snippets to point to the cloned documentation.
```bash
git clone --filter=blob:none --sparse https://github.com/equalexperts/kuat-mono.git
cd kuat-mono && git sparse-checkout set kuat-docs
cp -r kuat-docs /path/to/your-project/
```
--------------------------------
### Tailwind Utility Classes for Styling
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/kuat-core-integration.md
This HTML snippet showcases example Tailwind CSS utility classes provided by the preset for applying colors, borders, and border-radius. These classes enable rapid UI development by leveraging predefined design tokens.
```html
```
--------------------------------
### Responsive Spacing Examples in React
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/react/spacing.md
Demonstrates how to apply responsive spacing to a container using Kuat Design System's breakpoint modifiers (e.g., `md:`, `lg:`). Spacing adjusts based on screen size.
```tsx
Responsive Container
Spacing adapts to screen size
```
--------------------------------
### Migrate Kuat React Imports - TypeScript
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Illustrates the migration from deprecated imports in '@equal-experts/kuat-react' to the recommended approach using local shadcn components and the updated kuat-react package. This ensures compatibility and utilizes the latest patterns.
```typescript
// Before (Deprecated)
import { Button, Dialog, ButtonGroup } from '@equal-experts/kuat-react';
```
```typescript
// After (Recommended)
// Standard components from your local shadcn installation
import { Button } from '@/components/ui/button';
import { Dialog } from '@/components/ui/dialog';
// Kuat-specific components from the package
import { ButtonGroup } from '@equal-experts/kuat-react';
```
--------------------------------
### Import Design Tokens (React)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Imports the Kuat Design System's CSS variables into your React application's entry point. This makes the design tokens available for use in your styles. It should be imported before your application's custom styles.
```typescript
// main.tsx or App.tsx
import '@equal-experts/kuat-core/variables.css';
import './styles.css'; // Your app styles
```
--------------------------------
### Import Design Tokens (Vue)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Imports the Kuat Design System's CSS variables into your Vue application's main entry file. This makes the design tokens globally available for styling. It's essential to import this before mounting your Vue application.
```typescript
// main.ts
import '@equal-experts/kuat-core/variables.css';
import './style.css';
import { createApp } from 'vue';
import App from './App.vue';
createApp(App).mount('#app');
```
--------------------------------
### Vue Button Component Structure
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/vue/components.md
Defines a reusable Button component using Vue 3's `
```
--------------------------------
### Apply Kuat Design Tokens with Vanilla CSS
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/kuat-core-integration.md
Shows how to use Kuat's CSS custom properties directly in CSS for styling components.
```css
/* styles.css */
.my-button {
background-color: var(--primary);
color: var(--primary-foreground);
border-radius: var(--radius);
padding: 0.5rem 1rem;
border: none;
cursor: pointer;
}
.my-button:hover {
background-color: var(--primary-foreground);
color: var(--primary);
outline: 2px solid var(--primary);
}
.my-card {
background-color: var(--card);
color: var(--card-foreground);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1rem;
}
```
--------------------------------
### Apply Padding to Cards
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/css/spacing.md
Demonstrates how to apply different padding values to card components using Kuat spacing variables. Includes standard, small, and large card variations.
```css
/* Standard card */
.card {
padding: 1.5rem; /* 24px - equivalent to p-6 */
background-color: var(--card);
border: 1px solid var(--border);
}
/* Small card */
.card-sm {
padding: 1rem; /* 16px - equivalent to p-4 */
}
/* Large card */
.card-lg {
padding: 2rem; /* 32px - equivalent to p-8 */
}
```
--------------------------------
### Update Agent Rules for Local Kuat Docs (Markdown)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/integration.md
A markdown snippet to update your agent's configuration when the Kuat Design System documentation has been cloned locally. This snippet directs the agent to reference the design rules and implementation examples from the local `kuat-docs` directory, enabling offline access and faster lookups.
```markdown
## Kuat Design System
When working on UI, reference the design rules in `kuat-docs/rules/`.
For implementation examples, see `kuat-docs/examples/{react|vue|css}/`.
```
--------------------------------
### Configure Tailwind CSS with Kuat Preset (React)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Configures the Tailwind CSS build process to use the Kuat Design System preset. This ensures that Kuat's design tokens and configurations are applied to your project's styling. It also specifies content paths for your application and Kuat React components.
```typescript
// tailwind.config.ts
import type { Config } from 'tailwindcss';
import kuatPreset from '@equal-experts/kuat-core';
export default {
presets: [kuatPreset],
content: [
'./src/**/*.{js,ts,jsx,tsx}',
'./node_modules/@equal-experts/kuat-react/**/*.{js,ts,jsx,tsx}',
],
} satisfies Config;
```
--------------------------------
### Vite + React Configuration and Main Entry Point
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/kuat-core-integration.md
Configures Vite for React projects using @vitejs/plugin-react and @tailwindcss/vite. It also sets up the main entry point for the React application, importing global CSS variables from Kuat Core.
```typescript
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import tailwindcss from '@tailwindcss/vite';
export default defineConfig({
plugins: [react(), tailwindcss()]
});
```
```tsx
import React from 'react';
import ReactDOM from 'react-dom/client';
import '@equal-experts/kuat-core/variables.css';
import './index.css';
import App from './App';
ReactDOM.createRoot(document.getElementById('root')!).render(
);
```
--------------------------------
### Configure Tailwind CSS with Kuat Preset (Vue)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/setup/consumer-setup.md
Configures the Tailwind CSS build process to use the Kuat Design System preset for Vue projects. This integrates Kuat's design tokens and configurations into your project's styling, specifying content paths for your Vue application and Kuat Vue components.
```typescript
// tailwind.config.ts
import type { Config } from 'tailwindcss';
import kuatPreset from '@equal-experts/kuat-core';
export default {
presets: [kuatPreset],
content: [
'./src/**/*.{vue,js,ts}',
'./node_modules/@equal-experts/kuat-vue/**/*.{vue,js,ts}',
],
} satisfies Config;
```
--------------------------------
### Reusable Logo Component (Vue)
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/vue/logo.md
A configurable Vue component for displaying the Equal Experts logo. It accepts `variant` (color, white-text, white, black) and `size` (sm, md, lg) props to dynamically set the logo source URL and CSS classes. Includes script setup for logic and template for rendering.
```vue
```
```vue
Usage:
```
--------------------------------
### Vue Component Examples from Kuat Design System
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/README.md
This snippet illustrates the usage of custom Vue components from the '@equal-experts/kuat-vue' package. Similar to the React package, these components adhere to the Kuat Design System and can be themed via 'kuat-core'. The example shows a basic ButtonGroup component in Vue, demonstrating how to pass button configurations and handle click events within a Vue application.
```html
```
--------------------------------
### Vue Responsive Typography with Kuat Design System
Source: https://github.com/equalexperts/kuat-agent-rules/blob/main/kuat-docs/examples/vue/typography.md
Illustrates how to implement responsive typography in Vue.js using Kuat Design System's utility classes. This example applies different text sizes to a heading based on screen breakpoints (md and lg).
```vue