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.
- Color picker
- Context-menu
- List in options
- Circle in options
- Dialog
- Info-message
- Input
- Color
- Checkbox
- Number
- Radio
- Select
- Text
- Textarea
- Light-dark
- Paginate
- Table
- Tabs
- FormBuilderExtended
- Logger
- NumFormat
- Click Outside
- ngInit
- ngModelChange
- debounced
- Sortable
- Tooltip
- Textarea autosize
- Clipboard
- Coercion
- Cookies
- Date
- DOM
- File
- Json
- Number
- Object
- Subscriptions
- Buttons
- Input
- Grid
- Responsive
- Palette
See : Demo
Install in project:
npm i @ikilote/magma
Required in package.json
-
@angular/common
:^19.0.0
-
@angular/core
:^19.0.0
-
@angular/cdk
:^19.0.0
-
colorjs.io
:^0.5.2
-
ng-select2-component
:^17.2.1
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';
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
Like Angular, this module is released under the permissive MIT license. Your contributions are always welcome.