defmodule MoonWeb.Pages.Design.Form.CheckboxPage do @moduledoc false use MoonWeb, :live_view alias MoonWeb.Components.Page alias MoonWeb.Components.ComponentPageDescription alias MoonWeb.Examples.Design.Form.CheckboxExample alias MoonWeb.Components.ExamplesList alias MoonWeb.Components.PropsTable data(breadcrumbs, :any, default: [ %{ to: "/components", name: "Components" }, %{ to: "#", name: "Form" }, %{ to: "/components/v2/form/checkbox", name: "Checkbox" } ] ) def render(assigns) do ~F"""

The checkbox is shown as a square box that is ticked (checked) when activated.

Checkboxes are used to let a user select one or more options of a limited number of choices.

""" end end