Skip to content
Prism UI Kit

Tailwind CSS · Light & dark

Components that feel crafted, not generated.

Prism is a copy-paste UI kit: 26 component demos, 4 page blocks and design tokens in JSON, CSS and a Tailwind preset. Plain HTML, no framework required.

Demos
26
Blocks
4
Themes
2
Floating glass interface cards in violet, pink and cyan

01 · Foundations

The building blocks

Tokens shared by every component. Change them once in the preset and the whole kit follows.

Color

Brand violet with cyan and pink accents, plus slate neutrals.

Brand · violet

  • 50

  • 100

  • 200

  • 300

  • 400

  • 500

  • 600

  • 700

  • 800

  • 900

Accent · cyan

  • 50

  • 100

  • 200

  • 300

  • 400

  • 500

  • 600

  • 700

  • 800

  • 900

Accent · pink

  • 50

  • 100

  • 200

  • 300

  • 400

  • 500

  • 600

  • 700

  • 800

  • 900

Neutral · slate

  • 50

  • 100

  • 200

  • 300

  • 400

  • 500

  • 600

  • 700

  • 800

  • 900

Typography

Geist for UI and text, Geist Mono for code and numbers.

Display Prism

Heading · 30 / semibold

Title · 20 / medium

Body · 16 / regular. Clean, neutral text that stays readable in long paragraphs and in dense interfaces.

mono · 14 · const theme = "prism";

Radius & elevation

Soft corners and layered, tinted shadows.

lg · xs
xl · card
2xl · pop
3xl · glow
full

02 · Actions

Buttons & badges

Every button has hover, active and focus states and works with a keyboard.

Button variants

Primary, secondary, ghost, gradient and destructive.

Sizes, icons & states

Small to large, icon-only, loading and disabled.

Button group & segmented control

Grouped actions and a radio-based segmented switch.

Billing

Badges & chips

Status pills, counters and removable chips.

NewActivePendingFailed v2.0 9 Design

03 · Forms

Inputs & controls

Consistent sizing, clear focus rings and helpful error states.

Text inputs

Label, hint, leading icon, add-on and error state.

Select, search & textarea

Native elements, styled consistently.

Checkbox, radio, switch & slider

Accessible controls built on real inputs.

Notifications

Dropzone & one-time code

File upload area and a 6-digit code input with auto-advance.

Verification code

Type a digit and focus moves to the next box.

04 · Cards

Cards

Surfaces for pricing, people, content and metrics.

Pricing card

Highlighted plan with a feature list.

Pro

Popular

$24/ month

Sample plan and price

  • Unlimited projects
  • Team workspaces
  • Priority support

Profile card

Avatar, bio and actions.

Nia Okoye

Product designer · sample profile

Stat cards

KPI tiles with an animated sparkline. Values are sample data.

Visitors

12.4k

+8.2%

Conversion

3.6%

+0.4 pt

Refunds

18

−3

06 · Feedback

Feedback

Tell people what is happening, what worked and what to do next.

Alerts

Info, success, warning and error messages.

Heads up

A new version of the kit is ready.

Saved

Your changes were saved.

Check your plan

You have used most of your storage.

Payment failed

Update your card to continue.

Progress, skeleton & spinner

Loading states that keep layouts stable.

Uploading72%

Processing

Loading data…

Toasts & empty state

Click a button to fire a toast; empty states guide the next step.

No projects yet

Create your first project to get started.

07 · Overlays

Overlays & disclosure

Dialogs, menus, tooltips and accordions.

Accordion

Built on native details/summary, no JavaScript needed.

Does it work without JavaScript?

Most components do. Tabs, toasts, the dialog and theme toggle use a small vanilla script.

Can I change the colors?

Yes. Edit the brand scale in tokens/prism-preset.cjs and rebuild the CSS.

Is there dark mode?

Every component ships with dark styles using Tailwind's class strategy.

08 · Data display

Data display

Tables and avatars for lists of people and things.

Table

Responsive table with avatars and status. Sample people and projects.

OwnerProjectStatusUpdatedActions
Ava BrennanDesign systemActive12 Oct
Jun ParkCheckout flowReview9 Oct
Nia OkoyeMobile appActive3 Oct
Omar HaddadMarketing sitePaused28 Sep

Avatars

Sizes, status dots and a stacked group.

Jun Park Ava Brennan OH Ava BrennanJun ParkNia OkoyeOmar Haddad+5

09 · Tokens

Design tokens

One source of truth in three formats. Open the files to see exactly what is included.