Luminescent UI Documentation

Get Started

To use the Luminescent UI Tailwind Library, you need to install the package from npm.

pnpm install @luminescent/ui

Once installed, include the following to your tailwind css file

@import '@luminescent/ui';
@plugin "@luminescent/ui/lum-bg";

Once finished, you can use the classes included, shown in the documentation.

Luminescent UI also provides default formatting for various elements

This is mainly for people who would like to easily format Markdown elements, you can add it to your tailwind css file. You can see the formatting in action in the Markdown Documentation.

@import '@luminescent/ui/formatting';

To use the Luminescent UI Qwik Library, you need to install the qwik package from npm in addition to the main package.

pnpm install @luminescent/ui-qwik

Once installed, include the following to your tailwind css file after the previous imports

@config "@luminescent/ui-qwik/config";
@source "../node_modules/@luminescent/ui-qwik";

To use the Luminescent UI React Library, you need to install the react package from npm in addition to the main package.

pnpm install @luminescent/ui-react

Once installed, include the following to your tailwind css file after the previous imports

@source "../node_modules/@luminescent/ui-react";

Luminescent UI Tailwind Components

Classes

Background Classes

lum-bg-<color>/[opacity]

lum-bg (with --bg-color set to a color)

lum-grad-bg-<color>/[opacity] (for gradient backgrounds)

lum-flat-bg-<color>/[opacity] (for flat backgrounds, can also be gradient with lum-flat-grad-bg-<color>/[opacity])

lum-depth-bg-<color>/[opacity] (for depth backgrounds, can also be gradient with lum-depth-grad-bg-<color>/[opacity])

lum-depth-shadow (if you want to add depth to an element without using the full lum-bg utility)

Element Classes

lum-btn lum-card lum-input

Padding Classes

lum-btn-p-<size>

Button

warning: only some classes will work because of the way tailwindcss works

Card

warning: only some classes will work because of the way tailwindcss works

This is a card

This is a description

Input

warning: only some classes will work because of the way tailwindcss works

Luminescent UI Qwik Components

Anchor

The element is in the title

ButtonContainer

A container element for grouping interactive buttons and links with consistent styling

ColorPicker

preview

A dropdown menu component with customizable alignment, trigger mode, and panel position

Label

Adds a consistent label to elements that it wraps

Wrapping element

NumberInput

RangeInput

0

SelectMenu

align
Select Menu

Tabs

A tab bar component for switching views or managing tabbed items with optional add and delete actions

Toggle

warning: only some classes will work because of the way tailwindcss works