https://github.com/vicdata4/seed-catalog
Seed-catalog is an open-source web-components library. It contains CSS-styles and standards-based web templates such as buttons, modals, dropdowns and other interface components.
https://github.com/vicdata4/seed-catalog
catalog css custom-elements html javascript library litelement webcomponents
Last synced: about 1 year ago
JSON representation
Seed-catalog is an open-source web-components library. It contains CSS-styles and standards-based web templates such as buttons, modals, dropdowns and other interface components.
- Host: GitHub
- URL: https://github.com/vicdata4/seed-catalog
- Owner: vicdata4
- Created: 2019-07-28T10:37:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-20T16:02:37.000Z (almost 4 years ago)
- Last Synced: 2024-04-27T20:04:26.298Z (about 2 years ago)
- Topics: catalog, css, custom-elements, html, javascript, library, litelement, webcomponents
- Language: JavaScript
- Homepage: https://vicdata4.github.io/seed-catalog
- Size: 15.4 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

## Seed Catalog


### [Website](https://vicdata4.github.io/seed-catalog)
Seed-catalog is an open-source `web-components library`. It contains CSS-styles and standards-based web templates such as buttons, modals, dropdowns and other interface components.
### [Dependencies](package.json)
- [LitElement](https://lit-element.polymer-project.org) Web Components
- [Storybook](https://storybook.js.org) WC Interface (dev)
- [ESLint](https://eslint.org) Coding style (dev)
- [Open-wc](https://open-wc.org/) Testing recommendations (Karma, Mocha, Chai)
## Quick start
Install via npm
```
npm i @seed-catalog/modal
```
## Catalog
- [Carousel](https://vicdata4.github.io/seed-catalog/seed/carousel)
- [Dropdown](https://vicdata4.github.io/seed-catalog/seed/dropdown)
- [Modal](https://vicdata4.github.io/seed-catalog/seed/modal)
- [Progress ring](https://vicdata4.github.io/seed-catalog/seed/ring)
- [Stepper](https://vicdata4.github.io/seed-catalog/seed/stepper)
## Styles
- [Button]()
- [Button Group]()
- [Button Icon]()
- [Button Input]()
## Style classes
#### Buttons
You can play with different combinations of colors, types and sizes according with the requirements of your application or website.
- [Material Icons](https://material.io/resources/icons) Crafted symbols
Material icons is integrated as dependency of this class, so you can create more complex and dynamic buttons, easy and fast just importing `seedStyle` class.
```js
import { LitElement, css } from 'lit-element';
import { seedStyle } from '@seed-catalog/styles';
import '@seed-catalog/dropdown';
class MyComponent extends LitElement {
static get styles() {
return [
seedStyle,
css`
...
`
];
}
render() {
return html`
Dropdown
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Cras ut viverra leo, vel dapibus quam. Proin a sollicitudin quam,
eget viverra diam. Donec euismod mattis dignissim.
`;
}
}
```
##### Color classes:
-  `.red`
-  `.green`
-  `.blue`
-  `.yellow`
-  `.purple`
-  `.black`
-  `.orange`
-  `.red-mate`
-  `.green-mate`
-  `.blue-mate`
-  `default`
##### Button classes
- .sd-btn
- .sd-btn-mix
- .sd-btn-mixr
- .sd-btn-group
- .sd-icon
- .clear
- .circle
- .sm
- .lg
##### Input classes
- .sd-input-submit
- .sd-input-icon
- .sd-input-icon left
- .sd-input-label
##### Fonts
- Material icons
- Ubuntu, sans-serif
### How to use
We recommend to see the [website documentation](https://vicdata4.github.io/seed-catalog) to learn more about seed-components catalog and how to use them.