Pick a color mode
Renders a menu item checkbox as part of a menu/1 or menu_bar/1.
menu/1
menu_bar/1
See also menu_item/1.
menu_item/1
<.menu label="Actions"> <:item> <.menu_item_checkbox on_click={JS.dispatch("myapp:toggle-word-wrap")}> Word wrap </.menu_item_checkbox> </:item> </.menu>
Any additional classes to be added.
Variations of the component should be expressed via modifier attributes, and it is preferable to use styles on the parent container to arrange components on the page, but if you have to, you can use this attribute to pass additional utility classes to the component.
The value can be a string or a list of strings.
Word wrap