[READ-ONLY] Mirror of https://github.com/flo-bit/ui-kit. 馃 fox ui, svelte 5 and tailwind 4 flo-bit.dev/ui-kit/
svelte tailwindcss ui-components
0

Configure Feed

Select the types of activity you want to include in your feed.

133 14 50

Clone this repository

https://tangled.org/flo-bit.dev/ui-kit https://tangled.org/did:plc:vor4nfejjgvnarh5nv7apiz6
git@tangled.org:flo-bit.dev/ui-kit git@tangled.org:did:plc:vor4nfejjgvnarh5nv7apiz6

For self-hosted knots, clone URLs may differ based on your setup.



README.md

馃 fox ui#

This is a public alpha release. Expect bugs and breaking changes.

svelte v5 + tailwind v4

See all components here: https://flo-bit.dev/ui-kit

Quickstart#

1. Create a new svelte project with tailwind css (including @tailwindcss/typography and @tailwindcss/forms plugins)#

npx sv create my-project

2. Install fuchs#

npm install fuchs

3. set theme variables in your app.css (changing gray and blue to your preferred colors, using find and replace).#

@source "../node_modules/fuchs";

@theme {
	--color-base-50: var(--color-gray-50);
	--color-base-100: var(--color-gray-100);
	--color-base-200: var(--color-gray-200);
	--color-base-300: var(--color-gray-300);
	--color-base-400: var(--color-gray-400);
	--color-base-500: var(--color-gray-500);
	--color-base-600: var(--color-gray-600);
	--color-base-700: var(--color-gray-700);
	--color-base-800: var(--color-gray-800);
	--color-base-900: var(--color-gray-900);
	--color-base-950: var(--color-gray-950);

	--color-accent-50: var(--color-blue-50);
	--color-accent-100: var(--color-blue-100);
	--color-accent-200: var(--color-blue-200);
	--color-accent-300: var(--color-blue-300);
	--color-accent-400: var(--color-blue-400);
	--color-accent-500: var(--color-blue-500);
	--color-accent-600: var(--color-blue-600);
	--color-accent-700: var(--color-blue-700);
	--color-accent-800: var(--color-blue-800);
	--color-accent-900: var(--color-blue-900);
	--color-accent-950: var(--color-blue-950);
}

4. Use the components#

<script>
	import { Button } from 'fuchs';
</script>

<Button onclick={() => alert('clicked')}>Click me</Button>

Development#

If you want to contribute to the project, please open an issue first describing the feature you want to add.

Clone the repo, install dependencies and run the dev server

git clone https://github.com/flo-bit/ui-kit.git
cd ui-kit
npm install
npm run dev

The ui-kit library is located in src/lib, the documentation is in src/docs.