Installation

Learn how to set up Tabler in your project by creating a basic HTML file, adding Tabler’s CSS and JavaScript, and exploring its powerful components to build responsive and visually stunning web applications.

This guide will take you through the essential steps to set up Tabler in your project, from creating a basic HTML file to incorporating Tabler’s styles and scripts. Let’s dive in!

Step 1: Create a Basic HTML File

Begin by creating a new index.html file in the root of your project. This file will serve as the foundation for your Tabler-based interface. Include the basic HTML structure and a <meta name="viewport"> tag for proper responsiveness:

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Tabler demo</title>
</head>
<body>
  <h1>Hello, world!</h1>
</body>
</html>

Step 2: Add Tabler CSS and JavaScript

Enhance your page by including Tabler’s CSS and JavaScript files. Use the following links to load the core Tabler styles and scripts from the CDN:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/[email protected]/dist/css/tabler.min.css">
<script src="https://cdn.jsdelivr.net/npm/@tabler/[email protected]/dist/js/tabler.min.js"></script>

Update your HTML file to include these resources:

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Tabler Demo</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/[email protected]/dist/css/tabler.min.css">
</head>
<body>
  <h1>Hello, Tabler!</h1>
  <script src="https://cdn.jsdelivr.net/npm/@tabler/[email protected]/dist/js/tabler.min.js"></script>
</body>
</html>

This setup includes the Tabler CSS and JavaScript via a CDN, providing a responsive and functional base for your project.

You can also download the files and include them locally in your project. For more information, see the Download page.

3. Open in Your Browser

Save the file and open it in your browser. You should see your first Tabler-powered page! From here, you can start adding layouts and components to create a fully functional and visually appealing web application.

With these simple steps, you’re ready to explore Tabler’s features and build stunning web interfaces. For inspiration and guidance, you can view live demos at preview.tabler.io and consult our official documentation for detailed instructions and examples.

Do you have a question? ask the community
Do you see a bug? open an issue on GitHub
Do you like Tabler? tweet about it!
Support Tabler's development: Github Sponsors
illustrations banner imageillustrations banner image dark
65 sleek illustrations for your startup's visual identity.