المشاريع
عرض على GitHub
javierbyte/react-blur
حول
React component to blur image backgrounds using canvas.
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- -١
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلReact Blur
React component for creating blurred backgrounds using canvas.
Installation
pnpm add react-blur
Usage
import Blur from "react-blur";
Example
<Blur img="/directory/img.jpg" blurRadius={5} enableStyles>
The content.
</Blur>
For a complete example see the code in the demo branch.
Props
img: The image path.blurRadius: Optional. The size of the blur radius.enableStyles: Optional. Flag to include base styles inline, omit this to easily override.shouldResize: Optional. If the canvas should re-render on resize? Defaults to true.resizeInterval: Optional. How fast the canvas should re-render on resize? Defaults to 128ms.
Contributing
Thanks to Quasimodo for the original stack blur algorithm.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…
