Explore our collection of interactive buttons
Comprehensive guide for button implementation and customization
<button class="group relative inline-flex items-center px-6 py-3
bg-emerald-500 text-white rounded-lg transition-all duration-300
hover:brightness-110 hover:shadow-[0_0_15px_rgba(255,255,255,0.5)]">
<span class="mr-2">Get Cortex Free</span>
<span class="inline-flex items-center justify-center
w-6 h-6 border border-white/50 rounded">
</span>
</button>
Explore different button implementations and variations
<button class="group inline-flex
items-center px-6 py-3
bg-emerald-500 text-white
rounded-lg transition-all
duration-300 hover:brightness-110
hover:shadow-[0_0_15px_rgba(255,255,255,0.5)]">
Get Cortex Free
</button>
<button class="group inline-flex
items-center px-6 py-3
bg-emerald-500 text-white rounded-lg">
<span class="mr-2">
Get Cortex Free
</span>
<span class="inline-flex
items-center justify-center w-6
h-6 border border-white/50
rounded">
</span>
</button>
<button class="p-3 bg-blue-500
text-white rounded-full
hover:bg-blue-600">
<!-- Send Icon -->
</button>
<button class="p-3 bg-red-500
text-white rounded-full
hover:bg-red-600">
<!-- Audio Icon -->
</button>
Tailor the buttons to match your design system
/* Color Variables */ --primary: #10B981; --secondary: #3B82F6; --accent: #8B5CF6; /* Hover Effects */ --glow: 0 0 15px rgba(255,255,255,0.5); --brightness: 1.1;
/* Transitions */ transition-all: 300ms; /* Effects */ hover:brightness-110 hover:scale-105 hover:translate-x-2
Quick start guide to implement our button components
npm install @cortex/button-components
/* In your CSS file */ @import '@cortex/button-components/styles.css'; /* Or in your HTML */ <link rel="stylesheet" href="path/to/button-components.css">
import { CortexButton } from '@cortex/button-components';
// In your component
<CortexButton
variant="primary"
withIcon={true}
glowEffect={true}
>
Get Cortex Free
</CortexButton>
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
cortex: {
primary: '#10B981',
// ... other colors
}
}
}
},
plugins: [
require('@cortex/button-components/plugin')
]
}