@arolariu/components
Version:
🎨 70+ beautiful, accessible React components built on Base UI. TypeScript-first, CSS Modules styling, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡
31 lines (27 loc) • 720 B
CSS
.textarea {
box-sizing: border-box;
display: flex;
width: 100%;
min-height: 3.75rem;
padding: var(--ac-space-2) var(--ac-space-3);
border: 1px solid var(--ac-input);
border-radius: var(--ac-radius-md);
background-color: transparent;
color: var(--ac-foreground);
font-size: var(--ac-text-sm);
line-height: 1.5;
resize: vertical;
outline: none;
transition: border-color var(--ac-transition-fast), box-shadow var(--ac-transition-fast);
&::placeholder {
color: var(--ac-muted-foreground);
}
&:focus-visible {
border-color: var(--ac-ring);
box-shadow: 0 0 0 1px var(--ac-ring);
}
&:disabled {
cursor: not-allowed;
opacity: 0.5;
}
}