···5566svelte v5 + tailwind v4
7788-demo: https://flo-bit.dev/ui-kit
88+See all components here: https://flo-bit.dev/ui-kit
991010-## How to use
1010+## Quickstart
11111212**Work in progress, only for testing purposes**
13131414-## 1. Create a new svelte project with tailwind css (including `@tailwindcss/typography` and `@tailwindcss/forms` plugins)
1414+### 1. Create a new svelte project with tailwind css (including `@tailwindcss/typography` and `@tailwindcss/forms` plugins)
15151616```bash
1717npx sv create my-project
1818```
19192020-## 2. Install fox-ui-svelte
2020+### 2. Install fox-ui-svelte
21212222```bash
2323npm install fox-ui-svelte
2424```
25252626-## 3. set theme variables in your app.css (changing `gray` and `blue` to your preferred colors, using find and replace).
2626+### 3. set theme variables in your app.css (changing `gray` and `blue` to your preferred colors, using find and replace).
27272828```css
2929@source "../node_modules/fox-ui-svelte";
···5555}
5656```
57575858-## 4. Use the components
5858+### 4. Use the components
59596060```svelte
6161<script>
+21
src/lib/index.ts
···66export { Avatar, AvatarGroup } from '$lib/components/base/avatar';
77export { Badge } from '$lib/components/base/badge';
88export { Button } from '$lib/components/base/button';
99+export { default as ImageCard } from '$lib/components/base/card/ImageCard.svelte';
1010+export { default as ChatBubble } from '$lib/components/base/chat-bubble/ChatBubble.svelte';
1111+export { Checkbox } from '$lib/components/base/checkbox';
1212+export { default as Head } from '$lib/components/base/head/Head.svelte';
1313+export { default as Heading } from '$lib/components/base/heading/Heading.svelte';
1414+export { default as Image } from '$lib/components/base/image/Image.svelte';
1515+export { default as ImageContainer } from '$lib/components/base/image-container/ImageContainer.svelte';
1616+export { Input } from '$lib/components/base/input/';
1717+export { Label } from '$lib/components/base/label/';
1818+export { default as Modal } from '$lib/components/base/modal/Modal.svelte';
1919+export { default as NumberInput } from '$lib/components/base/number-input/NumberInput.svelte';
2020+export { default as Prose } from '$lib/components/base/prose/Prose.svelte';
2121+export { default as ScrollArea } from '$lib/components/base/scroll-area/ScrollArea.svelte';
2222+export { Slider } from '$lib/components/base/slider';
2323+export { Toaster } from '$lib/components/base/sonner/';
2424+export { toast } from 'svelte-sonner';
2525+export { Switch } from '$lib/components/base/switch/';
2626+export { Text as Paragraph } from '$lib/components/base/text/';
2727+export { Textarea } from '$lib/components/base/textarea';
2828+export { Tooltip } from '$lib/components/base/tooltip';
2929+
+1-1
src/docs/preview/GithubCornerPreview.svelte
···11<script lang="ts">
22- import GithubCorner from '$lib/components/base/github-corner/GithubCorner.svelte';
22+ import GithubCorner from '$lib/components/github-corner/GithubCorner.svelte';
33 import { Subheading } from '$lib/components/base/heading';
44</script>
55
+1-1
src/docs/cards/base/CardGithubCorner.svelte
···11<script>
22- import GithubCorner from '$lib/components/base/github-corner/GithubCorner.svelte';
22+ import GithubCorner from '$lib/components/github-corner/GithubCorner.svelte';
33</script>
4455<GithubCorner class="absolute top-0 right-0" />