Under active development.
Frontile aims to provide the legos (components, helpers, modifiers, and styles) necessary for building consistent and powerful Ember.js apps while following best practices from the community and providing both low-level and high-level components for your application.
- Built with accessibility in mind into every component;
- Built as logically separated packages, so you can choose the pieces you're going to use;
- Written in TypeScript;
- All components are Glimmer components;
- Styles are just TailwindCSS plugins, and fully responsive;
Visit frontile.dev to read the docs and see live demos.
There are a few packages available to use already; you can use them in your applications today if you are in a supported Ember version. The project is still pre-version 1.0.0, so breaking changes can still occur.
- @frontile/core: Core package providing essential a11y components.
- @frontile/forms: Components for working with forms.
- @frontile/changeset-form: Integration between the Forms package and Changeset.
- @frontile/notifications: Package that provides toast-like notifications.
- @frontile/overlays: Components to render content over the UI, like Modal Dialogs.
- @frontile/buttons: Components for working with buttons.
All the styles we provide are through TailwindCSS plugins. It is perfect if your app has Tailwind; however, some apps don't have or don't necessarily want to write styles using it. For these, there are two alternatives:
- Write all the styles yourself targeting our classes, which follows BEM-like naming conventions.
- Only add Tailwind for our styles. This approach is yet to be proven, but in theory, you should be able to set up Tailwind and only allow it to include Frontile styles.
By providing Tailwind plugins, you can customize pretty much all styles, even removing what is not what you need. All plugins have the option to pass a configuration so that you can set up all the colors, spacings, etc, as your application needs. It also allows for creating themes or dark modes using CSS Variables.
TL; DR; You don't need TailwindCSS if you don't want it, but it's best if you do use it.
- Ember.js v3.16 or above
- Ember CLI v2.13 or above
- Node.js v10 or above
This project is licensed under the MIT License.