Copy, paste, own it
Every component lands in your codebase as plain files you can read and change.
Kartu yang menempel dan menumpuk saat discroll, sementara kartu yang tertutup mengecil, menyebar, atau buram. Kartu dengan fokus keyboard kembali ke depan.
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">Rencanakan minggumu</article>
<article class="h-64 rounded-xl border border-line bg-surface p-6">Bagikan ke tim</article>
<article class="h-64 rounded-xl border border-line bg-surface p-6">Dibayar tepat waktu</article>
</x-markas.stacking-cards>
</div>Butuh 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">
Rencanakan minggumu
</article>
<article className="h-64 rounded-xl border border-line bg-surface p-6">
Bagikan ke tim
</article>
<article className="h-64 rounded-xl border border-line bg-surface p-6">
Dibayar tepat waktu
</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">
Rencanakan minggumu
</article>
<article class="h-64 rounded-xl border border-line bg-surface p-6">
Bagikan ke tim
</article>
<article class="h-64 rounded-xl border border-line bg-surface p-6">
Dibayar tepat waktu
</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>Satu script kecil yang dibundel mengukur setiap tumpukan lewat elemen markas-stacking-cards.
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 ditambah offset per kartu, sehingga kartu sebelumnya terlihat di atas kartu berikutnya.--stack-depth pada tiap kartu menyatakan seberapa jauh kartu berikutnya sudah menutupinya. scale mengecil dan meredup, fan miring kiri dan kanan, blur buram dan meredup.class jatuh ke tumpukan.| Nama | Tipe | Default | Keterangan |
|---|---|---|---|
variant | "scale" | "fan" | "blur" | "scale" | Apa yang terjadi pada kartu yang tertutup. scale: mengecil dan meredup. fan: miring kiri dan kanan seperti tumpukan kartu. blur: buram dan meredup. |
top | number | 16 | Posisi sticky kartu pertama dalam px, diukur dari atas area scroll. |
offset | number | 16 | Tambahan px tiap kartu berikutnya menempel di bawah kartu sebelumnya, sehingga tepi kartu sebelumnya terlihat. 0 menumpuk tepat. |
children / slot | ReactNode / slot | - | Kartu-kartunya. Setiap anak langsung adalah satu kartu; beri masing-masing latar sendiri agar menutupi kartu di bawahnya. |
Komponen markasui lain dengan class yang sama di setiap framework.
MarkasUI gratis dan open source. Secangkir kopi membuatnya terus berjalan.
Kopi Rp 25.000 + biaya layanan QRIS Rp 479 = total Rp 25.479
Traktir kopiPreparing your experience
Switching to English
Menyiapkan tampilan
Beralih ke Bahasa Indonesia