Svelte Action Button - Bitblue

Large call-to-action tiles with icon, label, and optional sublabel for dashboards

Setup

<script lang="ts">
	import { ActionButton } from '.';
</script>

Default

<script lang="ts">
	import { ActionButton } from '.';
</script>

<ActionButton
	label="Create report"
	subLabel="Start a new analytics report"
	icon="mdi:file-chart"
	kind="primary"
	onclick={() => {}}
/>

As link

<ActionButton label="Open docs" href="/docs" icon="mdi:book-open" showArrow />

Props

PropTypeDefaultDescription
labelstring—Primary text
subLabelstring—Secondary text
iconstring—Iconify icon id
iconBgColor / iconColorstring—Icon chrome
iconSizenumber—Icon size
kindaction kind token—Preset style from ACTION_BUTTON_KINDS
hrefstring | null—Render as link when set
onclick() => void—Click handler
showBgboolean | null—Background treatment
showArrowboolean—Trailing chevron
showIconHoverboolean—Hover icon motion
moreHeight / moreShadowboolean—Density / elevation

© 2026 Bitblue is a registered trademark. All Rights Reserved.