Copy, paste, own it
Every component lands in your codebase as plain files you can read and change.
Cards that stick and pile up as you scroll, while the covered ones shrink, fan out, or blur. A card with keyboard focus comes back to the front.
Scroll to stack the cards
Every component lands in your codebase as plain files you can read and change.
The same classes and props in all three, so teams can share one design.
Colors come from one theme file, so dark mode and rebrands take minutes.
Native elements, keyboard support, and reduced motion are built in.
Scroll to stack the cards
Every component lands in your codebase as plain files you can read and change.
The same classes and props in all three, so teams can share one design.
Colors come from one theme file, so dark mode and rebrands take minutes.
Native elements, keyboard support, and reduced motion are built in.
Scroll to stack the cards
Every component lands in your codebase as plain files you can read and change.
The same classes and props in all three, so teams can share one design.
Colors come from one theme file, so dark mode and rebrands take minutes.
Native elements, keyboard support, and reduced motion are built in.
Scroll to stack the cards
Every component lands in your codebase as plain files you can read and change.
The same classes and props in all three, so teams can share one design.
Colors come from one theme file, so dark mode and rebrands take minutes.
Native elements, keyboard support, and reduced motion are built in.
Scroll to stack the cards
Every component lands in your codebase as plain files you can read and change.
The same classes and props in all three, so teams can share one design.
Colors come from one theme file, so dark mode and rebrands take minutes.
Native elements, keyboard support, and reduced motion are built in.
About ten minutes in total
Pick a name and a currency. Rupiah is ready from the start.
Add Rania from finance and Dimas from sales in one go.
Link a business account to match payments automatically.
Customers pay by transfer or QRIS and you get notified.
About ten minutes in total
Pick a name and a currency. Rupiah is ready from the start.
Add Rania from finance and Dimas from sales in one go.
Link a business account to match payments automatically.
Customers pay by transfer or QRIS and you get notified.
About ten minutes in total
Pick a name and a currency. Rupiah is ready from the start.
Add Rania from finance and Dimas from sales in one go.
Link a business account to match payments automatically.
Customers pay by transfer or QRIS and you get notified.
About ten minutes in total
Pick a name and a currency. Rupiah is ready from the start.
Add Rania from finance and Dimas from sales in one go.
Link a business account to match payments automatically.
Customers pay by transfer or QRIS and you get notified.
About ten minutes in total
Pick a name and a currency. Rupiah is ready from the start.
Add Rania from finance and Dimas from sales in one go.
Link a business account to match payments automatically.
Customers pay by transfer or QRIS and you get notified.
Prices per month, tax included
For solo makers
Rp 0per month
1 project, community help
For small studios
Rp 149.000per month
10 projects, chat support
For growing companies
Rp 499.000per month
Unlimited, priority support
Prices per month, tax included
For solo makers
Rp 0per month
1 project, community help
For small studios
Rp 149.000per month
10 projects, chat support
For growing companies
Rp 499.000per month
Unlimited, priority support
Prices per month, tax included
For solo makers
Rp 0per month
1 project, community help
For small studios
Rp 149.000per month
10 projects, chat support
For growing companies
Rp 499.000per month
Unlimited, priority support
Prices per month, tax included
For solo makers
Rp 0per month
1 project, community help
For small studios
Rp 149.000per month
10 projects, chat support
For growing companies
Rp 499.000per month
Unlimited, priority support
Prices per month, tax included
For solo makers
Rp 0per month
1 project, community help
For small studios
Rp 149.000per month
10 projects, chat support
For growing companies
Rp 499.000per month
Unlimited, priority support
We shipped our checkout in Blade and the admin in Vue with the same buttons. Nobody noticed the seams.
Dark mode took one afternoon because every color is a token.
Keyboard support was already there, so our audit came back clean.
We shipped our checkout in Blade and the admin in Vue with the same buttons. Nobody noticed the seams.
Dark mode took one afternoon because every color is a token.
Keyboard support was already there, so our audit came back clean.
We shipped our checkout in Blade and the admin in Vue with the same buttons. Nobody noticed the seams.
Dark mode took one afternoon because every color is a token.
Keyboard support was already there, so our audit came back clean.
We shipped our checkout in Blade and the admin in Vue with the same buttons. Nobody noticed the seams.
Dark mode took one afternoon because every color is a token.
Keyboard support was already there, so our audit came back clean.
We shipped our checkout in Blade and the admin in Vue with the same buttons. Nobody noticed the seams.
Dark mode took one afternoon because every color is a token.
Keyboard support was already there, so our audit came back clean.
npx markasui@latest add stacking-cardspnpm dlx markasui@latest add stacking-cardsyarn dlx markasui@latest add stacking-cardsbunx --bun markasui@latest add stacking-cardsnpm install alpinejsresources/views/components/markas/stacking-cards.blade.php.src/components/markas/StackingCards.tsx.src/components/markas/StackingCards.vue.src/lib/components/markas/StackingCards.svelte.src/components/markas/StackingCards.astro.src/app/markas/stacking-cards.component.ts.<div class="pb-64">
<x-markas.stacking-cards variant="fan" :top="96" :offset="12" class="gap-6">
<article class="h-64 rounded-xl border border-line bg-surface p-6">Plan your week</article>
<article class="h-64 rounded-xl border border-line bg-surface p-6">Share with your team</article>
<article class="h-64 rounded-xl border border-line bg-surface p-6">Get paid on time</article>
</x-markas.stacking-cards>
</div>Needs Alpine.js.
import { StackingCards } from "@/components/markas/StackingCards";
<div className="pb-64">
<StackingCards variant="fan" top={96} offset={12} className="gap-6">
<article className="h-64 rounded-xl border border-line bg-surface p-6">
Plan your week
</article>
<article className="h-64 rounded-xl border border-line bg-surface p-6">
Share with your team
</article>
<article className="h-64 rounded-xl border border-line bg-surface p-6">
Get paid on time
</article>
</StackingCards>
</div>;<template>
<div class="pb-64">
<StackingCards variant="fan" :top="96" :offset="12" class="gap-6">
<article class="h-64 rounded-xl border border-line bg-surface p-6">
Plan your week
</article>
<article class="h-64 rounded-xl border border-line bg-surface p-6">
Share with your team
</article>
<article class="h-64 rounded-xl border border-line bg-surface p-6">
Get paid on time
</article>
</StackingCards>
</div>
</template><script lang="ts">
import StackingCards from "$lib/components/markas/StackingCards.svelte";
</script>
<StackingCards variant="fan" class="gap-4">
<article class="h-48 rounded-xl border border-line bg-surface p-5">
One
</article>
<article class="h-48 rounded-xl border border-line bg-surface p-5">
Two
</article>
</StackingCards>---
import StackingCards from "@/components/markas/StackingCards.astro";
---
<StackingCards variant="fan" class="gap-4">
<article class="h-48 rounded-xl border border-line bg-surface p-5">One</article>
<article class="h-48 rounded-xl border border-line bg-surface p-5">Two</article>
</StackingCards>A small bundled script measures each stack through the markas-stacking-cards element.
import { Component } from "@angular/core";
import { StackingCards } from "./markas/stacking-cards.component";
@Component({
selector: "app-features",
imports: [StackingCards],
template: `
<markas-stacking-cards variant="fan" class="gap-4">
<article class="h-48 rounded-xl border border-line bg-surface p-5">
One
</article>
<article class="h-48 rounded-xl border border-line bg-surface p-5">
Two
</article>
</markas-stacking-cards>
`,
})
export class Features {}top plus offset per card, so earlier cards peek out above the later ones.--stack-depth on each card says how much the later cards already cover it. scale shrinks and dims, fan tilts left and right, blur blurs and dims.class go to the stack.| Name | Type | Default | Description |
|---|---|---|---|
variant | "scale" | "fan" | "blur" | "scale" | What happens to covered cards. scale: shrink and dim. fan: tilt left and right like a deck. blur: blur and dim. |
top | number | 16 | Sticky top of the first card in px, measured from the top of the scrolling area. |
offset | number | 16 | Extra px each later card sticks below the one before, so the edges of earlier cards peek out. 0 stacks them exactly. |
children / slot | ReactNode / slot | - | The cards. Every direct child is one card; give each its own background so it covers the ones below. |
More markasui components with the same classes in every framework.
MarkasUI is free and open source. A coffee keeps it going.
Coffee Rp 25.000 + QRIS service fee Rp 479 = total Rp 25.479
Buy me a coffeePreparing your experience
Switching to English
Menyiapkan tampilan
Beralih ke Bahasa Indonesia