All Projects → supermacro → elm-antd

supermacro / elm-antd

Licence: MIT license
The official Ant Design UI Kit for Elm

Programming Languages

elm
856 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to elm-antd

Ant Design
An enterprise-class UI design language and React UI library
Stars: ✭ 76,498 (+136503.57%)
Mutual labels:  design-systems, ui-kit, antd, ant-design
Antv
Ant Design of Vue.js 2.0
Stars: ✭ 99 (+76.79%)
Mutual labels:  ui-kit, antd, ant-design
react-antd-formutil
Happy to use react-formutil in the project based on ant-design ^_^
Stars: ✭ 16 (-71.43%)
Mutual labels:  antd, ant-design
Ui Libraries
A collection of UI Frameworks and their platform implementations.
Stars: ✭ 769 (+1273.21%)
Mutual labels:  ui-kit, ant-design
Daisyui
⭐️ ⭐️ ⭐️ ⭐️ ⭐️  Tailwind Components
Stars: ✭ 382 (+582.14%)
Mutual labels:  design-systems, ui-kit
Antizer
ClojureScript library for Ant Design React UI components
Stars: ✭ 234 (+317.86%)
Mutual labels:  antd, ant-design
Ant Design Aliyun Theme
⚙ Ant Design Theme for console.aliyun.com
Stars: ✭ 237 (+323.21%)
Mutual labels:  antd, ant-design
Laravel React Blog
基于 Laravel 5.5 和 React 的个人博客系统
Stars: ✭ 226 (+303.57%)
Mutual labels:  antd, ant-design
Iview
A high quality UI Toolkit built on Vue.js 2.0
Stars: ✭ 23,930 (+42632.14%)
Mutual labels:  design-systems, ui-kit
Balm Ui
♦️ A modular and customizable UI library based on Material Design and Vue
Stars: ✭ 133 (+137.5%)
Mutual labels:  design-systems, ui-kit
antd-form-mate
📦 基于 ant design 的表单组件,配置化实现表单功能。
Stars: ✭ 14 (-75%)
Mutual labels:  antd, ant-design
React Ant
(基于pro 2.0)基于Ant Design Pro 的 (多标签页tabs、拖拽、富文本、拾色器、多功能table、多选Select)
Stars: ✭ 231 (+312.5%)
Mutual labels:  antd, ant-design
Virtual List
🧾 React Virtual List Component which worked with animation
Stars: ✭ 232 (+314.29%)
Mutual labels:  antd, ant-design
web-components
A set of high-quality standards based web components for enterprise web applications. Part of Vaadin 20+
Stars: ✭ 322 (+475%)
Mutual labels:  design-systems, ui-kit
Ant Design Vue
🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
Stars: ✭ 15,749 (+28023.21%)
Mutual labels:  antd, ant-design
design-systems
A list of famous design systems, design languages and guidelines
Stars: ✭ 403 (+619.64%)
Mutual labels:  design-systems, ui-kit
Antd Img Crop
🔪 An image cropper for Ant Design Upload
Stars: ✭ 207 (+269.64%)
Mutual labels:  antd, ant-design
Ant Plus
🔺 Ant Design 表单简化版
Stars: ✭ 212 (+278.57%)
Mutual labels:  antd, ant-design
Primitives
An open-source UI component library for building high-quality, accessible design systems and web apps. Maintained by @modulz.
Stars: ✭ 644 (+1050%)
Mutual labels:  design-systems, ui-kit
Viewui
A high quality UI Toolkit built on Vue.js 2.0
Stars: ✭ 2,487 (+4341.07%)
Mutual labels:  design-systems, ui-kit

gDelgado14/elm-antd logo

Elm Ant Design

ELM_ANTD This project is using Percy.io for visual regression testing.

Component Gallery

API Documentation

Bringing the amazing Ant Design kit to Elm!

Styled entirely using elm-css! No external stylesheet needed. Just elm install supermacro/elm-antd and you're all good to go!

Early Development Notice:

Elm Ant Design is not fully implemented and in a early / exploratory phase. A lot of APIs may not work yet (in the event that this is the case, please report it as an issue - which I will prioritize). The current API is subject to frequent change, but because Elm is super cool 😎, any breaking changes are guaranteed to be released under a Major release (as per semver).

Installation

elm install supermacro/elm-antd

Usage

Render stylesheet at the root of your Elm project

Elm Antd has a stylesheet implemented in Elm that you must hook up at the root of your elm project. You must use one of Ant.Css.defaultStyles or Ant.Css.createThemedStyles customTheme (see official docs to learn about theming).

import Ant.Css

view : Model -> Html Msg
view model =
    div []
      [ Ant.Css.defaultStyles
      , viewApp model
      ]

Apply Normalize Css

Elm Ant Design is built with normalize.css as its blank canvas.

You should add normalize.css to your project or else the components may not look as expected.

You have three options:

  • Add normalize.css as a link tag to your html directly
<link href="https://pagecdn.io/lib/normalize/8.0.1/normalize.min.css" rel="stylesheet" crossorigin="anonymous"  >
import Css.ModernNormalize as ModernNormalize

view : Model -> Html Msg
view _ =
    [ ModernNormalize.globalHtml
    , Ant.Css.defaultStyles
      -- Your application view comes here
    ]
  • Use a bundler for NodeJS to load normalize into your app at build-time.

npm module Link: https://www.npmjs.com/package/normalize

require('normalize')

[Optional] - Add Extra animations

There are additional animations you can add to your elm-antd project by adding JS event handlers to your app.

You can add them in one of two ways:

  • Add the following script tag to the head of your html file:
<script src="https://cdn.jsdelivr.net/npm/[email protected]/index.js"></script>
  • install elm-antd-extras npm package and use a bundling tool like webpack, gulp, etc in order to include the code into your html file

Contributing

Want to help out?

  • Check out the issues, and search for "good first issue" or "help wanted"!
  • Check out the CONTRIBUTING doc

Inspiration:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].