@da-ui/card
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.12 • Public • Published

    Direction-aware UI - DaCard

    svelte tailwindcss Typescript snowpack

    Playground & Doc

    https://da-ui.brianypliu.com/?path=/story/dacard

    Install

    npm i @da-ui/card --save
    

    Usage

    Default

    import "@da-ui/card";
    
    <da-card
        mediaSrc="/logo.svg"
        mediaAlt="svelte-avatar"
        avatarSrc="/logo.svg"
        avatarAlt="svelte-avatar"
        title="Svelte Avatar"
        mediaPlaceholderRes="800x600"
        description="This is figure layout of DaCard" />
    

    Custom content

    <da-card mediaSrc="/logo.svg" mediaAlt="Svelte">
        <p>Edit <code>src/App.svelte</code> and save to reload.</p>
        <p>Page has been open for <code>{count}</code> seconds.</p>
        <p>
            <DaButton color="accent">Learn Svelte</DaButton>
        </p>
    </da-card>
    

    Keywords

    none

    Install

    npm i @da-ui/card

    DownloadsWeekly Downloads

    5

    Version

    0.1.12

    License

    MIT

    Unpacked Size

    20.6 kB

    Total Files

    4

    Last publish

    Collaborators

    • ralphbliu