import { define } from '../src' import { Layout, ExampleSection } from './helpers' const Tabs = define('Tabs', { display: 'flex', gap: 0, borderBottom: '2px solid #e5e7eb', parts: { Tab: { base: 'button', padding: '12px 24px', position: 'relative', marginBottom: -2, background: 'transparent', border: 'none', borderBottom: '2px solid transparent', color: '#6b7280', fontSize: 14, fontWeight: 500, cursor: 'pointer', transition: 'all 0.2s ease', states: { ':hover': { color: '#111827', } } } }, variants: { active: { parts: { Tab: { color: '#3b82f6', borderBottom: '2px solid #3b82f6', } } } }, render({ props, parts: { Root, Tab } }) { return (