Magma is a component library for my personal projects, because I don't want to copy/paste.
It will evolve mainly according to my projects. But people want to use it and help, no worries.
- Block
- Color picker
- Context-menu
- List in options
- Circle in options
- Contrib calendar
- Dialog
- Expansion panel
- Info-message
- Input
- Checkbox
- Color
- Date
- Number
- Password
- Radio
- Range
- Select
- Text
- Textarea
- Light-dark
- Loader
- Loader-block
- Message
- Paginate
- Progress
- Spinner
- Table
- Tabs
- Walkthrough
- Cache
- FormBuilderExtended
- Logger
- arrayFilter
- classList
- fileSize
- math
- numFormat
- repeatFor
- strRelace
- Click Enter
- Click Outside
- Limit-focus
- ngInit
- ngModelChange debounced
- Sortable
- Stop Propagation
- Tooltip
- Textarea autosize
- Array
- Clipboard
- Coercion
- CSS
- Cookies
- Date
- DOM
- Enum
- File
- Json
- Number
- Object
- Text
- Subscriptions
- Buttons
- Links
- Input
- Grid
- Responsive
- Palette
See : Demo
Install in project:
npm i @ikilote/magma colorjs.io ng-select2-componentRequired in package.json
@angular/common:^21.0.0@angular/core:^21.0.0@angular/cdk:^21.0.0
Add in style.css
@import '@angular/cdk/overlay-prebuilt.css';
@import '../node_modules/@ikilote/magma/assets/styles/font-icon.css';
@import '../node_modules/@ikilote/magma/assets/styles/css-var.css';
@import '../node_modules/@ikilote/magma/assets/styles/style.css';| Magma | Angular |
|---|---|
| 1.1.0 | 21.0 |
| 1.0.0 | 20.x |
Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.
npm run build:lib
npm run publish:lib
npm run build:demo
Required for start test
export CHROME_BIN=chromiumtest for lib
npm run test:libLike Angular, this module is released under the permissive MIT license. Your contributions are always welcome.