A fundamental card includes a title, content, and an additional action content.Cards initially have no predefined width, thus they inherit a 100% width by default unless specified otherwise.
Check out our card component which Utilize card component class.
Welcome to Our Service
Discover the features and benefits that our service offers. Enhance your experience with our user-friendly platform designed to meet all your needs.
<divclass="card sm:max-w-sm">
<divclass="card-body">
<h5class="card-title mb-2.5">Welcome to Our Service</h5>
<pclass="mb-4">Discover the features and benefits that our service offers. Enhance your experience with our user-friendly platform designed to meet all your needs.</p>
<divclass="card-actions">
<buttonclass="btn btn-primary">Learn More</button>
</div>
</div>
</div>
Card sizes with card-{xs|sm|md|lg|xl} utility classes.
Innovative Solutions
Explore our cutting-edge features designed to elevate your experience. Learn how our solutions can help you achieve your goals.
Innovative Solutions
Explore our cutting-edge features designed to elevate your experience. Learn how our solutions can help you achieve your goals.
Innovative Solutions
Explore our cutting-edge features designed to elevate your experience. Learn how our solutions can help you achieve your goals.
Innovative Solutions
Explore our cutting-edge features designed to elevate your experience. Learn how our solutions can help you achieve your goals.
Innovative Solutions
Explore our cutting-edge features designed to elevate your experience. Learn how our solutions can help you achieve your goals.
<!-- Extra small --><divclass="card card-xs sm:max-w-sm">
<divclass="card-header">
<h5class="card-title">Innovative Solutions</h5>
</div>
<divclass="card-body">
<p>Explore our cutting-edge features designed to elevate your experience. Learn how our solutions can help you achieve your goals.</p>
</div>
<divclass="card-footer text-center">
<pclass="text-base-content/50">Learn more about our features.</p>
</div>
</div>
<!-- Small card --><divclass="card card-sm sm:max-w-sm">
<divclass="card-header">
<h5class="card-title">Innovative Solutions</h5>
</div>
<divclass="card-body">
<p>Explore our cutting-edge features designed to elevate your experience. Learn how our solutions can help you achieve your goals.</p>
</div>
<divclass="card-footer text-center">
<pclass="text-base-content/50">Learn more about our features.</p>
</div>
</div>
<!-- Medium card --><divclass="card sm:max-w-sm">
<divclass="card-header">
<h5class="card-title">Innovative Solutions</h5>
</div>
<divclass="card-body">
<p>Explore our cutting-edge features designed to elevate your experience. Learn how our solutions can help you achieve your goals.</p>
</div>
<divclass="card-footer text-center">
<pclass="text-base-content/50">Learn more about our features.</p>
</div>
</div>
<!-- Large card --><divclass="card card-lg sm:max-w-sm">
<divclass="card-header">
<h5class="card-title">Innovative Solutions</h5>
</div>
<divclass="card-body">
<p>Explore our cutting-edge features designed to elevate your experience. Learn how our solutions can help you achieve your goals.</p>
</div>
<divclass="card-footer text-center">
<pclass="text-base-content/50">Learn more about our features.</p>
</div>
</div>
<!-- Extra large card --><divclass="card card-xl sm:max-w-sm">
<divclass="card-header">
<h5class="card-title">Innovative Solutions</h5>
</div>
<divclass="card-body">
<p>Explore our cutting-edge features designed to elevate your experience. Learn how our solutions can help you achieve your goals.</p>
</div>
<divclass="card-footer text-center">
<pclass="text-base-content/50">Learn more about our features.</p>
</div>
</div>
Welcome to our card Indulge in a delightful journey through our offerings. Jelly lemon drops, tiramisu, chocolate cake, cotton candy, soufflé, and oat cake sweet roll are just a taste of what's in store.
<divclass="card sm:max-w-sm">
<divclass="card-body">
<p>Welcome to our card Indulge in a delightful journey through our offerings. Jelly lemon drops, tiramisu, chocolate cake, cotton candy, soufflé, and oat cake sweet roll are just a taste of what's in store.</p>
</div>
</div>
<divclass="card sm:max-w-sm">
<divclass="card-body">
<h5class="card-title mb-0">Welcome to Our Platform</h5>
<divclass="text-base-content/50 mb-6">Your journey starts here</div>
<pclass="mb-4">Explore a range of features and services designed to enhance your experience. Join us and make the most out of what we have to offer.</p>
<divclass="card-actions">
<ahref="#"class="link link-primary no-underline">Get Started</a>
<ahref="#"class="link link-primary no-underline">Learn More</a>
</div>
</div>
</div>
With component class card-header you can specify the styling and content for the header sections of a card element in your web application.
Exclusive Feature Highlight
Discover the unique benefits and features we offer. Dive deeper to learn how our solutions can enhance your experience and meet your needs effectively.
<divclass="card sm:max-w-sm">
<divclass="card-header">
<h5class="card-title">Exclusive Feature Highlight</h5>
</div>
<divclass="card-body">
<p>Discover the unique benefits and features we offer. Dive deeper to learn how our solutions can enhance your experience and meet your needs effectively.</p>
</div>
</div>
With component class card-footer, you can specify the styling and content for the footer sections of a card element in your web application.
Featured Update
Explore the latest enhancements and updates. Stay informed with our new features designed to improve your experience and deliver greater value.
<divclass="card sm:max-w-sm">
<divclass="card-body">
<h5class="card-title mb-2.5">Featured Update</h5>
<p>Explore the latest enhancements and updates. Stay informed with our new features designed to improve your experience and deliver greater value.</p>
</div>
<divclass="card-footer text-base-content/50 text-center">2 days ago</div>
</div>
The image’s positioning in the card is determined by the placement of the figure element. When the figure element is the first child, the image will be positioned at the top; conversely, if it is the last child, the image will be positioned at the bottom.
Image at top
Airpods Max
A perfect balance of exhilarating high-fidelity audio and the effortless magic of Airpods.
<divclass="card sm:max-w-sm">
<figure><imgsrc="https://cdn.flyonui.com/fy-assets/components/card/image-7.png"alt="headphone" /></figure>
<divclass="card-body space-y-3">
<h5class="card-title">Airpods Max</h5>
<p>A perfect balance of exhilarating high-fidelity audio and the effortless magic of Airpods.</p>
<divclass="card-actions">
<buttonclass="btn btn-primary">Buy Now</button>
<buttonclass="btn btn-secondary btn-soft">Add to cart</button>
</div>
</div>
</div>
Or image at bottom
Airpods Max
A perfect balance of exhilarating high-fidelity audio and the effortless magic of Airpods.
<divclass="card sm:max-w-sm">
<divclass="card-body">
<h5class="card-title mb-2.5">Airpods Max</h5>
<p>A perfect balance of exhilarating high-fidelity audio and the effortless magic of Airpods.</p>
</div>
<figure><imgsrc="https://cdn.flyonui.com/fy-assets/components/card/image-7.png"alt="headphone" /></figure>
</div>
Apply the glass modifier class to the card component class to impart a glass effect onto the card.
Smartphone
A high-quality smartphone with the latest features for a premium user experience.
<divclass="card glass text-white sm:max-w-sm">
<figure><imgsrc="https://cdn.flyonui.com/fy-assets/components/card/image-1.png"alt="iphones" /></figure>
<divclass="card-body">
<h2class="card-title mb-2.5 text-white">Smartphone</h2>
<pclass="mb-4">A high-quality smartphone with the latest features for a premium user experience.</p>
<divclass="card-actions">
<buttonclass="btn btn-warning">Buy Now</button>
</div>
</div>
</div>
The card-side class positions images responsively, with options for left or right placement based on breakpoints like sm, md, and lg.
Airpods Max
This is a wider card with supporting text below as a natural lead-in to additional content.
<divclass="card sm:card-side max-w-sm sm:max-w-full">
<figure><imgsrc="https://cdn.flyonui.com/fy-assets/components/card/image-7.png"alt="headphone" /></figure>
<divclass="card-body">
<h5class="card-title mb-0.5">Airpods Max</h5>
<pclass="mb-2">This is a wider card with supporting text below as a natural lead-in to additional content.</p>
<divclass="card-actions">
<buttonclass="btn btn-primary">Buy Now</button>
<buttonclass="btn btn-secondary btn-soft">Add to cart</button>
</div>
</div>
</div>
Utilize the card-group class to establish a container for organizing cards into a cohesive group.
Travel to Paris
Discover iconic landmarks, world-class museums, and exquisite cuisine. Explore the Eiffel Tower, Louvre Museum, and charming neighborhoods.
Travel to Rome
Visit ancient ruins, stunning basilicas, and enjoy delicious Italian cuisine. Explore the Colosseum, Vatican City, and more.
Travel to Sydney
Explore the vibrant city of Sydney, where every corner tells a story. Visit iconic landmarks, laze on beautiful beaches, and immerse yourself in a lively arts scene.
<divclass="card-group sm:flex *:not-last:border-e *:not-last:border-base-content/25 max-w-sm sm:max-w-full">
<divclass="card">
<figure><imgsrc="https://cdn.flyonui.com/fy-assets/components/card/image-4.png"alt="paris" /></figure>
<divclass="card-body">
<h5class="card-title mb-2.5">Travel to Paris</h5>
<p>Discover iconic landmarks, world-class museums, and exquisite cuisine. Explore the Eiffel Tower, Louvre Museum, and charming neighborhoods.</p>
</div>
<divclass="card-footer">
<pclass="text-base-content/50 text-sm">Card text content</p>
</div>
</div>
<divclass="card">
<figure><imgsrc="https://cdn.flyonui.com/fy-assets/components/card/image-3.png"alt="rome" /></figure>
<divclass="card-body">
<h5class="card-title mb-2.5">Travel to Rome</h5>
<p>Visit ancient ruins, stunning basilicas, and enjoy delicious Italian cuisine. Explore the Colosseum, Vatican City, and more.</p>
</div>
<divclass="card-footer">
<pclass="text-base-content/50 text-sm">Card text content</p>
</div>
</div>
<divclass="card">
<figure><imgsrc="https://cdn.flyonui.com/fy-assets/components/card/image-2.png"alt="sydney" /></figure>
<divclass="card-body">
<h5class="card-title mb-2.5">Travel to Sydney</h5>
<p>Explore the vibrant city of Sydney, where every corner tells a story. Visit iconic landmarks, laze on beautiful beaches, and immerse yourself in a lively arts scene.</p>
</div>
<divclass="card-footer">
<pclass="text-base-content/50 text-sm">Card text content</p>
</div>
</div>
</div>
Implement a hover effect on the card image that animates a zoom-out transition.
Card title
Nike Air Max is a popular line of athletic shoes that feature Nike's signature Air cushioning technology in the sole.
<divclass="card group hover:shadow-sm sm:max-w-sm">
<figure>
<imgsrc="https://cdn.flyonui.com/fy-assets/components/card/image-8.png"alt="Shoes"class="transition-transform duration-500 group-hover:scale-110" />
</figure>
<divclass="card-body">
<h5class="card-title mb-2.5">Card title</h5>
<pclass="mb-6">Nike Air Max is a popular line of athletic shoes that feature Nike's signature Air cushioning technology in the sole.</p>
<divclass="card-actions">
<buttonclass="btn btn-primary">Buy Now</button>
<buttonclass="btn btn-soft">Add to cart</button>
</div>
</div>
</div>
Apply a hover animation to the card image that translates it upwards.
Discover a range of delightful treats including lemon drops, tiramisu, chocolate cake, and cotton candy. Our collection offers a variety of flavors to satisfy every craving.
Enjoy a selection of sweet indulgences such as soufflé, oat cake, and sweet rolls. Each item is crafted to bring a touch of sweetness to your day.
<divclass="group">
<divclass="card transition-transform duration-300 group-hover:-translate-y-2 md:max-w-md">
<divclass="card-body">
<p>Discover a range of delightful treats including lemon drops, tiramisu, chocolate cake, and cotton candy. Our collection offers a variety of flavors to satisfy every craving.</p>
</div>
</div>
</div>
<divclass="group">
<divclass="card transition-transform duration-300 group-hover:-translate-y-2 md:max-w-md">
<divclass="card-body">
<p>Enjoy a selection of sweet indulgences such as soufflé, oat cake, and sweet rolls. Each item is crafted to bring a touch of sweetness to your day.</p>
</div>
</div>
</div>
Welcome to the
Home tab!
Here, you can explore the latest updates, news, and highlights. Stay informed about what's happening and never miss out on important announcements.
This is your
Profile
tab. Manage your personal information, update your account details, and customize your settings to make your experience unique.
Messages:
Check your recent messages, start new conversations, and stay connected with your friends and contacts. Manage your chat history and keep the communication flowing.
<divclass="card md:max-w-md">
<navclass="tabs tabs-bordered card-header"aria-label="Tabs"role="tablist">
<buttontype="button"class="tab active-tab:tab-active active w-full"id="tabs-card-item-1"data-tab="#tabs-card-1"aria-controls="tabs-card-1"role="tab"aria-selected="true">
Home
</button>
<buttontype="button"class="tab active-tab:tab-active w-full"id="tabs-card-item-2"data-tab="#tabs-card-2"aria-controls="tabs-card-2"role="tab"aria-selected="false">
Profile
</button>
<buttontype="button"class="tab active-tab:tab-active w-full"id="tabs-card-item-3"data-tab="#tabs-card-3"aria-controls="tabs-card-3"role="tab"aria-selected="false">
Messages
</button>
</nav>
<divclass="card-body">
<divid="tabs-card-1"role="tabpanel"aria-labelledby="tabs-card-item-1">
<pclass="text-base-content/80">
Welcome to the
<spanclass="text-base-content font-semibold">Home tab!</span>
Here, you can explore the latest updates, news, and highlights. Stay informed about what's happening and never miss out on important announcements.
</p>
</div>
<divid="tabs-card-2"class="hidden"role="tabpanel"aria-labelledby="tabs-card-item-2">
<pclass="text-base-content/80">
This is your
<spanclass="text-base-content font-semibold">Profile</span>
tab. Manage your personal information, update your account details, and customize your settings to make your experience unique.
</p>
</div>
<divid="tabs-card-3"class="hidden"role="tabpanel"aria-labelledby="tabs-card-item-3">
<pclass="text-base-content/80">
<spanclass="text-base-content font-semibold">Messages:</span>
Check your recent messages, start new conversations, and stay connected with your friends and contacts. Manage your chat history and keep the communication flowing.
</p>
</div>
</div>
</div>
Discover the features and benefits that our service offers. Enhance your experience with our user-friendly platform designed to meet all your needs.
<divclass="card card-border shadow-none sm:max-w-sm">
<divclass="card-body">
<h5class="card-title mb-2.5">Welcome to Our Service</h5>
<pclass="mb-4">Discover the features and benefits that our service offers. Enhance your experience with our user-friendly platform designed to meet all your needs.</p>
<divclass="card-actions">
<buttonclass="btn btn-primary">Learn More</button>
</div>
</div>
</div>
You can use the card-alert class to style alert messages inside a card.
Attention:
Important security update required.
Security Alert
We have detected a potential security vulnerability. Please update your settings to ensure your data remains safe. Click the link below for detailed instructions.
<divclass="card md:max-w-md">
<divclass="card-alert alert alert-error alert-soft"role="alert">
<spanclass="font-bold">Attention:</span>
Important security update required.
</div>
<divclass="card-body">
<h5class="card-title mb-2.5">Security Alert</h5>
<pclass="mb-4">We have detected a potential security vulnerability. Please update your settings to ensure your data remains safe. Click the link below for detailed instructions.</p>
<ahref="#"class="text-blue-500 hover:underline">Update Now</a>
</div>
</div>
Utilize the data-remove-element attribute to specify the connected ID for card removal. Customize the removal animation by incorporating the removing: modifier, as illustrated below.
Please consult the
Remove Element
plugin for additional details. Additionally, refer to the
Tooltip
documentation for information on tooltip elements.
Card Actions
Refresh
Maximize
Close
Important Update
Stay informed with the latest updates and features that enhance your experience. Click on the icons above to refresh, maximize, or close this card.