0.10.31 • Published 8 months ago
@vikram-components/mobius-component v0.10.31
Svelte 5 UI Lib
Svelte 5 UI Lib is a UI library built from scratch to leverage Svelte 5's runes system, creating smooth, reactive components.
Installation
Install svelte
, tailwindcss
, and svelte-5-ui-lib
, update dependencies and install the latest:
npx sv create myapp // select to install tailwindcss
cd myapp
pnpm install
pnpm run dev
pnpm i -D svelte-5-ui-lib
Add the following to tailwind.config.js:
import type { Config } from 'tailwindcss';
export default {
content: ['./src/**/*.{html,js,svelte,ts}', './node_modules/svelte-5-ui-lib/**/*.{html,js,svelte,ts}', './node_modules/flowbite-svelte-icons/**/*.{html,js,svelte,ts}'],
darkMode: 'selector',
theme: {
extend: {
colors: {
primary: { 50: '#FFF5F2', 100: '#FFF1EE', 200: '#FFE4DE', 300: '#FFD5CC', 400: '#FFBCAD', 500: '#FE795D', 600: '#EF562F', 700: '#EB4F27', 800: '#CC4522', 900: '#A5371B' },
secondary: { "50": "#f0f9ff", "100": "#e0f2fe", "200": "#bae6fd", "300": "#7dd3fc", "400": "#38bdf8", "500": "#0ea5e9", "600": "#0284c7", "700": "#0369a1", "800": "#075985", "900": "#0c4a6e" },
}
}
},
} as Config;
License
MIT
0.10.30
8 months ago
0.10.31
8 months ago
0.10.29
8 months ago
0.10.28
8 months ago
0.10.27
8 months ago
0.10.26
8 months ago
0.10.25
8 months ago
0.10.23
8 months ago
0.10.22
8 months ago
0.10.21
8 months ago
0.10.20
8 months ago
0.10.19
8 months ago
0.10.18
8 months ago
0.10.17
8 months ago
0.10.16
8 months ago
0.10.15
8 months ago
0.10.14
8 months ago
0.10.13
8 months ago
0.10.12
8 months ago
0.10.11
8 months ago
0.10.10
8 months ago
0.10.9
8 months ago
0.10.8
8 months ago
0.10.7
8 months ago
0.10.5
8 months ago
0.10.4
8 months ago
0.10.3
8 months ago
0.10.2
8 months ago
0.10.1
8 months ago