my/ui

Command Palette

Search for a command to run...

All components

Liquid Glass Mobile Icons

misc

Ui-Layouts component.

390px · 540px

Install

Same command in any shadcn project — React (Vite/CRA), Next.js, Remix, Astro, and more:

$npx shadcn@latest add https://your-domain/r/liquid-glass-mobile-icons.json

Usage

import Cmp from "@/registry/ui-layouts/mobile-icons-liquid";

export default function Demo() {
  return <Cmp />;
}

Component source

import { LiquidGlassCard } from '@/registry/ui-layouts/liquid-glass';
import {
  Bell,
  Camera,
  ChevronsUpDown,
  CircleDot,
  Flashlight,
  Moon,
  RotateCcw,
  Sun,
  Timer,
  VolumeX,
} from 'lucide-react';

const MobileIcons = () => {
  return (
    <>
      <div
        className='p-8 flex relative z-30 w-full mx-auto rounded-xl flex-wrap gap-8 items-start justify-center'
        style={{
          background:
            'url("https://images.unsplash.com/photo-1669369229708-68021c85f849?q=80&w=1631&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center / cover no-repeat',
        }}
      >
        <div className='grid grid-cols-4 gap-4 p-6 rounded-3xl '>
          <LiquidGlassCard className='w-16 h-16 rounded-ful '>
            <div className='relative z-30 flex items-center justify-center text-white text-2xl w-full h-full '>
              <RotateCcw className='w-8 h-8' />
              <span className='sr-only'>Rotation Lock</span>
            </div>
          </LiquidGlassCard>
          <LiquidGlassCard className='w-16 h-16 rounded-full '>
            <div className='relative z-30 flex items-center justify-center text-white text-2xl w-full h-full '>
              <Bell className='w-8 h-8' />
              <span className='sr-only'>Notifications</span>
            </div>
          </LiquidGlassCard>
          <LiquidGlassCard className='w-16 h-40 rounded-full  flex items-center justify-center text-white text-2xl row-span-2 '>
            <div className='relative z-30 flex items-center justify-center text-white text-2xl w-full h-full '>
              <Sun className='w-8 h-8' />
              <span className='sr-only'>Brightness</span>
            </div>
          </LiquidGlassCard>
          <LiquidGlassCard className='w-16 h-40 rounded-full  flex items-center justify-center text-white text-2xl row-span-2 '>
            <div className='relative z-30 flex items-center justify-center text-white text-2xl w-full h-full '>
              <VolumeX className='w-8 h-8' />
              <span className='sr-only'>Mute Volume</span>
            </div>
          </LiquidGlassCard>

          <LiquidGlassCard className='col-span-2 h-16 rounded-full flex items-center justify-center px-4 gap-2 text-white text-lg'>
            <div className='relative z-30 flex items-center gap-2'>
              <div className='w-10 h-10 rounded-full flex items-center justify-center shrink-0'>
                <Moon className='w-6 h-6' />
              </div>
              <span className='font-medium'>Focus</span>
              <ChevronsUpDown className='w-5 h-5 ml-auto' />
              <span className='sr-only'>Focus Mode</span>
            </div>
          </LiquidGlassCard>

          <LiquidGlassCard className='w-16 h-16 rounded-full  '>
            <div className='relative z-30 flex items-center justify-center text-white text-2xl w-full h-full '>
              <Flashlight className='w-8 h-8' />
              <span className='sr-only'>Flashlight</span>
            </div>
          </LiquidGlassCard>
          <LiquidGlassCard className='w-16 h-16 rounded-full  '>
            <div className='relative z-30 flex items-center justify-center text-white text-2xl w-full h-full '>
              <Timer className='w-8 h-8' />
              <span className='sr-only'>Timer</span>
            </div>
          </LiquidGlassCard>
          <LiquidGlassCard className='w-16 h-16 rounded-full  '>
            <div className='relative z-30 flex items-center justify-center text-white text-2xl w-full h-full '>
              <Camera className='w-8 h-8' />
              <span className='sr-only'>Camera</span>
            </div>
          </LiquidGlassCard>
          <LiquidGlassCard className='w-16 h-16 rounded-full  '>
            <div className='relative z-30 flex items-center justify-center text-white text-2xl w-full h-full '>
              <CircleDot className='w-8 h-8' />
              <span className='sr-only'>Record Screen</span>
            </div>
          </LiquidGlassCard>
        </div>
      </div>
    </>
  );
};

export default MobileIcons;

Dependencies

motion

Source: Ui-Layouts