Telegram Group & Telegram Channel
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ’Ž Liquid Glass для React β€” соврСмСнный UI-эффСкт Π² Π΄ΡƒΡ…Π΅ Apple

liquid-glass-react β€” это эффСкт "ΠΆΠΈΠ΄ΠΊΠΎΠ³ΠΎ стСкла", Ρ‚Π΅ΠΏΠ΅Ρ€ΡŒ ΠΊΠ°ΠΊ ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ‚ для React. ΠŸΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΈΠ²Π°Π΅Ρ‚ ΠΏΡ€Π΅Π»ΠΎΠΌΠ»Π΅Π½ΠΈΠ΅, Ρ€Π°Π·ΠΌΡ‹Ρ‚ΠΈΠ΅, Ρ…Ρ€ΠΎΠΌΠ°Ρ‚ΠΈΡ‡Π΅ΡΠΊΡƒΡŽ Π°Π±Π΅Ρ€Ρ€Π°Ρ†ΠΈΡŽ ΠΈ Ρ€Π΅Π°ΠΊΡ†ΠΈΡŽ Π½Π° курсор. Π‘Ρ‚ΠΈΠ»ΡŒΠ½ΠΎ, ΠΏΠ»Π°Π²Π½ΠΎ ΠΈ Π½Π°Ρ‚ΠΈΠ²Π½ΠΎ выглядит Π² интСрфСйсС.

πŸ§ͺ Π§Ρ‚ΠΎ ΡƒΠΌΠ΅Π΅Ρ‚:
β€’ ΠŸΡ€Π΅Π»ΠΎΠΌΠ»Π΅Π½ΠΈΠ΅ ΠΈ искаТСниС (`displacementScale`, blurAmount, `saturation`)
β€’ Π₯роматичСская абСррация ΠΈ глянцСвый Π±Π»ΠΈΠΊ
β€’ Π­Ρ„Ρ„Π΅ΠΊΡ‚ "ΠΆΠΈΠ΄ΠΊΠΎΠΉ Ρ€Π΅Π°ΠΊΡ†ΠΈΠΈ" Π½Π° курсор (`elasticity`)
β€’ РСалистичный Π²ΠΈΠ·ΡƒΠ°Π»ΡŒΠ½Ρ‹ΠΉ ΡΡ‚ΠΈΠ»ΡŒ ΠΊΠ°ΠΊ Ρƒ macOS/iOS
β€’ ΠšΠ°ΡΡ‚ΠΎΠΌΠΈΠ·Π°Ρ†ΠΈΡ: cornerRadius, padding, onClick, mouseContainer

πŸ“¦ Установка:

npm install liquid-glass-react


πŸ“ΠŸΡ€ΠΈΠΌΠ΅Ρ€:

<LiquidGlass
displacementScale={64}
blurAmount={0.1}
saturation={130}
aberrationIntensity={2}
elasticity={0.35}
cornerRadius={100}
>
<span className="text-white font-medium">Click Me</span>
</LiquidGlass>


⚠️ Π‘Ρ€Π°ΡƒΠ·Π΅Ρ€Ρ‹: Chrome ΠΈ Chromium-based β€” идСально. Safari ΠΈ Firefox β€” частичная ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π±Π΅Π· ΠΏΠΎΠ»Π½ΠΎΠ³ΠΎ displacement.

πŸ”— GitHub: https://github.com/rdev/liquid-glass-react

@react_tg



tg-me.com/javascriptv/1891
Create:
Last Update:

πŸ’Ž Liquid Glass для React β€” соврСмСнный UI-эффСкт Π² Π΄ΡƒΡ…Π΅ Apple

liquid-glass-react β€” это эффСкт "ΠΆΠΈΠ΄ΠΊΠΎΠ³ΠΎ стСкла", Ρ‚Π΅ΠΏΠ΅Ρ€ΡŒ ΠΊΠ°ΠΊ ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ‚ для React. ΠŸΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΈΠ²Π°Π΅Ρ‚ ΠΏΡ€Π΅Π»ΠΎΠΌΠ»Π΅Π½ΠΈΠ΅, Ρ€Π°Π·ΠΌΡ‹Ρ‚ΠΈΠ΅, Ρ…Ρ€ΠΎΠΌΠ°Ρ‚ΠΈΡ‡Π΅ΡΠΊΡƒΡŽ Π°Π±Π΅Ρ€Ρ€Π°Ρ†ΠΈΡŽ ΠΈ Ρ€Π΅Π°ΠΊΡ†ΠΈΡŽ Π½Π° курсор. Π‘Ρ‚ΠΈΠ»ΡŒΠ½ΠΎ, ΠΏΠ»Π°Π²Π½ΠΎ ΠΈ Π½Π°Ρ‚ΠΈΠ²Π½ΠΎ выглядит Π² интСрфСйсС.

πŸ§ͺ Π§Ρ‚ΠΎ ΡƒΠΌΠ΅Π΅Ρ‚:
β€’ ΠŸΡ€Π΅Π»ΠΎΠΌΠ»Π΅Π½ΠΈΠ΅ ΠΈ искаТСниС (`displacementScale`, blurAmount, `saturation`)
β€’ Π₯роматичСская абСррация ΠΈ глянцСвый Π±Π»ΠΈΠΊ
β€’ Π­Ρ„Ρ„Π΅ΠΊΡ‚ "ΠΆΠΈΠ΄ΠΊΠΎΠΉ Ρ€Π΅Π°ΠΊΡ†ΠΈΠΈ" Π½Π° курсор (`elasticity`)
β€’ РСалистичный Π²ΠΈΠ·ΡƒΠ°Π»ΡŒΠ½Ρ‹ΠΉ ΡΡ‚ΠΈΠ»ΡŒ ΠΊΠ°ΠΊ Ρƒ macOS/iOS
β€’ ΠšΠ°ΡΡ‚ΠΎΠΌΠΈΠ·Π°Ρ†ΠΈΡ: cornerRadius, padding, onClick, mouseContainer

πŸ“¦ Установка:


npm install liquid-glass-react


πŸ“ΠŸΡ€ΠΈΠΌΠ΅Ρ€:

<LiquidGlass
displacementScale={64}
blurAmount={0.1}
saturation={130}
aberrationIntensity={2}
elasticity={0.35}
cornerRadius={100}
>
<span className="text-white font-medium">Click Me</span>
</LiquidGlass>


⚠️ Π‘Ρ€Π°ΡƒΠ·Π΅Ρ€Ρ‹: Chrome ΠΈ Chromium-based β€” идСально. Safari ΠΈ Firefox β€” частичная ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π±Π΅Π· ΠΏΠΎΠ»Π½ΠΎΠ³ΠΎ displacement.

πŸ”— GitHub: https://github.com/rdev/liquid-glass-react

@react_tg

BY Javascript


Share with your friend now:
tg-me.com/javascriptv/1891

View MORE
Open in Telegram


Javascript Telegram | DID YOU KNOW?

Date: |

That strategy is the acquisition of a value-priced company by a growth company. Using the growth company's higher-priced stock for the acquisition can produce outsized revenue and earnings growth. Even better is the use of cash, particularly in a growth period when financial aggressiveness is accepted and even positively viewed.he key public rationale behind this strategy is synergy - the 1+1=3 view. In many cases, synergy does occur and is valuable. However, in other cases, particularly as the strategy gains popularity, it doesn't. Joining two different organizations, workforces and cultures is a challenge. Simply putting two separate organizations together necessarily creates disruptions and conflicts that can undermine both operations.

Javascript from us


Telegram Javascript
FROM USA