Card Content - JS + CSS
Card Content
Struktur HTML
Section titled “Struktur HTML”
<div class="ina-card ina-card--variant-basic ina-card--media-bottom">
<div class="ina-card__content">
<div class="ina-card__avatar">AA</div>
<div>
<h3 class="ina-card__title">Title</h3>
<p class="ina-card__description">
This is a placeholder title for demonstration purposes.
</p>
</div>
<div class="ina-card__button">
<button class="ina-button ina-button--primary ina-button--md">Button CTA</button>
</div>
</div>
<div class="ina-card__media">Card Media</div>
</div>
Contoh Penggunaan
Section titled “Contoh Penggunaan”Contoh 1 - Basic Card
Section titled “Contoh 1 - Basic Card”Title
This is a placeholder title for demonstration purposes.
Contoh 2 - Horizontal Card
Section titled “Contoh 2 - Horizontal Card”Title
Please provide a title that accurately reflects the content, along with a detailed description.
Contoh 3 - Overlay Card
Section titled “Contoh 3 - Overlay Card”Contoh 4 - Card Plain
Section titled “Contoh 4 - Card Plain”CardPlain Title
This is a custom content block inside a CardPlain component. It provides a simple bordered container with a radius, letting you structure the content however you want.