구성 요소 미디어 임베드 미디어 임베드 컴포넌트

미디어 임베드 컴포넌트

미디어 임베드 컴포넌트는 마이크로 인터랙션, 반응형 효과 및 어두운 테마를 지원합니다. 자바스크립트가 필요하지 않습니다.

미리 보기

HTML 코드

 <div class="w-full max-w-sm mx-auto rounded-md overflow-hidden shadow-lg bg-white dark:bg-gray-800 transform transition duration-500 hover:scale-105"> <div class="relative"> <img class="w-full h-48 object-cover" src="https://picsum.photos/seed/picsum/300/200" alt="Media thumbnail"> <div class="absolute bottom-0 right-0 bg-black text-white text-xs px-2 py-1 m-2 rounded-md"> 2:30 </div> </div> <div class="p-4"> <h3 class="text-lg font-semibold text-gray-800 dark:text-white">Video Title</h3> <p class="text-gray-600 dark:text-gray-400 text-sm mt-1">Channel Name</p> <div class="flex items-center mt-4 text-gray-700 dark:text-gray-300"> <svg class="h-4 w-4 mr-1" fill="currentColor" viewBox="0 0 20 20"> <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-11a1 1 0 10-2 0v3.586L7.707 9.293a1 1 0 00-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L11 10.586V7z" clip-rule="evenodd"></path> </svg> <span class="text-xs">1.2K Views</span> </div> </div> <div class="bg-gray-100 dark:bg-gray-700 px-4 py-3 flex items-center justify-between"> <div class="flex items-center"> <img class="h-8 w-8 rounded-full object-cover mr-2" src="https://randomuser.me/api/portraits/men/32.jpg" alt="Avatar"> <span class="text-sm font-medium text-gray-700 dark:text-gray-300">Uploader Name</span> </div> <button class="text-gray-500 hover:text-red-500 dark:hover:text-red-400 transition duration-300"> <svg class="h-5 w-5" fill="currentColor" viewBox="0 0 20 20"> <path fill-rule="evenodd" d="M3.172 5.172a4 4 0 015.656 0L10 6.343l1.172-1.171a4 4 0 115.656 5.656L10 17.657l-6.828-6.829a4 4 0 010-5.656z" clip-rule="evenodd"></path> </svg> </button> </div> </div>

관련 구성 요소

Neumorphism Media Embed 구성 요소

비즈니스 웹사이트를 위한 뉴모픽 미디어 임베드 컴포넌트로, 반응형 디자인과 보색을 사용한 어두운 테마를 지원합니다.

열다

미디어 임베드 컴포넌트

뉴모피즘 스타일로 설계된 반응형 미디어 임베드 구성 요소로, 생생한 색상과 대시보드 애플리케이션에 적합한 대화형 인터페이스를 특징으로 합니다.

열다

미디어 임베드 컴포넌트

사이버펑크 및 코퍼레이트 블루 미학을 갖춘 단순하고 반응이 빠른 미디어 임베드 구성 요소로, 다크 모드를 지원하는 소셜 미디어 인터페이스를 위해 설계되었습니다.

열다