@feltjs/felt-ui v0.61.0
@feltjs/felt-ui
styles and UI components for Svelte and SvelteKit 💚 ui.felt.dev
work in progress: pre-alpha
design:
- includes styles and UI components in Svelte, SvelteKit, and TypeScript
- encourages plain HTML elements like
button
anda
over Svelte components unless the gains are substantial - plain CSS
- designed around CSS variables
- has a small but growing set of utility classes -
currently includes a single global importable
style.css
, see this issue - the roadmap is mostly influenced by the needs of felt-server, and it's not ready for production or many common usecases (see this issue about acccessibility)
usage
npm i -D @feltjs/felt-ui
Import modules at their full paths:
// styles:
import '@feltjs/felt-ui/style.css';
import '@feltjs/felt-ui/theme.css'; // or bring your own
// components:
import Contextmenu from '@feltjs/felt-ui/Contextmenu.svelte';
// some types and helpers at the root:
import {createContextmenu} from '@feltjs/felt-ui/contextmenu.js';
See the library and src/lib/exports.ts for more.
develop
npm i # node >=16.6
# development
npm run dev
# production
npm run build
npm start
credits 🐢🐢🐢
The Consentful Onboarding Sketch was inspired by consentful.systems and includes design and other contributions from its first author Jane Im (@trusttri)
TypeScript ∙ Svelte ∙ SvelteKit ∙ Vite ∙ esbuild ∙ uvu ∙ Gro ∙ @feltjs/util ∙ ESLint ∙ Prettier & more
license 🐦
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago