Компонент
Checkbox
Checkbox uses a native input for form semantics, supports controlled and uncontrolled state, forwards refs, and animates the checkmark without replacing accessibility behavior.
Пример
Интерактивный примерИспользование
Импортируйте компонент из публичной точки входа пакета.
import { Checkbox } from "denjs-ui";
export function Example() {
return (
<Checkbox
label="Accept terms"
description="You agree with our terms and privacy policy."
/>
);
}