@duskmoon-dev/art-components
v0.1.2
Published
React components for @duskmoon-dev/css-art pure CSS illustrations
Maintainers
Readme
@duskmoon-dev/art-components
React wrappers for @duskmoon-dev/css-art.
Installation
bun add @duskmoon-dev/art-components @duskmoon-dev/css-artImport the CSS once in your app:
@import "@duskmoon-dev/art-components/styles.css";Usage
import { ArtMoon, ArtPlasmaBall } from "@duskmoon-dev/art-components";
export function Demo() {
return (
<>
<ArtMoon crescent glow size="lg" />
<ArtPlasmaBall defaultChecked />
</>
);
}Components
ArtMoonArtSunArtAtomArtEclipseArtMountainArtSnowflakeArtPlasmaBallArtCircularGalleryArtCatStargazerArtFlowerAnimationArtColorSpinArtSynthwaveStarfieldArtCsswitch/ArtCSSwitchArtSnowballPreloaderArtGeminiInput
All decorative components forward refs to their root element, accept className,
style, and DuskMoon CSS custom properties through style.
