Styles

A style is the look of the components: shadcn/ui's eight styles, one entry point each. It holds every component's classes — corners, spacing, sizes, rings, shadows — and leaves the colors to your theme, so any style goes with any theme.

The eight styles

The same card, field, badges and buttons in each. The app picks one when it starts; without one, the components use nova.

nova

Reduced padding and margins for compact layouts. The default.

@semantic-components/styles/nova

Create project

Deploy a new project in one click.

Previewmain

vega

The classic shadcn/ui look.

@semantic-components/styles/vega

Create project

Deploy a new project in one click.

Previewmain

maia

Soft and rounded, with generous spacing.

@semantic-components/styles/maia

Create project

Deploy a new project in one click.

Previewmain

lyra

Boxy and sharp. Pairs well with mono fonts.

@semantic-components/styles/lyra

Create project

Deploy a new project in one click.

Previewmain

mira

Compact. Made for dense interfaces.

@semantic-components/styles/mira

Create project

Deploy a new project in one click.

Previewmain

luma

Rounded geometry. Soft elevation. Breathable layouts.

@semantic-components/styles/luma

Create project

Deploy a new project in one click.

Previewmain

sera

Minimal. Editorial. Typographic. Underline controls and uppercase headings.

@semantic-components/styles/sera

Create project

Deploy a new project in one click.

Previewmain

rhea

A more compact Luma. Smaller spacing, denser surfaces.

@semantic-components/styles/rhea

Create project

Deploy a new project in one click.

Previewmain

Styles and themes

  • The style says how things are drawn: the classes of each component, written out in full as in shadcn/ui's generated code.
  • The theme says in which colors: the CSS variables in your styles.css (--primary, --radius…), light and dark.
  • A style is set when the app starts: switching one means reloading. To change only a few classes, spread a style and replace its keys — Make your own, above, shows how.

CSS files

Beside the eight styles, the package holds the CSS the components can't carry as classes. Those for a style come in two: the rules, the same in every style, and the style's variables.

  • reduced-motion.css — what the components need whatever the theme: with reduced motion asked for, animations keep their fades and lose their movement.
  • typeset.css and <style>/typeset-variables.css — shadcn's typeset, for prose under scTypeset.
  • scrollbar.css and <style>/scrollbar-variables.css — every scrollbar of the page in the style's look.
  • <style>/editor.css — the Editor's document, if you use it.
  • pdf-viewer.css — the PDF Viewer's pages and what pdf.js draws on them (text, links, form fields), in place of pdf.js's own pdf_viewer.css, if you use it.