diff --git a/src/lib/cards/CardAlerts.svelte b/src/lib/cards/CardAlerts.svelte
new file mode 100644
index 0000000..efef50c
--- /dev/null
+++ b/src/lib/cards/CardAlerts.svelte
@@ -0,0 +1,19 @@
+
+
+
+
+ Alert Title
+ Alert Description
+
\ No newline at end of file
diff --git a/src/lib/cards/CardAvatar.svelte b/src/lib/cards/CardAvatar.svelte
new file mode 100644
index 0000000..54f827a
--- /dev/null
+++ b/src/lib/cards/CardAvatar.svelte
@@ -0,0 +1,23 @@
+
+
+
diff --git a/src/lib/cards/CardBadge.svelte b/src/lib/cards/CardBadge.svelte
new file mode 100644
index 0000000..c782dd2
--- /dev/null
+++ b/src/lib/cards/CardBadge.svelte
@@ -0,0 +1,31 @@
+
+
+Badge
+
+Badge
diff --git a/src/lib/cards/CardBox.svelte b/src/lib/cards/CardBox.svelte
new file mode 100644
index 0000000..1d104e9
--- /dev/null
+++ b/src/lib/cards/CardBox.svelte
@@ -0,0 +1,8 @@
+
+
+
+ This is a box, put your stuff here.
+
\ No newline at end of file
diff --git a/src/lib/cards/CardButtons.svelte b/src/lib/cards/CardButtons.svelte
new file mode 100644
index 0000000..35e0322
--- /dev/null
+++ b/src/lib/cards/CardButtons.svelte
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
diff --git a/src/lib/cards/CardChatBubble.svelte b/src/lib/cards/CardChatBubble.svelte
new file mode 100644
index 0000000..9eb039a
--- /dev/null
+++ b/src/lib/cards/CardChatBubble.svelte
@@ -0,0 +1,13 @@
+
+
+
+
+ Hello there
+
+
+
+ General Kenobi
+
+
diff --git a/src/lib/cards/CardCheckbox.svelte b/src/lib/cards/CardCheckbox.svelte
new file mode 100644
index 0000000..c601b86
--- /dev/null
+++ b/src/lib/cards/CardCheckbox.svelte
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/lib/cards/CardImage.svelte b/src/lib/cards/CardImage.svelte
new file mode 100644
index 0000000..2b645c7
--- /dev/null
+++ b/src/lib/cards/CardImage.svelte
@@ -0,0 +1,11 @@
+
+
+
diff --git a/src/lib/cards/CardInput.svelte b/src/lib/cards/CardInput.svelte
new file mode 100644
index 0000000..1547e1a
--- /dev/null
+++ b/src/lib/cards/CardInput.svelte
@@ -0,0 +1,7 @@
+
+
+
\ No newline at end of file
diff --git a/src/lib/cards/CardModal.svelte b/src/lib/cards/CardModal.svelte
new file mode 100644
index 0000000..0cf8e2c
--- /dev/null
+++ b/src/lib/cards/CardModal.svelte
@@ -0,0 +1,29 @@
+
+
+
+
Title
+
Description
+
+
+
+
+
+
+
+
diff --git a/src/lib/cards/CardNumberInput.svelte b/src/lib/cards/CardNumberInput.svelte
new file mode 100644
index 0000000..d2f5399
--- /dev/null
+++ b/src/lib/cards/CardNumberInput.svelte
@@ -0,0 +1,5 @@
+
+
+
diff --git a/src/lib/cards/CardScrollArea.svelte b/src/lib/cards/CardScrollArea.svelte
new file mode 100644
index 0000000..b62a677
--- /dev/null
+++ b/src/lib/cards/CardScrollArea.svelte
@@ -0,0 +1,44 @@
+
+
+
+
+ {content}
+
+
diff --git a/src/lib/cards/CardSelect.svelte b/src/lib/cards/CardSelect.svelte
new file mode 100644
index 0000000..1619818
--- /dev/null
+++ b/src/lib/cards/CardSelect.svelte
@@ -0,0 +1,5 @@
+
+
+
diff --git a/src/lib/cards/CardSlider.svelte b/src/lib/cards/CardSlider.svelte
new file mode 100644
index 0000000..ecc37c1
--- /dev/null
+++ b/src/lib/cards/CardSlider.svelte
@@ -0,0 +1,5 @@
+
+
+
diff --git a/src/lib/cards/CardSonner.svelte b/src/lib/cards/CardSonner.svelte
new file mode 100644
index 0000000..b649268
--- /dev/null
+++ b/src/lib/cards/CardSonner.svelte
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+ Attention required
+ This is important
+
+
diff --git a/src/lib/cards/CardSwitch.svelte b/src/lib/cards/CardSwitch.svelte
new file mode 100644
index 0000000..8b7fcfa
--- /dev/null
+++ b/src/lib/cards/CardSwitch.svelte
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/lib/cards/CardTextarea.svelte b/src/lib/cards/CardTextarea.svelte
new file mode 100644
index 0000000..31f564a
--- /dev/null
+++ b/src/lib/cards/CardTextarea.svelte
@@ -0,0 +1,5 @@
+
+
+
\ No newline at end of file
diff --git a/src/lib/cards/CardTooltip.svelte b/src/lib/cards/CardTooltip.svelte
new file mode 100644
index 0000000..cb0b44e
--- /dev/null
+++ b/src/lib/cards/CardTooltip.svelte
@@ -0,0 +1,9 @@
+
+
+
+ I'm a Tooltip
+
+
diff --git a/src/lib/components/base/button/Button.svelte b/src/lib/components/base/button/Button.svelte
index d78e180..1ca1257 100644
--- a/src/lib/components/base/button/Button.svelte
+++ b/src/lib/components/base/button/Button.svelte
@@ -5,7 +5,7 @@
import { cn } from '$lib/utils';
export const buttonVariants = tv({
- base: 'focus-visible:outline hover:cursor-pointer motion-safe:focus-visible:transition-transform focus-visible:outline-2 outline-offset-2 inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-2xl active:scale-95 text-sm font-medium motion-safe:transition-all disabled:pointer-events-none disabled:opacity-50 duration-300 active:duration-100 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',
+ base: 'hover:cursor-pointer motion-safe:focus-visible:transition-transform focus-visible:outline-2 outline-offset-2 inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-2xl active:scale-95 text-sm font-medium motion-safe:transition-all disabled:pointer-events-none disabled:opacity-50 duration-300 active:duration-100 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',
variants: {
variant: {
primary:
diff --git a/src/lib/components/base/number-input/NumberInput.svelte b/src/lib/components/base/number-input/NumberInput.svelte
index 3b22156..e5f3662 100644
--- a/src/lib/components/base/number-input/NumberInput.svelte
+++ b/src/lib/components/base/number-input/NumberInput.svelte
@@ -13,6 +13,7 @@
class: className,
ref = $bindable(null),
inputRef = $bindable(null),
+ tabindex = undefined,
...restProps
}: WithElementRef>> & {
min?: number;
@@ -96,6 +97,7 @@
{value}
oninput={handleInput}
bind:this={inputRef}
+ tabindex={tabindex}
/>
= $props();
@@ -23,6 +24,7 @@ get along, so we shut typescript up by casting `value` to `never`.
"relative flex touch-none items-center select-none data-[orientation='horizontal']:w-full data-[orientation='vertical']:h-full data-[orientation='vertical']:min-h-44 data-[orientation='vertical']:w-auto data-[orientation='vertical']:flex-col",
className
)}
+ tabindex={tabindex}
{...restProps}
>
{#snippet children({ thumbs })}
@@ -42,6 +44,7 @@ get along, so we shut typescript up by casting `value` to `never`.
{/each}
{/snippet}
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index e91bddf..ac28db7 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -1,284 +1,218 @@
-
-
-
-
-
-
-
my ui kit
-
- svelte
- tailwind
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
Work in progress, please wait a few months for an actually working version...
-
-
-
-
-
-
-
-
+ class=" from-accent-500 to-accent-600 border-accent-700 dark:border-accent-400 z-10 size-6 rounded-full border bg-gradient-to-b"
+ >
-
-
-
-
-
Me and my bros
-
-
- They don't actually know me :(
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Easy to use UI components built with Tailwind and Svelte
+
+
Base components
+
+ {#each cards as card}
+
+
-
-
-
-
-
-
Rate this project
-
-
-
-
-
-
-
-
+
-
-
- These don't actually do anything:
-
-
-
-
-
-
- This could be your github activity:
-
-
-
-
-
-
Login here:
-
-
-
-
-
-
-
-
- Very important please read
-
- Hah, tricked you! This is actually not important at all. But you still read it!
-
-
-
-
+ {/each}
-
+