diff --git a/apps/website/pages/components/checkbox/code.tsx b/apps/website/pages/components/checkbox/code.tsx new file mode 100644 index 0000000000..5041cb1fde --- /dev/null +++ b/apps/website/pages/components/checkbox/code.tsx @@ -0,0 +1,17 @@ +import Head from "next/head"; +import type { ReactElement } from "react"; +import CheckboxPageLayout from "screens/components/checkbox/CheckboxPageLayout"; +import CheckboxCodePage from "screens/components/checkbox/code/CheckboxCodePage"; + +const Code = () => ( + <> +
+label is provided.
+ value attribute of the HTML input element. When inside a form, this
- value will be only submitted if the checkbox is checked.
+ label is provided.
+ Will be passed to the value attribute of the HTML input element. When inside a form, this
+ value will be only submitted if the checkbox is checked.
backgroundColorChecked
- color-blue-800
- hoverBackgroundColorChecked
- color-blue-900
- disabledBackgroundColorChecked
- color-grey-500
- readOnlyBackgroundColorChecked
- color-grey-500
- hoverReadOnlyBackgroundColorChecked
- color-grey-600
- borderColor
- color-blue-800
- hoverBorderColor
- color-blue-900
- disabledBorderColor
- color-grey-500
- readOnlyBorderColor
- color-grey-500
- hoverReadOnlyBorderColor
- color-grey-600
- checkColor
- color-white
- disabledCheckColor
- color-white
- readOnlyCheckColor
- color-white
- fontColor
- color-black
- disabledFontColor
- color-grey-500
- focusColor
- color-blue-600
- inputMargin
- spacing-8
- fontFamily
- font-family-sans
- fontSize
- font-scale-02
- fontWeight
- font-weight-regular
- border-width
- border-width-2
- border-style
- border-style-solid
- border-radius
- border-radius-small
- border-width
- border-width-2
- border-style
- border-style-solid
- border-radius
- border-radius-medium
- top, right, bottom,{" "}
- left.
- xxsmall
- xsmall
- small
- medium
- large
- xlarge
- xxlarge
-