구성 요소 경고 메시지 Alert Messages 구성 요소

Alert Messages 구성 요소

블로그용으로 설계된 미니멀리스트 경고 메시지 구성 요소로, 회색조 색 구성표를 특징으로 합니다. 여기에는 제목, 메시지 및 닫기 단추가 포함됩니다. 어두운 테마를 지원하는 반응형 디자인.

미리 보기

HTML 코드

<div class="flex flex-col items-center justify-center p-4 bg-white dark:bg-gray-900 rounded-md shadow-lg max-w-md mx-auto mt-6">
    <div class="flex justify-between items-center w-full">
        <h2 class="text-lg font-semibold text-gray-800 dark:text-gray-200">Alert Title</h2>
        <button class="text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 focus:outline-none">
            &times;
        </button>
    </div>
    <p class="mt-2 text-gray-600 dark:text-gray-400">
        This is a minimal alert message for your blog or content. It is meant to grab the reader's attention without being intrusive.
    </p>
    <div class="flex items-center mt-3">
        <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User" class="w-8 h-8 rounded-full mr-2">
        <span class="text-gray-700 dark:text-gray-300 text-sm">Posted by John Doe</span>
    </div>
    <div class="flex justify-end mt-4">
        <button class="px-4 py-2 bg-gray-800 text-white rounded-md hover:bg-gray-700 dark:bg-gray-600 dark:hover:bg-gray-500">
            Action
        </button>
    </div>
</div>

관련 구성 요소

Alert Messages 구성 요소

비즈니스 웹 사이트를 위한 간단한 Neumorphism 스타일의 경고 메시지 구성 요소로, JavaScript 없이 Tailwind CSS를 사용하여 생생한 색상과 반응형 어두운 테마 지원을 제공합니다.

열다

Alert Messages 구성 요소

비즈니스/기업 웹사이트를 위한 레트로/빈티지 스타일의 경고 메시지 구성 요소로, 어스 톤과 다크 모드를 지원하는 반응형 디자인을 특징으로 합니다.

열다

Alert Messages 구성 요소

블로그/콘텐츠 소비를 위해 설계된 반응형 스큐어모픽 경고 메시지 구성 요소로, 보색 구성표와 어두운 테마 지원을 특징으로 합니다.

열다