svelte-fomantic-ui Svelte Themes

Svelte Fomantic Ui

A simple Svelte wrapper for Fomantic UI

Svelte Fomantic UI Wrapper for Client-Side WebApps

This is now at late Beta stage. The code is proving robust according to the testing done so far.

Feel free to use cautiously in projects, and please give feedback.

Latest update (15th of July, 2023): We're almost there... Search and Ad need testing, and then onto behaviors...


A simple Svelte wrapper for Fomantic UI for creating client-side WebApps. Note that this does not (yet) work with Server Side Rendering. This is a very shallow and light layer on top of the standard fomantic UI as found at https://fomantic-ui.com.


For more details, look inside the svelte-fomantic-ui folder, and in particular, check the README

The source code is found in the folder src/lib. There are some examples and tests in the src/lib/tests folder.

Live Test site

To see this working, follow this link.

Roadmap

  1. Minimum set of features complete - enough for a working website - all the Elements, Collections and Views - will work with pure css.
    • To date: implementation of features is at about 90%, and I'm about nine tenths of the way through testing and documentation.
  2. Main features complete - as above, but also the Modules.
    • All modules are now completed, tested and documented.
  3. All features complete - as above, but also the Behaviors and Theming.
    • Starting on behaviors - no reason to expect they won't work, but need testing of course.

Note that in essence all these do already work (except for the Modules) because you can include Fomantic UI directly into your code using classes as with any javascript.

Progress so far

  • Where there is a cross in the Implemented column; that means the basic code is in place and should work.
  • Where there is a cross in the Tested and Documented column; the examples from the Fomantic UI website have been sveltised and compared for accuracy with the ones on the Fomantic UI website, and where necessary, tweaks to the svelte-fomantic-ui code made. Often, there are sub classes like 'metadata' and 'description' that need adding, for example.
  • Where there is an underscore in the Tested and Documented column, this means I've started the process of testing and documenting, but not yet finished - but I've done at least one, so am confident that it is working - however, there may be some tweaks to come.
    • For example, when working on the Table element, there is an option for sorted tables that required some extra scripting to be added to work as per the example, and to function seamlessly in the Svelte environment.
Element Implemented Tested and Documented Example Code Fomantic UI page
Button X X /Button Button
- Interactive X X /ButtonInteractive
Container X X /Container Container
Divider X X /Divider Divider
Emoji X X /Emoji Emoji
Flag X X /Flag Flag
Header X X /Header Header
Icon X X /Icon Icon
Image X X /Image Image
Input X X /Input Input
Label X X /Label Label
List X X /List List
Loader X X /Loader Loader
Placeholder X X /Placeholder Placeholder
Rail X X /Rail Rail
Reveal X X /Reveal Reveal
Segment X X /Segment Segment
Step X X /Step Step
Text X X /Text Text
Textarea X X /Input Input
Collections Implemented Tested and Documented Example Code Fomantic UI page
Breadcrumb X X /Breadcrumb Breadcrumb
- Interactive X X /BreadcrumbInteractive
Form X _ /Form Form
Grid X X /Grid Grid
Menu X X /Menu Menu
Message X X /Message Message
Table X X /Table Table
Views Implemented Tested and Documented Example Code Fomantic UI page
Advertisement X _ /Ad Ad
Card X X /Card Card
Comment X X /Comment Comment
Feed X X /Feed Feed
Item X X /Item Item
Statistic X X /Statistic Statistic
Modules Implemented Tested and Documented Example Code Fomantic UI page
Accordion X X /Accordion Accordion
Calendar X X /Calendar Calendar
Checkbox X X /Checkbox Checkbox
- Indeterminate X X /CheckboxIndeterminate
Dimmer X X /Dimmer Dimmer
Dropdown X X /Dropdown Dropdown
Embed X X /Embed Embed
Flyout X X /Flyout Flyout
Modal X X /Modal Modal
Nag X X /Nag Nag
Popup X X /Popup Popup
Progress X X /Progress Progress
Radio X X /Checkbox Checkbox
Rating X X /Rating Rating
Search X _ /Search Search
Shape X X /Shape Shape
Sidebar X X /Sidebar Sidebar
Slider X X /Slider Slider
Sticky X X /Sticky Sticky
Tab X X /Tab Tab
Toast X X /Toast Toast
Transition X X /Transition Transition
Behaviors Implemented Tested and Documented Example Code Fomantic UI page
API API
Form validation X _ /Validation Form validation
Visibility Visibility

Top categories

Loading Svelte Themes