HTML 코드
<div class="flex items-center justify-center min-h-screen bg-gray-900">
<div class="container p-6 bg-gray-800 rounded-lg shadow-xl">
<div class="flex items-center justify-between mb-6">
<div class="flex items-center">
<img class="w-12 h-12 mr-4 rounded-full" src="https://randomuser.me/api/portraits/men/1.jpg" alt="Album Art">
<div>
<h3 class="text-lg font-semibold text-white">Song Title</h3>
<p class="text-sm text-gray-400">Artist Name</p>
</div>
</div>
<button class="text-gray-400 hover:text-white focus:outline-none">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z"></path></svg>
</button>
</div>
<div class="mb-4">
<div class="flex items-center justify-between text-gray-400">
<span class="text-xs">0:00</span>
<span class="text-xs">3:45</span>
</div>
<div class="w-full h-2 bg-gray-700 rounded-full">
<div class="h-2 bg-red-500 rounded-full" style="width: 25%;"></div>
</div>
</div>
<div class="flex items-center justify-center space-x-6">
<button class="text-gray-400 hover:text-white focus:outline-none">
<svg class="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.75 17.25L10.5 12l5.25-5.25"></path></svg>
</button>
<button class="flex items-center justify-center w-12 h-12 text-gray-900 bg-white rounded-full hover:bg-gray-200 focus:outline-none">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832L12.364 10 9.555 7.168z" clip-rule="evenodd"></path></svg>
</button>
<button class="text-gray-400 hover:text-white focus:outline-none">
<svg class="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 17.25L14.25 12 9 6.75"></path></svg>
</button>
</div>
</div>
</div>
관련 구성 요소
사이버펑크 오디오 플레이어 구성 요소
포트폴리오 쇼케이스에 적합한 보라색/보라색 색 구성표를 사용하는 미래 지향적인 사이버펑크 미학을 갖춘 간단하고 반응이 빠른 오디오 플레이어 구성 요소입니다. 다크 모드 지원이 포함됩니다.
뉴모피즘 오디오 플레이어
재생, 일시 중지, 건너뛰기 및 볼륨 제어 기능이 있는 Neumorphism 스타일의 오디오 플레이어 구성 요소로, 비즈니스 웹 사이트를 위해 설계되었습니다. 진행률 표시줄, 노래 제목, 아티스트 및 앨범 아트가 포함되어 있습니다. Tailwind CSS를 사용한 반응형 디자인 및 다크 모드 지원이 포함됩니다.
럭셔리/프리미엄 오디오 플레이어
포럼 또는 커뮤니티 플랫폼용으로 설계된 단순하고 우아한 오디오 플레이어 구성 요소로, 가을 색 구성표가 있는 고급스러움/프리미엄 스타일과 다크 모드 지원으로 완전한 응답성을 제공합니다.