mirror of
https://github.com/bakateam/merakiui.git
synced 2025-12-08 14:43:23 +00:00
Compare commits
6 Commits
5041432b65
...
1a03aaa519
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a03aaa519 | ||
|
|
ae8dfb148a | ||
|
|
93e72c43e4 | ||
|
|
4697596c1b | ||
|
|
39ded766ad | ||
|
|
715bc3faf6 |
72
components/accordion/AlwaysOpen.html
Normal file
72
components/accordion/AlwaysOpen.html
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Meraki UI Components</title>
|
||||||
|
|
||||||
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
[x-cloak] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script defer src="https://cdn.jsdelivr.net/npm/@alpinejs/collapse@3.x.x/dist/cdn.min.js"></script>
|
||||||
|
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="mx-auto max-w-7xl dark:bg-gray-900">
|
||||||
|
|
||||||
|
<div class="dark:text-gray-50">
|
||||||
|
<div x-data="{ isActive: false }" class="border-b dark:border-b-gray-700">
|
||||||
|
<button type="button" @click="isActive = !isActive"
|
||||||
|
class="font-medium hover:underline flex justify-between items-center w-full py-4 cursor-pointer">
|
||||||
|
<span>What is Meraki UI?</span>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
|
||||||
|
stroke="currentColor" class="size-4 duration-300" x-bind:class="{ 'rotate-180': isActive }">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
<p x-cloak x-show="isActive" x-collapse class="text-sm pb-4">
|
||||||
|
Meraki UI is a collection of responsive Tailwind CSS components that enhance the user experience of your
|
||||||
|
website. with
|
||||||
|
support for RTL languages, and a sleek Dark Mode.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div x-data="{ isActive: false }" class="border-b dark:border-b-gray-700">
|
||||||
|
<button type="button" @click="isActive = !isActive"
|
||||||
|
class="font-medium hover:underline flex justify-between items-center w-full py-4 cursor-pointer">
|
||||||
|
<span>What is Meraki UI?</span>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
|
||||||
|
stroke="currentColor" class="size-4 duration-300" x-bind:class="{ 'rotate-180': isActive }">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
<p x-cloak x-show="isActive" x-collapse class="text-sm pb-4">
|
||||||
|
Meraki UI is a collection of responsive Tailwind CSS components that enhance the user experience of your
|
||||||
|
website. with
|
||||||
|
support for RTL languages, and a sleek Dark Mode.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div x-data="{ isActive: false }" class="border-b dark:border-b-gray-700">
|
||||||
|
<button type="button" @click="isActive = !isActive"
|
||||||
|
class="font-medium hover:underline flex justify-between items-center w-full py-4 cursor-pointer">
|
||||||
|
<span>What is Meraki UI?</span>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
|
||||||
|
stroke="currentColor" class="size-4 duration-300" x-bind:class="{ 'rotate-180': isActive }">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
<p x-cloak x-show="isActive" x-collapse class="text-sm pb-4">
|
||||||
|
Meraki UI is a collection of responsive Tailwind CSS components that enhance the user experience of your
|
||||||
|
website. with
|
||||||
|
support for RTL languages, and a sleek Dark Mode.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
84
components/accordion/Simple.html
Normal file
84
components/accordion/Simple.html
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Meraki UI Components</title>
|
||||||
|
|
||||||
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
[x-cloak] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script defer src="https://cdn.jsdelivr.net/npm/@alpinejs/collapse@3.x.x/dist/cdn.min.js"></script>
|
||||||
|
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="mx-auto max-w-7xl dark:bg-gray-900">
|
||||||
|
|
||||||
|
<div x-data="{
|
||||||
|
activeAccordion: 1,
|
||||||
|
setActiveAccordion(id) {
|
||||||
|
(this.activeAccordion === id) ? this.activeAccordion = null : this.activeAccordion = id;
|
||||||
|
}
|
||||||
|
}" class="dark:text-gray-50">
|
||||||
|
<div x-data="{ id: $id('accordion') }" class="border-b dark:border-b-gray-700">
|
||||||
|
<button type="button" @click="setActiveAccordion(id)"
|
||||||
|
class="font-medium hover:underline flex justify-between items-center w-full cursor-pointer py-4">
|
||||||
|
<span>What is Meraki UI?</span>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
|
||||||
|
stroke="currentColor" class="size-4 duration-300"
|
||||||
|
x-bind:class="{ 'rotate-180': activeAccordion === id }">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<p x-cloak x-show="activeAccordion === id" x-collapse class="text-sm pb-4">
|
||||||
|
Meraki UI is a collection of responsive Tailwind CSS components that enhance the user experience of your
|
||||||
|
website. with
|
||||||
|
support for RTL languages, and a sleek Dark Mode.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div x-data="{ id: $id('accordion') }" class="border-b dark:border-b-gray-700">
|
||||||
|
<button type="button" @click="setActiveAccordion(id)"
|
||||||
|
class="font-medium hover:underline flex justify-between items-center w-full cursor-pointer py-4">
|
||||||
|
<span>What is Meraki UI?</span>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
|
||||||
|
stroke="currentColor" class="size-4 duration-300"
|
||||||
|
x-bind:class="{ 'rotate-180': activeAccordion === id }">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<p x-cloak x-show="activeAccordion === id" x-collapse class="text-sm pb-4">
|
||||||
|
Meraki UI is a collection of responsive Tailwind CSS components that enhance the user experience of your
|
||||||
|
website. with
|
||||||
|
support for RTL languages, and a sleek Dark Mode.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div x-data="{ id: $id('accordion') }" class="border-b dark:border-b-gray-700">
|
||||||
|
<button type="button" @click="setActiveAccordion(id)"
|
||||||
|
class="font-medium hover:underline flex justify-between items-center w-full cursor-pointer py-4">
|
||||||
|
<span>What is Meraki UI?</span>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
|
||||||
|
stroke="currentColor" class="size-4 duration-300"
|
||||||
|
x-bind:class="{ 'rotate-180': activeAccordion === id }">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<p x-cloak x-show="activeAccordion === id" x-collapse class="text-sm pb-4">
|
||||||
|
Meraki UI is a collection of responsive Tailwind CSS components that enhance the user experience of your
|
||||||
|
website. with
|
||||||
|
support for RTL languages, and a sleek Dark Mode.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
46
components/banners/DarkCentered.html
Normal file
46
components/banners/DarkCentered.html
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Meraki UI Components</title>
|
||||||
|
|
||||||
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<section class="bg-gray-900 text-white">
|
||||||
|
<div class="mx-auto max-w-screen-xl px-4 py-32 lg:flex lg:h-screen lg:items-center">
|
||||||
|
<div class="mx-auto max-w-3xl text-center">
|
||||||
|
<h1
|
||||||
|
class="bg-gradient-to-r from-green-300 via-blue-500 to-purple-600 bg-clip-text text-3xl font-extrabold text-transparent sm:text-5xl">
|
||||||
|
Understand User Flow.
|
||||||
|
|
||||||
|
<span class="sm:block"> Increase Conversion. </span>
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
<p class="mx-auto mt-4 max-w-xl sm:text-xl/relaxed">
|
||||||
|
Meraki UI is a collection of responsive Tailwind CSS components that enhance the user experience of
|
||||||
|
your
|
||||||
|
website. with support for RTL languages, and a sleek Dark Mode.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="mt-8 flex flex-wrap justify-center gap-4">
|
||||||
|
<a class="block w-full rounded border border-blue-600 bg-blue-600 px-12 py-3 text-sm font-medium text-white hover:bg-transparent hover:text-white focus:outline-none focus:ring active:text-opacity-75 sm:w-auto"
|
||||||
|
href="#">
|
||||||
|
Get Started
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="block w-full rounded border border-blue-600 px-12 py-3 text-sm font-medium text-white hover:bg-blue-600 focus:outline-none focus:ring active:bg-blue-500 sm:w-auto"
|
||||||
|
href="#">
|
||||||
|
Learn More
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
44
components/banners/LightCentered.html
Normal file
44
components/banners/LightCentered.html
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Meraki UI Components</title>
|
||||||
|
|
||||||
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<section class="bg-gray-50">
|
||||||
|
<div class="mx-auto max-w-screen-xl px-4 py-32 lg:flex lg:h-screen lg:items-center">
|
||||||
|
<div class="mx-auto max-w-xl text-center">
|
||||||
|
<h1 class="text-3xl font-extrabold sm:text-5xl">
|
||||||
|
Understand User Flow.
|
||||||
|
<strong class="font-extrabold text-gray-700 sm:block"> Increase Conversion. </strong>
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
<p class="mt-4 sm:text-xl/relaxed">
|
||||||
|
Meraki UI is a collection of responsive Tailwind CSS components that enhance the user experience of
|
||||||
|
your
|
||||||
|
website. with support for RTL languages, and a sleek Dark Mode.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="mt-8 flex flex-wrap justify-center gap-4">
|
||||||
|
<a class="block w-full rounded bg-gray-600 px-12 py-3 text-sm font-medium text-white shadow hover:bg-gray-700 focus:outline-none focus:ring active:bg-gray-700 sm:w-auto"
|
||||||
|
href="#">
|
||||||
|
Get Started
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="block w-full rounded px-12 py-3 text-sm font-medium text-gray-600 shadow border border-gray-400 hover:text-gray-700 focus:outline-none focus:ring active:text-gray-500 sm:w-auto"
|
||||||
|
href="#">
|
||||||
|
Learn More
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user