Skip to content

MortadaAK/petal_components

 
 

Repository files navigation

Petal Components

DEMO

Petal is a set of HEEX components that makes it easy for Phoenix developers to start building beautiful web apps.

About

Petal stands for:

Some components like Dropdowns require Javascript to work. We default to Alpine JS (17kb) but you can choose to use Phoenix.LiveView.JS as an alternative (though this will only work in live environments like live views or live components).

Documentation

For full documentation, visit petal.build.

Roadmap

Layout

  • container

Form components

  • text input
  • select dropdown
  • textarea
  • checkbox
  • radios
  • errors
  • labels
  • file upload
  • text variants (email, password, tel)
  • color input
  • range input
  • time, datetime, & date input
  • multiple select
  • switch

Buttons

  • basic button
  • change size
  • change color
  • loading state (with spinner)
  • filled vs outline
  • button group

Misc

  • menu dropdown
  • tooltips
  • avatar
  • alerts
  • tables
  • cards
  • breadcrumbs
  • modal
  • slide over
  • spinners
  • accordian
  • pagination
  • badges
  • progress
  • links

Contributing

Feel free to open a Github issue in this project.

If you'd like to help out we've got a Phoenix umbrella app that allows you to easily contribute to Petal Components (which is installed as a git submodule).

About

Phoenix Live View Components

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Elixir 100.0%