sveltekit-form-example
SvelteKit form example 📝 code to get a contact form working with SvelteKit actions, and 10 tips to avoid common pitfalls 🍀 (by rodneylab)
felte
An extensible form library for Svelte, Solid and React (by pablo-abc)
sveltekit-form-example | felte | |
---|---|---|
1 | 16 | |
3 | 1,046 | |
- | 0.7% | |
2.6 | 7.5 | |
3 months ago | 6 months ago | |
CSS | TypeScript | |
BSD 3-clause "New" or "Revised" License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sveltekit-form-example
Posts with mentions or reviews of sveltekit-form-example.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-18.
felte
Posts with mentions or reviews of felte.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-19.
-
Big update for sveltekit-superforms!
How does it compare to Felte?
-
sveltekit-superforms alternatives - felte, sveltejs-forms, svelte-forms-lib, svelte-use-form, and svelte-final-form
7 projects | 6 Mar 2023
-
What libraries do you miss from other frameworks like Vue or React?
Don’t know if it can help, but I discovered this only recently, which was really missing for me with svelte: https://felte.dev/
- Introducing Skeleton - a Svelte UI component library for creating web interfaces using Svelte + Tailwind
- Client side form validation
-
Shadow DOM, Firefox and contenteditable
I’ve been experimenting with web components in order to build a wrapper for Felte that can easily be used with vanilla JS. One of Felte’s features is the ability to use custom field components that are not based on the browser’s native inputs (input, textarea, select). The example I show is a div with an attribute [contenteditable=“true”]. While testing this experiment I found some weird behaviour coming from Firefox: while I could perfectly click each field and type of it, if I tried to use the form only using the keyboard (tabbing to each field) the focus moved but trying to type would always result in the text being added to the first field I focused.
-
The use:__ feature giving my editor TS errors, but it works
There’s an example on Felte’s repo setting this up!
-
Using native form with web components + felte no data being passed
Ah. Of course 😅. mwc-textfield is not a native input. Felte relies on native inputs. You can use createField (by creating your own "wrapper" Svelte component that will render your ) or... better yet... you can experiment with what I've been working for the past weeks.
-
Creating a Chai like assertion library using proxies
For the past few weeks I’ve taken the (arguably pointless) work of migrating Felte from using Jest to uvu. This is a really tedious work by itself, but one of details that would have made this work even more tedious is that Jest prefers assertions to the style of expect(…).toBe* while uvu gives you freedom to choose any assertion library, although there’s an official uvu/assert module that comes with assertions to the style of assert.is(value, expected).
-
Announcing Felte 1.0: A form library for Svelte, Solid and React
After more than a year of work, I am proud to announce the release of version 1.0.0 of Felte!
What are some alternatives?
When comparing sveltekit-form-example and felte you can also consider the following projects:
sveltekit-fontaine - SvelteKit Fontaine ✍🏽 how to eliminate or reduce font swap cumulative layout shift working with custom, self-hosted fonts in ❤️ SvelteKit.
Superforms - Superforms is a SvelteKit library that helps you with server-side validation and client-side display of forms.
emojistan
wordle - A recreation of the popular game Wordle with additional modes and features. Made with Svelte in Typescript.
fieber - Classless and accessible CSS framework
skeleton - A fully featured UI toolkit for Svelte + Tailwind. [Moved to: https://github.com/skeletonlabs/skeleton]