All Projects → damaera → react-acrylic

damaera / react-acrylic

Licence: MIT license
Frost glass effect, Acrylic Material react component

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to react-acrylic

Win32-Acrylic-Effect
Demonstrates implementation of the Windows 10 Acrylic Effect on C++ Win32 Apps using DWM Private APIs and Direct Composition
Stars: ✭ 104 (+166.67%)
Mutual labels:  acrylic
Win32Acrylic
Acrylic demo applications based on different technology stack
Stars: ✭ 35 (-10.26%)
Mutual labels:  acrylic
glass-ui
CSS UI library based on the glassmorphism design specifications
Stars: ✭ 262 (+571.79%)
Mutual labels:  glass
MicaForEveryone
Mica For Everyone is a tool to enable backdrop effects on the title bars of Win32 apps on Windows 11.
Stars: ✭ 2,006 (+5043.59%)
Mutual labels:  acrylic
Glasstron
The go-to solution to Electron composition effects, such as blurry windows.
Stars: ✭ 243 (+523.08%)
Mutual labels:  acrylic
getCRUCLdata
CRU CL v. 2.0 Climatology Client for R
Stars: ✭ 17 (-56.41%)
Mutual labels:  frost
Cassie Model
Repo containing the urdf and frost based models of Cassie
Stars: ✭ 43 (+10.26%)
Mutual labels:  frost
Sciter Sdk
Sciter is an embeddable HTML/CSS/scripting engine
Stars: ✭ 1,690 (+4233.33%)
Mutual labels:  acrylic
Translucenttb
A lightweight utility that makes the Windows taskbar translucent/transparent.
Stars: ✭ 8,816 (+22505.13%)
Mutual labels:  acrylic
flutter acrylic
Flutter library for window acrylic, mica & transparency effects (Windows, macOS & Linux). 💙
Stars: ✭ 261 (+569.23%)
Mutual labels:  acrylic
arcade-pcb-case
Plans to build Arcade PCB cases
Stars: ✭ 29 (-25.64%)
Mutual labels:  acrylic
Glass
Glass Programming Language.
Stars: ✭ 15 (-61.54%)
Mutual labels:  glass
Glass
Gui Library written in Crystal
Stars: ✭ 24 (-38.46%)
Mutual labels:  glass

npm version

React Acrylic

Frost glass effect, Acrylic Material react component

Inspired by Fluent Design's Acrylic Material

This one uses html2canvas, which takes dynamic ‘screenshots’ of the content to blur.

Layer

Live Demo

Edit 6xp9vyjj23

https://6xp9vyjj23.codesandbox.io/

Usage

import React, { Component } from 'react'
Import Acrylic from 'react-acrylic'

class YourComponent extends Component {
  render() {
    <Acrylic
      colorOverlay='#eee'
      opacity='0.4'

      position='fixed'
      top='100px'
      left='100px'
      width='300px'
      height='200px'

      blur={40}
      borderRadius='2px'
      borderRadius='2px'
    >
      <span>Hello Acrylic</span>
    </Acrylic>
  }
}

Props

Props Default value
position 'fixed',
left 0,
top 0,
width 0,
height 0,
colorOverlay '#fff'
opacity 0.5
borderRadius 0
boxShadow null
blur 30
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].