The base template for React projects created with the Brightlayer UI CLI.

Usage no npm install needed!

<script type="module">
  import brightlayerUiCraTemplateBlankTypescript from 'https://cdn.skypack.dev/@brightlayer-ui/cra-template-blank-typescript';


Blank Template (TypeScript)

npm (scoped)

This is an official Brightlayer UI template for use with the Create React App CLI. It is also used internally by the Brightlayer UI CLI.

This template installs the basic Brightlayer UI libraries for themes and components and configures the application to use them. It includes a simple placeholder screen that you can replace with your own application content.


This template can be used with Create React App:

npx create-react-app myapp --template @brightlayer-ui/blank-typescript

or using the Brightlayer UI CLI:

npx -p @brightlayer-ui/cli blui new react --name=myapp --language=ts --template=blank

Project Structure

Projects created using this template will start out with the following file structure:

└── /src
    |── index.tsx                           // the root file that renders the application (Theme Provider & CSS Baseline styles)
    └── App.tsx                             // a sample landing page