
Security News
GitHub Actions Adds cache-mode to Limit Cache Poisoning Risk
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.
@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 56 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
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.