refactor: move input and label to design system

correct variables according to design system spec

various cleanup
This commit is contained in:
Christian Andolf
2025-05-26 16:09:22 +02:00
parent 8b5e8aecae
commit f6be4f275e
22 changed files with 257 additions and 164 deletions

View File

@@ -0,0 +1,13 @@
import { labelVariants } from './variants'
import type { LabelProps } from './types'
export function Label({ children, className, required, size }: LabelProps) {
const classNames = labelVariants({
className,
size,
required,
})
return <span className={classNames}>{children}</span>
}