defmodule PyrauiWeb.DocsLive.CardDocs do use PyrauiWeb, :html def render(assigns) do ~H"""

Card

Card component for content containers with customizable padding and shadows.

Examples

Default Card

This card has default padding and shadow.

No Padding

Custom padding with larger shadow.


    <.card>
      <h3>Card Title</h3>
      <p>Card content</p>
    </.card>
            

Props

Prop Type Default Description
padded boolean true Add padding to card
shadow :none | :sm | :md | :lg | :xl :md Shadow size
""" end end