---
title: Installation
order: 1
summary: 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.
description: 'Set up Tabler: HTML, CSS, JS, and build stunning UIs.'
layout: '@layouts/DocsMdxLayout.astro'
---

import Example from '@components/Example.astro'
import CdnImportPackage from '@components/CdnImportPackage.astro'
import { Code } from 'astro:components'
import { site } from '@shared/lib/site.ts'
import Steps from '@components/Steps.astro'

Using a framework? See [Tabler framework integration guides](/ui/getting-started/frameworks).

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!

## Setup

<Steps>

### 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:

```html
<!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>
```

### 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:

<CdnImportPackage />

Update your HTML file to include these resources:

<Code
  lang="html"
  code={`<!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="${site.cdnUrl}/dist/css/tabler.min.css" />
  </head>
  <body>
    <h1>Hello, Tabler!</h1>
    <script src="${site.cdnUrl}/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](/ui/getting-started/download) page.

### 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.

</Steps>

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](https://preview.tabler.io) and consult our [official documentation](https://docs.tabler.io) for detailed instructions and examples.
