02-262000
101
7109
1966
36
880
11.3
1954
03
6.08
241
309
7.08
1935
12.20
53
1961
2.16
8011
40204
037
8044
2598
61
8077
1394
538
1061
448
8009
102
8102
1987
044
0051
1968
704
1031
1984
1954
764
1940
9.9
1972
815
4.12
2023
8012
55
1217
584
3221
007
2194
2082
2388
105
56
2025
103
714
1993
954
4.4
1969
2450
91
56
21
716
801
417
602
5618
238
1443
813
9085
47
175
2118
6904
007
4656
388
266
1054
957
104
6104
1995
3.22
1931
727
755
1701
1984
218
908
10
85
1888
27
2879
213
8014
9085
264
5856
1103
05
2071
609
6833
2421
218
802
105
08
2001
713
079
1977
LV
426
105
10
1642
1979
402
795
361
0852
984
815
088
303
9322
26
1294
301
5404
1018
933
57
3891
106
31
2017
429
65
871
24
541
656
M
113
12.6
27
05
85
12.25
7884
8016
585
227
0483
210
6885
107
4154
2604
888
2105
377
107
5
2022
784
3304
42
733
1224
5801
23
1015
84
36
029
24
318
12.24
87
363
22
768
9811
723
8675
309
5042
1885
70
8008
108
23
174
91
947
28
527
04
0469
2200
88
1985
540
3121
308
9571
404
8018
795
2705
3281
979
2024
12
018
4895
604
3184
265
03-111968
04-041969
05-1701D
06-071984
07-081940
08-47148
09-081966
10-31

LCARS Buttons

This page is about adding LCARS style buttons to your pages, like the ones you see right above. If you are looking for how to add buttons to the sidebar, please see this page.

HTML for Adding Buttons

You may want to add some LCARS style buttons to your web pages and it's really easy to do.

HTML
<div class="buttons">
  <a href="url">button 01</a>
</div>

Output

Every <a> tag (hyperlink) inside the "buttons" div becomes a button.

<div class="buttons">
  <a href="url">button 01</a>
  <a href="url">button 02</a>
  <a href="url">button 03</a>
</div>

Change Button Color

Note: The method to change a button's color depends on which version of LCARS you are running.

Version 24

<div class="buttons">
  <a href="url">default color</a>
  <a href="url" class="button-almond-creme">almond-creme</a>
  <a href="url" class="button-bluey">bluey</a>
</div>

Note: For previous versions (before Version 24) simply drop the *button-* before the color name.

There are several color options which you will find in the Color Guide along with their class names.

NOTE: Any text you place in a button in HTML will automatically display in uppercase letters.

Button Layouts

Use the following class selectors (shown in orange) in the parent *buttons* DIV to position a button or group of buttons. Note that buttons will wrap at smaller viewport sizes. Positioning classes work in all themes.

center one or more buttons

jc-center
Note: *jc* stands for justify content.

Buttons that Align to the Right

jc-flex-end
Note: Buttons align to the left by default.

a group of buttons that are spaced evenly

jc-space-evenly
Buttons are distributed so that the spacing between any two adjacent alignment buttons, before the first alignment button, and after the last alignment button is the same.

a group of buttons that fill a line

jc-space-between
Buttons are evenly distributed in the line; first button is on the start of the line, last button on the end of the line.

a group of equally spaced buttons

jc-space-around
Buttons are evenly distributed in the line with equal space around them.

<div class="buttons">
  <a href="some-url" class="blink">enable</a>
</div>

NOTE: For usability, the blinking stops on mouseover.

page last updated november 23, 2024

Copyright © 2020-2025 TheLCARS.com
STAR TREK ® and related marks are trademarks of CBS Studios Inc. All rights reserved.
TheLCARS.com is in no way affiliated with CBS Studios Inc.
LCARS was designed by graphic artist Michael Okuda.