Cargo Features
[dependencies]
yew-cosmo = { version = "1.0.10", default-features = false, features = ["with-yew-router", "with-icons", "with-bootstrap-icons", "with-lucide-icons", "with-font-awesome-icons", "with-octicons-icons", "with-heroicons-icons"] }
- default = with-icons, with-lucide-icons, with-yew-router
-
These default features are set whenever
yew-cosmo
is added without
somewhere in the dependency tree.default-features = false - with-yew-router default
-
Enables yew-router
Affects
button::CosmoButtonLinkProps
,button::button_link
,layout::CosmoTopBarItemLinkProps
,layout::top_bar_item
,menu::CosmoMainMenuItemLinkProps
,menu::main_menu_item_link
,menu::CosmoSubMenuItemLinkProps
,menu::sub_menu_item_link
,typography::CosmoAnchorLinkProps
,typography::anchor_link
… - with-icons default with-bootstrap-icons? with-font-awesome-icons? with-heroicons-icons? with-lucide-icons with-octicons-icons?
-
Enables yew_icons
Affects
button::CosmoCircleButtonSize
,button::CosmoCircleButtonProps
,button::circle_button
… - with-bootstrap-icons = with-icons
- with-lucide-icons default = with-icons
- with-font-awesome-icons = with-icons
-
Enables font_awesome_regular and font_awesome_solid of optional yew_icons
- with-octicons-icons = with-icons
- with-heroicons-icons = with-icons
-
Enables heroicons_mini_solid, heroicons_outline and heroicons_solid of optional yew_icons