Giter VIP home page Giter VIP logo

lustre-labs-ui's Introduction

Lustre UI

A thoughtfully designed UI library for Lustre.

Built with ❤︎ by Hayleigh Thompson

Features

  • A set of thoughtfully designed and accessible components that account written with idiomatic Gleam and CSS in mind.

  • A collection of layouting primitives that make it easy to build complex UIs without knowledge of flexbox or grid.

  • Utility classes that make it easy to style your own components without writing CSS.

  • A customisable theme system to tweak colours, spacing, and typography to fit your brand.

Philosophy

Many of Lustre's users are backend or fullstack developers with less interest or experience in frontend development. Lustre UI is primarily designed with those folks in mind, and has two main goals:

  • Make it easy to build good-looking, accessible UIs without needing to know much about CSS or design.

  • Encourage well-structured semantic HTML and avoid div soup.

To achieve this, Lustre UI is opinionated on many aspects of the visual design. For folks that don't want to worry about design, this is a feature not a bug, but for users looking for a flexible "headless" UI library you may have to look elsewhere.

Installation

Note: Lustre UI is currently still an alpha release while we work on the core library and experiment with different components. Expect the API to change from time to time and documentation to be sparse!

Lustre UI is published on Hex. To use it in your project with Gleam:

gleam add lustre_ui

Ensure the required CSS is rendered in your apps by either serving the stylesheet found in the priv/static directory of this package or rendering the styles inline using the functions found in lustre/ui/util/styles.

Lustre UI is configured to work out of the box with no additional themeing or setup required, so you can just drop the stylesheet in and go!

Support

Lustre is mostly built by just me, Hayleigh, around two jobs. If you'd like to support my work, you can sponsor me on GitHub.

Contributions are also very welcome! If you've spotted a bug, or would like to suggest a feature, please open an issue or a pull request.

lustre-labs-ui's People

Contributors

hayleigh-dot-dev avatar brettcannon avatar daniellemaywood avatar greenfork avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.