
Security News
Lovable’s OJ Rewrites Vite’s Dev Server in Rust as AI Lowers the Cost of Forking Open Source
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.
@isoftdata/svelte-card
Advanced tools
pnpm i @isoftdata/svelte-card
This component requires Svelte 5 or later
Need to have multiple cards used in an accordion fashion? Use the Accordion component instead.
All props are optional
| Name | Type | Description | Default Value |
|---|---|---|---|
color | Colors | Bootstrap color variant for the card | undefined |
style | string | Custom CSS styles for the card | undefined |
header | string | Snippet | Card header content (string or Svelte snippet) | undefined |
headerClass | ClassValue | CSS classes for the header | undefined |
bodyClass | ClassValue | CSS classes for the card body | undefined |
bodyStyle | string | CSS styles for the card body | undefined |
footer | string | Snippet | Card footer content (string or Svelte snippet) | undefined |
footerClass | ClassValue | CSS classes for the footer | undefined |
children | Snippet | Main card body content | undefined |
flushBody | boolean | If true, removes padding from card body | undefined |
collapsible | boolean | Makes the card collapsible with toggle functionality | false |
bodyShown | boolean | Bindable. Controls if the body is visible (when collapsible) | true |
entireHeaderToggles | boolean | If true, clicking anywhere in header toggles body visibility | false |
bodyShownAnimationDuration | number | Duration in milliseconds for body show/hide animation | 200 |
disabled | boolean | If true, prevents toggling when collapsible | false |
shownChange | (bodyShown: boolean) => void | Callback when collapsible body is toggled | undefined |
show | () => void | Callback when collapsible body is shown | undefined |
hide | () => void | Callback when collapsible body is hidden | undefined |
footerHides | boolean | If true, hides footer when body is hidden (when collapsible) | false |
children - Main content of the card bodyheader - Custom header content (alternative to string header prop)footer - Custom footer content (alternative to string footer prop)shownChange - Called when the collapsible body is toggled, receives boolean indicating visibility stateshow - Called when the collapsible body is shownhide - Called when the collapsible body is hidden<script lang="ts">
import Card from '@isoftdata/svelte-card'
import { List, Item } from '@isoftdata/svelte-list-group'
</script>
<Card
collapsible
header="My Sweet List"
flushBody
footer="{items.length} Total Items"
footerClass="small"
>
<List flush>
{#each items as item}
<Item>{item}</Item>
{/each}
</List>
</Card>
FAQs
Unknown package
The npm package @isoftdata/svelte-card receives a total of 24 weekly downloads. As such, @isoftdata/svelte-card popularity was classified as not popular.
We found that @isoftdata/svelte-card demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 13 open source maintainers collaborating on the project.

Security News
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.