Card

Organism

İçerik kartı. raised/flat/outline varyantları; title, subtitle, headerRight, footer ve loading skeleton desteği.

Default (raised)

Preview

Card title

Optional subtitle

Card body content goes here. You can put any HTML inside.

Code
<%- include('modules/ui/Card', {
  title: 'Card title',
  subtitle: 'Optional subtitle',
  children: '

Card body content goes here.

', footer: '
...
' }) %>

Flat

Preview

Flat card

No shadow, transparent background.

Code
<%- include('modules/ui/Card', {
  title: 'Flat card',
  variant: 'flat',
  children: '

No shadow, transparent background.

' }) %>

Outline

Preview

Outline card

Border only, no background fill.

Code
<%- include('modules/ui/Card', {
  title: 'Outline card',
  variant: 'outline',
  children: '

Border only, no background fill.

' }) %>

Hoverable

Preview

Hoverable card

Hover to see the shadow lift effect.

Code
<%- include('modules/ui/Card', {
  title: 'Hoverable card',
  hoverable: true,
  children: '

Hover to see the shadow lift effect.

' }) %>

Loading skeleton

Preview
Code
<%- include('modules/ui/Card', { loading: true }) %>

With headerRight

Preview

Recent activity

Last 7 days

Live

Activity feed content here.

Code
<%- include('modules/ui/Card', {
  title: 'Recent activity',
  subtitle: 'Last 7 days',
  headerRight: 'Live',
  children: '

Activity feed content here.

' }) %>
Source modules/ui/Card.ejs