package melange-radix-icons
Melange bindings for radix-icons
Install
Dune Dependency
Authors
Maintainers
Sources
0.1.0.tar.gz
md5=ab0983aae89236e281e033ae4e236adb
sha512=f88bc45b3907f104ad2d106d26e0ce360312044a6eaa413a72b41c48d6919b60d06a6ec6f592c923ca014d98833345c7a2e3d972ac355647ee95e1b7ab214a3e
README.md.html
melange-radix-icons
Install
Install opam package manager.
Currently, this package has not been published on opam-repository. see this link for adding deps from a git repository
Then:
npm install @radix-ui/react-icons
Usage
Add melange-radix-icons
to the libraries
in your dune
file:
; ...
(libraries melange-radix-icons)
; ...
Use it in your component:
[@react.component]
let make = () => {
<RadixIcons.Sun
className="h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"
/>
}
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>