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/novavega
The classic shadcn/ui look.
@semantic-components/styles/vegamaia
Soft and rounded, with generous spacing.
@semantic-components/styles/maialyra
Boxy and sharp. Pairs well with mono fonts.
@semantic-components/styles/lyramira
Compact. Made for dense interfaces.
@semantic-components/styles/miraluma
Rounded geometry. Soft elevation. Breathable layouts.
@semantic-components/styles/lumasera
Minimal. Editorial. Typographic. Underline controls and uppercase headings.
@semantic-components/styles/serarhea
A more compact Luma. Smaller spacing, denser surfaces.
@semantic-components/styles/rheaStyles 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.cssand<style>/typeset-variables.css— shadcn's typeset, for prose underscTypeset.scrollbar.cssand<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 ownpdf_viewer.css, if you use it.