Crate leptos_remix_icon

source ·

Structs§

Enums§

  • the icon size can be one of 10x, sm, lg … etc this ported directly from remixicon.css .ri-lg { font-size: 1.3333em; line-height: 0.75em; vertical-align: -.0667em; } .ri-xl { font-size: 1.5em; line-height: 0.6666em; vertical-align: -.075em; } .ri-xxs { font-size: .5em; } .ri-xs { font-size: .75em; } .ri-sm { font-size: .875em } .ri-sm { font-size: .875em } .ri-1x { font-size: 1em; } .ri-2x { font-size: 2em; } .ri-3x { font-size: 3em; } .ri-4x { font-size: 4em; } .ri-5x { font-size: 5em; } .ri-6x { font-size: 6em; } .ri-7x { font-size: 7em; } .ri-8x { font-size: 8em; } .ri-9x { font-size: 9em; } .ri-10x { font-size: 10em; } .ri-fw { text-align: center; width: 1.25em; }

Functions§

  • The Icon takes three props icon - an equivalent of remix icon without the “ri-” prefix style - custom css rules class - tailwind or custom css classes