README.md 9.8 KB
Newer Older
P
Paweł Kuna 已提交
1 2
<p align="center">
<a href="https://github.com/tabler/tabler"><img src="https://raw.githubusercontent.com/tabler/tabler/dev/src/static/logo.svg" alt="A premium and open source dashboard template with a responsive and high-quality UI." width="300"></a><br><br>
M
Martyna 已提交
3
A premium and open source dashboard template with a responsive and high-quality UI.
P
Paweł Kuna 已提交
4 5 6 7 8 9 10 11
</p>

<p align="center">
<a href="https://www.npmjs.com/package/@tabler/core" target="__blank"><img src="https://img.shields.io/npm/v/@tabler/core?color=1864ab&label=Latest+version" alt="NPM version"></a>
<a href="https://www.npmjs.com/package/@tabler/core" target="__blank"><img alt="NPM Downloads" src="https://img.shields.io/npm/dm/@tabler/core?color=1971c2&label=Downloads"></a>
<a href="https://preview.tabler.io" target="__blank"><img src="https://img.shields.io/static/v1?label=Demo&message=preview&color=228be6" alt="Tabler preview"></a>
<a href="https://github.com/tabler/tabler/blob/master/LICENSE"><img src="https://img.shields.io/npm/l/tabler.svg?label=License&message=MIT&color=1c7ed6" alt="License"></a>
<a href="https://github.com/tabler/tabler/archive/dev.zip" target="__blank"><img src="https://img.shields.io/static/v1?label=Download&message=ZIP&color=339af0" alt="Tabler preview"></a>
C
codecalm 已提交
12
<a href="https://github.com/tabler/tabler/actions/workflows/preview.yml" target="__blank"><img alt="GitHub stars" src="https://github.com/tabler/tabler/actions/workflows/preview.yml/badge.svg"></a>
P
Paweł Kuna 已提交
13 14
<a href="https://github.com/tabler/tabler" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/tabler/tabler?style=social"></a>
</p>
P
Paweł Kuna 已提交
15

P
Paweł Kuna 已提交
16 17
<p align="center">
  <a href="https://github.com/sponsors/codecalm">
P
Paweł Kuna 已提交
18
    <img src='https://raw.githubusercontent.com/tabler/static/main/sponsors.svg'>
P
Paweł Kuna 已提交
19 20
  </a>
</p>
C
chomik 已提交
21

P
Paweł Kuna 已提交
22 23 24 25 26 27 28 29

## Preview

Tabler is fully responsive and compatible with all modern browsers. Thanks to its modern, user-friendly design you can create a fully functional interface that users will love! Choose the layouts and components you need and customize them to make your design consistent and eye-catching. Every component has been created with attention to detail to make your interface beautiful! <a href="https://preview.tabler.io">Show me demo</a>

<a href="https://preview.tabler.io" target="_blank"><img src="https://raw.githubusercontent.com/tabler/tabler/dev/src/static/tabler-preview.png" alt="Tabler preview"></a>


C
chomik 已提交
30 31
## Features

M
Martyna 已提交
32
We've created this admin panel for everyone who wants to create templates based on our pre-made components. Our mission is to deliver a user-friendly, clear and easy administration panel that can be used by both simple websites and sophisticated systems. The only requirement is basic HTML and CSS (and some [Liquid](https://github.com/Shopify/liquid/wiki)) knowledge — as a reward, you'll be able to manage and visualise different types of data in the easiest possible way!
C
chomik 已提交
33

M
Martyna 已提交
34 35 36 37 38
* **Responsive:** With the support for mobile, tablet and desktop displays, it doesn’t matter what device you’re using. Tabler is responsive in all major browsers.
* **Cross Browser:** Our theme works perfectly with the latest Chrome, Firefox+, latest Safari, Opera, Edge and mobile browsers. We work hard to to provide continuous support for them.
* **HTML5 & CSS3:** We use only modern web technologies, such as HTML5 and CSS3. Our theme includes some subtle CSS3 animations, which will help you attract attention.
* **Clean Code:** We followed Bootstrap’s guidelines carefully to make your integration as easy as possible. All code is handwritten and W3C valid.
* **Demo pages**: Tabler features over 20 individual pages using various components, which gives you the freedom to choose and combine. All components can vary in color and styling that you can easily modify using Sass. Sky is the limit!
C
chomik 已提交
39 40
* **Single Page Application versions:** [Tabler React](https://github.com/tabler/tabler-react) has React components for Tabler.

41 42 43 44 45

## Documentation

Documentation is available as a part of Tabler preview: https://preview.tabler.io/docs/

C
codecalm 已提交
46 47
## Sponsor Tabler

C
codecalm 已提交
48
<a href="https://github.com/sponsors/codecalm" target="_blank"><img src="/src/static/sponsor-banner-readme.png?raw=true" alt="Sponsor Tabler" /></a>
C
codecalm 已提交
49

P
Paweł Kuna 已提交
50

P
Paweł Kuna 已提交
51
### Sponsors
P
Paweł Kuna 已提交
52

P
Paweł Kuna 已提交
53 54 55 56 57 58 59 60 61 62 63 64
Support this project by becoming a sponsor. Your logo will show up in this README with a link to your website. [Become a sponsor!](https://opencollective.com/tabler#sponsor)

<a href="https://opencollective.com/tabler/tiers/sponsor/0/website" target="_blank"><img src="https://opencollective.com/tabler/tiers/sponsor/0/avatar.svg" /></a>
<a href="https://opencollective.com/tabler/tiers/sponsor/1/website" target="_blank"><img src="https://opencollective.com/tabler/tiers/sponsor/1/avatar.svg" /></a>
<a href="https://opencollective.com/tabler/tiers/sponsor/2/website" target="_blank"><img src="https://opencollective.com/tabler/tiers/sponsor/2/avatar.svg" /></a>
<a href="https://opencollective.com/tabler/tiers/sponsor/3/website" target="_blank"><img src="https://opencollective.com/tabler/tiers/sponsor/3/avatar.svg" /></a>
<a href="https://opencollective.com/tabler/tiers/sponsor/4/website" target="_blank"><img src="https://opencollective.com/tabler/tiers/sponsor/4/avatar.svg" /></a>
<a href="https://opencollective.com/tabler/tiers/sponsor/5/website" target="_blank"><img src="https://opencollective.com/tabler/tiers/sponsor/5/avatar.svg" /></a>
<a href="https://opencollective.com/tabler/tiers/sponsor/6/website" target="_blank"><img src="https://opencollective.com/tabler/tiers/sponsor/6/avatar.svg" /></a>
<a href="https://opencollective.com/tabler/tiers/sponsor/7/website" target="_blank"><img src="https://opencollective.com/tabler/tiers/sponsor/7/avatar.svg" /></a>
<a href="https://opencollective.com/tabler/tiers/sponsor/8/website" target="_blank"><img src="https://opencollective.com/tabler/tiers/sponsor/8/avatar.svg" /></a>
<a href="https://opencollective.com/tabler/tiers/sponsor/9/website" target="_blank"><img src="https://opencollective.com/tabler/tiers/sponsor/9/avatar.svg" /></a>
P
Paweł Kuna 已提交
65

C
codecalm 已提交
66

A
Anton 已提交
67
## Setup environment
C
chomik 已提交
68

M
Martyna 已提交
69
To use our build system and run our documentation locally, you'll need a copy of Tabler's source files. Follow the steps below:
A
Anton 已提交
70 71 72

1. [Install Node.js](https://nodejs.org/download/), which we use to manage our dependencies.
2. Navigate to the root `/tabler` directory and run `npm install` to install our local dependencies listed in `package.json`.
73
3. [Install Ruby](https://www.ruby-lang.org/en/documentation/installation/) - the recommended version is [2.7.6](https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.6.tar.gz).
M
Martyna 已提交
74
4. [Install Bundler](https://bundler.io) with `gem install bundler` and finally run `bundle install`. It will install all Ruby dependencies, such as [Jekyll and plugins](https://jekyllrb.com).
75

N
Nejc 已提交
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
**OSX users**:
0. NPM ```npm install```
1. install Ruby (2.5.* recommended)
	```brew install ruby @2.5```
2. install bundler
	```gem install bundler```
3. install
	```bundle install```
- if bundler get any errors try
```
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
```
4. Run NPM
	```npm run start```


93
**Windows users**:
C
codecalm 已提交
94

95 96
1. [Install Git](https://git-scm.com/download/win) in `C:\Program Files\git\bin` directory and run `npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe"` to change the default shell.
2. [Install Ruby+Devkit](https://rubyinstaller.org/downloads/) - the recommended version is [2.7.6](https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.7.6-1/rubyinstaller-devkit-2.7.6-1-x64.exe).
A
Anton 已提交
97
3. [Read guide](https://jekyllrb.com/docs/installation/windows/) to get Jekyll up and running without problems.
98

M
Martyna 已提交
99
Once you complete the setup, you'll be able to run the various commands provided from the command line.
A
Anton 已提交
100

C
codecalm 已提交
101

A
Anton 已提交
102 103
## Build locally

104 105 106 107 108 109 110 111
You need to have `npm` and `bundler` installed.

1. From the root `/tabler` directory, run installation in the command line:
  - `npm install` 
  - `bundler install` 
2. Then execute `npm run start-plugins` to start up the application stack.
3. Open [http://localhost:3000](http://localhost:3000) in your browser, and voilà.
4. Any change in the `/src` directory will build the application and refresh the page.
A
Anton 已提交
112

113
**Note**:
O
onagurna 已提交
114
Run `npm run build` for reforms a one off build application without refresh.
A
Anton 已提交
115
Open [http://localhost:3001](http://localhost:3001) to configure the Web server.
C
chomik 已提交
116

117 118 119 120 121 122 123 124 125 126 127 128
## Installation

Tabler is distributed via npm.

```sh
npm install --save @tabler/core
```

### CDN support

All files included in `@tabler/core` npm package are available over a CDN.

M
Michal Wolny 已提交
129 130
#### Javascript

131 132 133
```html
<script src="https://unpkg.com/@tabler/core@latest/dist/js/tabler.min.js"></script>
```
C
codecalm 已提交
134

M
Michal Wolny 已提交
135 136 137 138 139 140
#### Styles

```html
<link rel="stylesheet" href="https://unpkg.com/@tabler/core@latest/dist/css/tabler.min.css">
```

C
chomik 已提交
141
## Feature requests
C
chomik 已提交
142

C
chomik 已提交
143
https://tabler.canny.io/feature-requests
C
chomik 已提交
144

C
codecalm 已提交
145

C
chomik 已提交
146 147
## Bugs and feature requests

M
Martyna 已提交
148
Found a bug or have a feature request? [Please open a new issue](https://github.com/tabler/tabler/issues/new).
C
chomik 已提交
149

C
codecalm 已提交
150

C
chomik 已提交
151 152 153 154 155 156 157 158
## Creators

**Paweł Kuna**

- <https://twitter.com/codecalm>
- <https://github.com/codecalm>
- <https://codecalm.net>

C
codecalm 已提交
159

P
Paweł Kuna 已提交
160
### Contributors
C
codecalm 已提交
161

P
Paweł Kuna 已提交
162
This project exists thanks to all the people who contribute.
C
chomik 已提交
163

P
Paweł Kuna 已提交
164
<img src="https://opencollective.com/tabler/contributors.svg?width=890&button=false" />
C
chomik 已提交
165

P
Paweł Kuna 已提交
166
### Backers
C
chomik 已提交
167

P
Paweł Kuna 已提交
168
Thank you to all our backers! 🙏 [Become a backer](https://opencollective.com/tabler#backer)
C
chomik 已提交
169

P
Paweł Kuna 已提交
170
<a href="https://opencollective.com/tabler#backers" target="_blank"><img src="https://opencollective.com/tabler/tiers/backer.svg?width=890&button=false" /></a>
C
codecalm 已提交
171

P
Paweł Kuna 已提交
172 173 174 175 176 177
## Thanks

<a href="https://www.chromatic.com/"><img src="https://user-images.githubusercontent.com/321738/84662277-e3db4f80-af1b-11ea-88f5-91d67a5e59f6.png" width="153" height="30" alt="Chromatic" /></a>

Thanks to [Chromatic](https://www.chromatic.com/) for providing the visual testing platform that helps us review UI changes and catch visual regressions.

P
Paweł Kuna 已提交
178
## License
C
chomik 已提交
179

P
Paweł Kuna 已提交
180
See the [LICENSE](https://github.com/tabler/tabler/blob/master/LICENSE) file.