Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A implementation of a checkbox as a form-connected web-component.
fluent-checkbox
Setup
Basic Setup
import {
provideFluentDesignSystem,
fluentCheckbox
} from "@fluentui/web-components";
provideFluentDesignSystem()
.register(
fluentCheckbox()
);
Customizing the check indicator
import {
provideFluentDesignSystem,
fluentCheckbox
} from "@fluentui/web-components";
provideFluentDesignSystem()
.register(
fluentCheckbox({
checkedIndicator: `...your checked indicator...`,
indeterminateIndicator: `...your indeterminate indicator...`,
})
);
Example
Please see the Blazor documentation and demo site for more information.