A to Z index
Every public mixin and function of @nuvoui/core, read from the doc blocks in the source when the site is built. Public means exported by index.scss, the module you load with @use "@nuvoui/core". The registry functions behind apply() are not listed separately; each one stands for the mixin of the same name.
360 public items: 341 mixins and 19 functions.
| Page | Items |
|---|---|
| Functions | 19 |
| Layout mixins | 64 |
| Utility mixins | 249 |
| Tool and theme mixins | 28 |
A
absolutemixin: Sets position to absolute, removing the element from the normal document flow.absolute-centermixin: Centers an element absolutely within its positioned parent using top and left 50% and a -50% translate.adaptive-contrastmixin: Sets background-color and the higher contrast text colour, both computed at compile time; under prefers-contrast: more the background moves away from the text colour (darker under light text, lighter under dark text) for a higher ratio.alignmixin: Sets align-items, aligning grid items along the block axis of their cells. Grid only: for flex containers use the x-* mixins (x-center, x-start).align-baselinemixin: Sets vertical-align to baseline (inline and table cell content).align-bottommixin: Sets vertical-align to bottom (inline and table cell content).align-middlemixin: Sets vertical-align to middle (inline and table cell content).align-topmixin: Sets vertical-align to top (inline and table cell content).animate-bouncemixin: Sets an animation that moves the element to a horizontal and vertical offset and back, and emits its keyframes once.animate-fademixin: Sets a fade animation of type in, out, in-up or in-down (the up and down types also slide 20px), and emits its keyframes once; any other type raises an error.animate-pingmixin: Sets an animation that scales the element up while fading it out, and emits its keyframes once.animate-pulsemixin: Sets an animation that fades opacity between a maximum and a minimum, and emits its keyframes once.animate-shakemixin: Sets a horizontal shake animation of the given intensity, and emits its keyframes once per intensity and unit (5px and 5rem get separate keyframes).animate-spinmixin: Sets a full 360 degree rotation animation (any direction other than normal spins backwards), and emits its keyframes once.applymixin: Applies NuvoUI mixins by name in one call; each item may be followed by one state (hover, focus) and one breakpoint (sm, md, lg), which wrap it in &:state (group-hover: .group:hover &) and media-up().apply-transformmixin: Writes the transform property that combines every --nu-translate-*, --nu-rotate, --nu-skew-* and --nu-scale-* variable; the transform mixins include it.aroundmixin: Sets justify-content to space-around, giving each item equal space on both sides.aspect-ratiomixin: Sets the aspect-ratio property from a width and height (emitted as 16 / 9), a single number, auto, calc() or var(); anything else raises an error.auto-fillmixin: Creates as many columns of at least `$min-width` as fit, keeping empty tracks so items keep their column width.auto-fitmixin: Creates as many columns of at least `$min-width` as fit, collapsing empty tracks so items stretch to fill the row.
B
backdrop-blurmixin: Sets the --nu-backdrop-blur variable to blur() with a configured key or a validated raw value; it has no visible effect without backdrop-layer.backdrop-brightnessmixin: Sets the --nu-backdrop-brightness variable to brightness() with a configured key or a validated raw value; it has no visible effect without backdrop-layer.backdrop-contrastmixin: Sets the --nu-backdrop-contrast variable to contrast() with a configured key or a validated raw value; it has no visible effect without backdrop-layer.backdrop-crystalmixin: Applies the crystal preset (blur(8px) saturate(150%)) directly to backdrop-filter, so no backdrop-layer is needed.backdrop-dark-glassmixin: Applies the dark glass preset (blur(8px) saturate(180%) brightness(70%) contrast(90%)) directly to backdrop-filter, so no backdrop-layer is needed.backdrop-filtermixin: Sets backdrop-filter to the given value as written, replacing any composed or preset filter.backdrop-frostedmixin: Applies the frosted preset (blur(8px) saturate(90%) brightness(120%)) directly to backdrop-filter, so no backdrop-layer is needed.backdrop-glassmixin: Applies the glass preset (blur(8px) saturate(120%) contrast(90%)) directly to backdrop-filter, so no backdrop-layer is needed.backdrop-grayscalemixin: Sets the --nu-backdrop-grayscale variable to grayscale() with a configured key or a validated raw value; it has no visible effect without backdrop-layer.backdrop-hue-rotatemixin: Sets the --nu-backdrop-hue-rotate variable to hue-rotate() with a configured key or a validated raw value; it has no visible effect without backdrop-layer.backdrop-invertmixin: Sets the --nu-backdrop-invert variable to invert() with a configured key or a validated raw value; it has no visible effect without backdrop-layer.backdrop-layermixin: Resets every backdrop filter variable to its identity value and writes the backdrop-filter that combines them; include it before the filter mixins.backdrop-mattemixin: Applies the matte preset (blur(20px) saturate(90%) brightness(90%)) directly to backdrop-filter, so no backdrop-layer is needed.backdrop-nonemixin: Removes the backdrop filter and returns the --nu-backdrop-* variables to their identity values, so a later composed filter stays valid.backdrop-saturatemixin: Sets the --nu-backdrop-saturate variable to saturate() with a configured key or a validated raw value; it has no visible effect without backdrop-layer.backdrop-sepiamixin: Sets the --nu-backdrop-sepia variable to sepia() with a configured key or a validated raw value; it has no visible effect without backdrop-layer.betweenmixin: Sets justify-content to space-between, spreading items with the free space between them.bgmixin: Sets background-color from a role, palette name, theme word or colour, emitting the matching var(--nu-*) token.blockmixin: Sets display to block.bordermixin: Draws a border on all sides with a width key, a style and a colour that defaults to the border-regular token.border-allmixin: Draws a border on all sides with a width, a style and a colour, all required; the same output as border() with every argument given.border-bottommixin: Draws a border on the bottom side in the border-regular colour unless a colour is given.border-colormixin: Sets border-color from a role, palette name, theme word or colour, emitting the matching var(--nu-*) token.border-endmixin: Draws a border on the inline end side (right in LTR, left in RTL) in the border-regular colour unless a colour is given.border-leftmixin: Draws a border on the left side (physical) in the border-regular colour unless a colour is given.border-rightmixin: Draws a border on the right side (physical) in the border-regular colour unless a colour is given.border-startmixin: Draws a border on the inline start side (left in LTR, right in RTL) in the border-regular colour unless a colour is given.border-stylemixin: Sets --nu-border-style, which changes the style of borders drawn by border(), border-top() and the other side mixins on the same element.border-topmixin: Draws a border on the top side in the border-regular colour unless a colour is given.bottommixin: Sets the physical bottom offset from the spacing scale or a raw value.break-allmixin: Allows line breaks between any two characters (word-break: break-all).break-normalmixin: Resets overflow-wrap and word-break to normal line breaking.break-wordsmixin: Lets long words break onto the next line when they would overflow (overflow-wrap: break-word).
C
capitalizemixin: Capitalizes the first letter of each word.centermixin: Sets justify-content to center, centring items on the main axis.colmixin: Sets flex-direction to column; applies to a flex container.col-endmixin: Sets grid-column-end, the column line where the item ends.col-reversemixin: Sets flex-direction to column-reverse; applies to a flex container.col-spanmixin: Makes a grid item span a number of columns.col-startmixin: Sets grid-column-start, the column line where the item begins.collapsemixin: Sets visibility to collapse, which removes table rows and columns without changing table layout.colsmixin: Sets grid-template-columns to a number of equal columns that can shrink below their content width.cols-custommixin: Sets grid-template-columns to a custom track list, with underscores standing in for spaces.containermixin: Builds a centred, full-width container whose max-width steps up at each breakpoint (breakpoint width minus 100px), with block padding of spacing key 4 (top and bottom only, as in v1).container-basemixin: Makes an element full width and centres it on the inline axis (margin-inline: auto).container-betweenmixin: Applies styles when the container width is from the lower breakpoint up to just below the upper breakpoint (upper minus 0.02px).container-downmixin: Applies styles when the container is narrower than the given breakpoint (max-width of the breakpoint minus 0.02px).container-namemixin: Sets container-name so container queries can target this container by name.container-onlymixin: Applies styles only while the container is between the given breakpoint and the next larger one (minus 0.02px); the largest breakpoint has no upper limit.container-paddingmixin: Sets padding-top and padding-bottom to the same spacing value.container-querymixin: Applies styles when the container is at least the given width; a breakpoint name or a length resolves like container-up(), and calc() is used as is.container-typemixin: Sets container-type so the element becomes a query container.container-upmixin: Applies styles when the container is at least the given breakpoint width (min-width container query).contentsmixin: Sets display to contents, so the element box disappears and its children join the parent layout.create-color-scale()function: Returns the OKLCH shade scale (50 to 950) of a colour value, precomputed for the default role and palette colours and generated for any other; the value is shaded directly and never re-read as a palette name, so "blue" is CSS blue.cursormixin: Sets the cursor property to a CSS cursor keyword, or to a value holding a function such as url() or var(); any other word raises an error.
D
dark-modemixin: Applies styles where the dark theme tokens resolve: on and under the elements a dark-valued theme block matches (data-theme="dark", data-theme="inverse" on a light page, a nested inverse section, and :root without data-theme when the OS is dark), stopping at a nested data-theme section that resolves light.dark-thememixin: Emits the dark theme token custom properties (--nu-*), including computed text-on-{role} and the error aliases of danger.delaymixin: Sets transition-delay from a $delays key or a raw time; delays are not tokens, so a key gives its configured time.display-modemixin: Applies styles when the page runs in the given Progressive Web App display mode.durationmixin: Sets transition-duration from a $durations key, emitted as var(--nu-duration-*), or a raw time.dvhmixin: Sets height to 100dvh where supported and to 100vh otherwise, each inside an @supports block.
E
easemixin: Sets transition-timing-function from a $timing-functions key, emitted as var(--nu-ease-*), or a raw timing function.ease-inmixin: Sets transition-timing-function to the in key, var(--nu-ease-in).ease-in-outmixin: Sets transition-timing-function to the in-out key, var(--nu-ease-in-out).ease-linearmixin: Sets transition-timing-function to the linear key, var(--nu-ease-linear).ease-outmixin: Sets transition-timing-function to the out key, var(--nu-ease-out).elevationmixin: Sets a shadow and a matching z-index for levels 1 to 5 (sm, md, lg, xl, monster); other levels raise an error.endmixin: Sets justify-content to flex-end, packing items at the end of the main axis.ensure-keyframesmixin: Emits an @keyframes rule with the given name once per compilation, at the root of the stylesheet (outside @media, @supports, @container and @scope, inside any @layer); later calls with the same name emit nothing.evenlymixin: Sets justify-content to space-evenly, making every gap between and around items equal.
F
feature-enabled()function: Whether utility classes for a feature are generated: requires $generate-utility-classes and a feature flag that is on (a feature missing from $feature-flags counts as on).fillmixin: Sizes a flex child to span a number of columns out of `$column-count` (12 by default), subtracting the container gap from `--nu-flex-gap`.fill-automixin: Sets flex to 1 1 auto so the item starts at its content size, then grows and shrinks.fill-fullmixin: Sets flex to 0 0 100% so the item takes a full row and neither grows nor shrinks.find-text-color()function: Picks whichever of two text colours has the higher WCAG contrast against the background, by default the light theme text-regular and text-inverted; a transparent background raises an error.fine-pointermixin: Applies styles on devices with a precise pointer such as a mouse (pointer: fine).fix-units()function: Adds a unit to a unitless number or numeric string; values with a unit, CSS keywords and null pass through, and other types raise an error.fixedmixin: Sets position to fixed, placing the element relative to the viewport.flexmixin: Sets display to flex, establishing a flex container.flow-colmixin: Sets grid-auto-flow to column, placing items column by column; same as the `.flow-col` class.flow-densemixin: Sets grid-auto-flow to dense so later items back-fill earlier gaps; same as the `.flow-dense` class.flow-rowmixin: Sets grid-auto-flow to row, placing items row by row; same as the `.flow-row` class.fontmixin: Sets font-weight from a $font-weights key (bold gives var(--nu-font-weight-bold)) or a unitless number from 1 to 1000; anything else raises an error.font-sizemixin: Sets font-size from a $font-sizes key (lg gives var(--nu-font-size-lg)) or a raw value; an unknown key or unitless number raises an error.
G
gapmixin: Sets gap on a flex or grid container and passes it to direct children as --nu-flex-gap for fill() widths.gap-xmixin: Sets column-gap on a flex or grid container and passes it to direct children as --nu-flex-gap for fill() widths.gap-ymixin: Sets row-gap on a flex or grid container; --nu-flex-gap is not set because it only feeds inline widths.generate-backdrop-filter-utilitiesmixin: Emits the backdrop utility classes (layer, filters, presets, none), with an @breakpoint suffix when a breakpoint is given.get-breakpoint-value()function: Resolves a breakpoint name from $breakpoints to its width; a length passes through, and a unitless number that is not a breakpoint name or an unknown name raises an error.get-color()function: Returns a real colour value for Sass maths from a role, palette name or colour value at a shade stop; role and palette names win over CSS named colours, and var() or an invalid stop raises an error.get-css-var()function: Normalises a var() reference given as a string (quoted or not) into a var() value; any other value raises an error.get-rounded-value()function: Resolves a border radius: a $border-radii key gives its token, null gives the md token, and values with units stay raw.get-type()function: Classifies a value as null, color, number, boolean, list, map, css-var, state, breakpoint, font-weight, border-radius, css-keyword, css-function or string.gradientmixin: Sets background-image to a linear-gradient with the given direction and colour stops; colour names resolve like bg() (roles, palette names, theme words), other colours and positions are written as passed.gridmixin: Sets display to grid, establishing a grid container.grid-col-atmixin: Sets grid-column to place an item across columns.grid-place-atmixin: Sets grid-column and grid-row together to place an item in the grid.grid-row-atmixin: Sets grid-row to place an item across rows.growmixin: Sets flex to 1 1 0% so the item grows and shrinks from a zero base, sharing space equally with other grow items.grow-onlymixin: Sets flex to 1 0 auto so the item grows from its content size but never shrinks.
H
h-automixin: Sets height to auto.h-fitmixin: Sets height to fit-content.h-fullmixin: Sets height to 100%.h-maxmixin: Sets height to max-content.h-minmixin: Sets height to min-content.h-screenmixin: Sets height to 100dvh, the full dynamic viewport height.heightmixin: Sets height from a spacing key, a percentage key, a sizing keyword or a raw value; negative keys and unknown words raise an error.height-percentmixin: Sets height as a percentage from a unitless number or a percentage; any other value raises an error.hidemixin: Sets display to none.high-contrastmixin: Wraps styles in a forced-colors: active media query (Windows high contrast and other forced colour modes).hover-readymixin: Adds a transition on all properties with the default duration and easing tokens ($transition-default-duration, $transition-default-ease) so hover changes animate.
I
inlinemixin: Sets display to inline.inline-blockmixin: Sets display to inline-block.inline-flexmixin: Sets display to inline-flex, establishing an inline flex container.inline-gridmixin: Sets display to inline-grid, establishing an inline grid container.insetmixin: Sets the inset shorthand (top, right, bottom and left) to one value.inset-automixin: Sets the inset shorthand to auto on all four sides.inset-endmixin: Sets inset-inline-end, which is the right offset in LTR and the left offset in RTL.inset-startmixin: Sets inset-inline-start, which is the left offset in LTR and the right offset in RTL.inset-xmixin: Sets the physical left and right offsets to one value.inset-x-automixin: Sets the physical left and right offsets to auto.inset-ymixin: Sets the top and bottom offsets to one value.inset-y-automixin: Sets the top and bottom offsets to auto.invisiblemixin: Sets visibility to hidden, keeping the element in the layout.is-css-var()function: Whether a value is a var() reference.italicmixin: Sets the font style to italic.
J
justifymixin: Sets justify-items, aligning grid items along the inline axis of their cells. Grid only: for flex containers use the flex justify mixins (start, center, between).
L
landscapemixin: Applies styles in landscape orientation ((orientation: landscape) media query, no screen and).leadingmixin: Sets line-height from a $line-heights key (tight gives var(--nu-line-height-tight)) or a raw value; negative or unknown values raise an error.leading-loosemixin: Sets line-height to the loose key (var(--nu-line-height-loose)); raises an error if the key is missing from $line-heights.leading-nonemixin: Sets line-height to the none key (var(--nu-line-height-none)); raises an error if the key is missing from $line-heights.leading-normalmixin: Sets line-height to the normal key (var(--nu-line-height-normal)); raises an error if the key is missing from $line-heights.leading-relaxedmixin: Sets line-height to the relaxed key (var(--nu-line-height-relaxed)); raises an error if the key is missing from $line-heights.leading-snugmixin: Sets line-height to the snug key (var(--nu-line-height-snug)); raises an error if the key is missing from $line-heights.leading-tightmixin: Sets line-height to the tight key (var(--nu-line-height-tight)); raises an error if the key is missing from $line-heights.leftmixin: Sets the physical left offset from the spacing scale or a raw value.line-throughmixin: Draws a line through text.lowercasemixin: Transforms text to lowercase.
M
mmixin: Sets margin on all sides from a spacing key, a negative key, auto or a raw value.max-h-fullmixin: Sets max-height to 100%.max-heightmixin: Sets max-height from a spacing key, a percentage key, a sizing keyword, none or a raw value; negative keys and unknown words raise an error.max-height-percentmixin: Sets max-height as a percentage from a unitless number or a percentage; any other value raises an error.max-w-fullmixin: Sets max-width to 100%.max-widthmixin: Sets max-width from a spacing key, a percentage key, a breakpoint name, a sizing keyword, none or a raw value; negative keys and unknown words raise an error.max-width-percentmixin: Sets max-width as a percentage from a unitless number or a percentage; any other value raises an error.mbmixin: Sets margin-bottom from a spacing key, a negative key, auto or a raw value.memixin: Sets margin-inline-end (right in LTR, left in RTL) from a spacing key, a negative key, auto or a raw value.me-automixin: Sets margin-inline-end to auto, pushing the element to the inline start in a flex row.media-betweenmixin: Applies styles from the lower breakpoint up to just below the upper breakpoint (upper minus 0.02px).media-downmixin: Applies styles below the given breakpoint (max-width of the breakpoint minus 0.02px).media-onlymixin: Applies styles only between the given breakpoint and the next larger one (minus 0.02px); the largest breakpoint has no upper limit.media-upmixin: Applies styles from the given breakpoint width upwards (min-width media query, no screen and).min-h-fullmixin: Sets min-height to 100%.min-heightmixin: Sets min-height from a spacing key, a percentage key, a sizing keyword or a raw value; negative keys and unknown words raise an error.min-height-percentmixin: Sets min-height as a percentage from a unitless number or a percentage; any other value raises an error.min-w-fullmixin: Sets min-width to 100%.min-widthmixin: Sets min-width from a spacing key, a percentage key, a breakpoint name, a sizing keyword or a raw value; negative keys and unknown words raise an error.min-width-percentmixin: Sets min-width as a percentage from a unitless number or a percentage; any other value raises an error.mlmixin: Sets margin-left (physical, does not follow text direction) from a spacing key, a negative key, auto or a raw value.ml-automixin: Sets margin-left to auto (physical), pushing the element to the right in a flex row.mrmixin: Sets margin-right (physical, does not follow text direction) from a spacing key, a negative key, auto or a raw value.mr-automixin: Sets margin-right to auto (physical), pushing the element to the left in a flex row.msmixin: Sets margin-inline-start (left in LTR, right in RTL) from a spacing key, a negative key, auto or a raw value.ms-automixin: Sets margin-inline-start to auto, pushing the element to the inline end in a flex row.mtmixin: Sets margin-top from a spacing key, a negative key, auto or a raw value.mxmixin: Sets margin on the inline start and end (margin-inline), following text direction.mx-automixin: Centers a block element on the inline axis with margin-inline: auto.mymixin: Sets margin on the block start and end (margin-block), top and bottom in horizontal writing modes.
N
no-growmixin: Sets flex to none so the item keeps its size and neither grows nor shrinks.no-shrinkmixin: Sets flex-shrink to 0 so the item never shrinks below its size.no-underlinemixin: Removes text decoration.normal-casemixin: Removes any text transform.not-italicmixin: Resets the font style to normal.nowrapmixin: Sets flex-wrap to nowrap so items stay on one line; applies to a flex container.
O
opacitymixin: Sets opacity from a $opacities key, emitted as var(--nu-opacity-*) as in .opacity-50, or passes a percentage, calc(), var() or CSS-wide keyword through; a bare 0.5 raises an error.originmixin: Sets transform-origin from an $origin-values key (top-left gives top left, matching .origin-top-left) or a transform-origin value.overflow-automixin: Sets overflow to auto on both axes.overflow-hiddenmixin: Sets overflow to hidden on both axes.overflow-labelmixin: Truncates a flex or grid child to one line; min-width 0 lets it shrink below its content width.overflow-scrollmixin: Sets overflow to scroll on both axes.overflow-visiblemixin: Sets overflow to visible on both axes.overflow-x-automixin: Sets overflow-x to auto (horizontal axis).overflow-x-hiddenmixin: Sets overflow-x to hidden (horizontal axis).overflow-x-scrollmixin: Sets overflow-x to scroll (horizontal axis).overflow-y-automixin: Sets overflow-y to auto (vertical axis).overflow-y-hiddenmixin: Sets overflow-y to hidden (vertical axis).overflow-y-scrollmixin: Sets overflow-y to scroll (vertical axis).
P
pmixin: Sets padding on all sides from a spacing key or a raw value.pbmixin: Sets padding-bottom from a spacing key or a raw value.pemixin: Sets padding-inline-end (right in LTR, left in RTL) from a spacing key or a raw value.pillmixin: Rounds all corners fully with the full radius token, var(--nu-radius-full).plmixin: Sets padding-left (physical, does not follow text direction) from a spacing key or a raw value.placemixin: Sets place-items, aligning grid items on both axes of their cells at once. Grid only.portraitmixin: Applies styles in portrait orientation ((orientation: portrait) media query, no screen and).prmixin: Sets padding-right (physical, does not follow text direction) from a spacing key or a raw value.prefers-darkmixin: Wraps styles in a prefers-color-scheme: dark media query, following the OS setting only (data-theme is ignored).printmixin: Wraps styles in a print media query.psmixin: Sets padding-inline-start (left in LTR, right in RTL) from a spacing key or a raw value.ptmixin: Sets padding-top from a spacing key or a raw value.pxmixin: Sets padding on the inline start and end (padding-inline), following text direction.pymixin: Sets padding on the block start and end (padding-block), top and bottom in horizontal writing modes.
R
reduced-motionmixin: Wraps styles in a prefers-reduced-motion: reduce media query.relativemixin: Sets position to relative, creating a positioning context for absolute children.responsive-typographymixin: Emits the typography utility classes (size, weight, line height, alignment, transform, style, decoration, tracking), suffixed with @breakpoint when a breakpoint is given.rightmixin: Sets the physical right offset from the spacing scale or a raw value.rotatemixin: Rotates the element by setting --nu-rotate and writing the combined transform.roundedmixin: Rounds all corners with a $border-radii key (md when omitted) or a raw length.rounded-bmixin: Rounds the bottom left and bottom right corners with a $border-radii key (md when omitted) or a raw length.rounded-blmixin: Rounds the bottom left corner with a $border-radii key (md when omitted) or a raw length.rounded-brmixin: Rounds the bottom right corner with a $border-radii key (md when omitted) or a raw length.rounded-emixin: Rounds both inline end corners (border-start-end-radius and border-end-end-radius) with a $border-radii key (md when omitted) or a raw length.rounded-eemixin: Rounds the block end, inline end corner (border-end-end-radius) with a $border-radii key (md when omitted) or a raw length.rounded-esmixin: Rounds the block end, inline start corner (border-end-start-radius) with a $border-radii key (md when omitted) or a raw length.rounded-lmixin: Rounds the top left and bottom left corners (physical) with a $border-radii key (md when omitted) or a raw length.rounded-rmixin: Rounds the top right and bottom right corners (physical) with a $border-radii key (md when omitted) or a raw length.rounded-smixin: Rounds both inline start corners (border-start-start-radius and border-end-start-radius) with a $border-radii key (md when omitted) or a raw length.rounded-semixin: Rounds the block start, inline end corner (border-start-end-radius) with a $border-radii key (md when omitted) or a raw length.rounded-ssmixin: Rounds the block start, inline start corner (border-start-start-radius) with a $border-radii key (md when omitted) or a raw length.rounded-tmixin: Rounds the top left and top right corners with a $border-radii key (md when omitted) or a raw length.rounded-tlmixin: Rounds the top left corner with a $border-radii key (md when omitted) or a raw length.rounded-trmixin: Rounds the top right corner with a $border-radii key (md when omitted) or a raw length.rowmixin: Sets flex-direction to row; applies to a flex container.row-endmixin: Sets grid-row-end, the row line where the item ends.row-reversemixin: Sets flex-direction to row-reverse; applies to a flex container.row-spanmixin: Makes a grid item span a number of rows.row-startmixin: Sets grid-row-start, the row line where the item begins.rowsmixin: Sets grid-template-rows to a number of equal rows that can shrink below their content height.
S
safe-area-insetmixin: Sets a property to the device safe area inset for one side, for notches and rounded screens.safe-unit-name()function: Converts a unit to a string that is safe in an identifier (% gives per, . gives dot); used to build unique keyframe names.scalemixin: Scales the element on both axes by setting --nu-scale-x and --nu-scale-y and writing the combined transform.scale-xmixin: Scales the element horizontally by setting --nu-scale-x and writing the combined transform.scale-ymixin: Scales the element vertically by setting --nu-scale-y and writing the combined transform.self-automixin: Sets align-self to auto, so the item follows the container's align-items.self-baselinemixin: Sets align-self to baseline, aligning this item along the text baseline.self-centermixin: Sets align-self to center, centring this item on the cross axis.self-endmixin: Sets align-self to flex-end, aligning this item to the end of the cross axis.self-startmixin: Sets align-self to flex-start, aligning this item to the start of the cross axis.self-stretchmixin: Sets align-self to stretch, stretching this item to fill the cross axis.shadowmixin: Sets box-shadow from a configured size; the default colour emits the var(--nu-shadow-*) token when the theme feature is on, other colours emit a raw shadow.shadow-basemixin: Sets box-shadow from explicit offset, blur, spread and colour values.shadow-insetmixin: Sets an inset box-shadow from a configured size and colour, always as a raw value (no token).showmixin: Sets display to revert, restoring the element's natural display (block for a div, table for a table) after .hide or a responsive hide.shrinkmixin: Sets flex-shrink to 1 so the item can shrink when space runs out.shrink-twicemixin: Sets flex-shrink to 2 so the item shrinks twice as fast as items with flex-shrink 1.skew-xmixin: Skews the element along the x axis by setting --nu-skew-x and writing the combined transform.skew-ymixin: Skews the element along the y axis by setting --nu-skew-y and writing the combined transform.space-xmixin: Adds margin-inline-start to every direct child after the first, spacing children along the inline axis.space-ymixin: Adds margin-block-start to every direct child after the first, spacing children along the block axis (vertically in horizontal writing modes).split()function: Splits a string on a delimiter, ignoring delimiters inside parentheses, and trims each part.startmixin: Sets justify-content to flex-start, packing items at the start of the main axis.staticmixin: Sets position to static, the default document flow.stickymixin: Sets position to sticky with top 0 and z-index 999, so the element stays in view while scrolling.str-replace()function: Replaces every occurrence of $search in $string.str-trim()function: Removes leading and trailing spaces from a string.stretchmixin: Makes the direct children of a flex container share the main axis equally (each child gets flex: 1 1 0%). Takes no argument; when one child must be wider, give it a fill-{n} or no-grow class.strip-quotes()function: Removes one pair of matching single or double quote characters around a string; other values pass through.strip-unit()function: Removes the unit from a number; a non-number raises an error.supportsmixin: Wraps styles in an @supports query for the given declaration; pass it as a quoted string.
T
tablemixin: Sets display to table.table-cellmixin: Sets display to table-cell.table-rowmixin: Sets display to table-row.text-centermixin: Centers text.text-colormixin: Sets color from a role, palette name, theme word or colour, emitting the matching var(--nu-text-*) token.text-endmixin: Aligns text to the inline end: right in LTR, left in RTL.text-justifymixin: Justifies text to both edges.text-leftmixin: Aligns text to the left (physical, does not follow text direction).text-on-colormixin: Sets the text colour for content placed on a filled colour: a role gives its var(--nu-text-on-*) token, anything else the higher contrast text colour computed at compile time.text-rightmixin: Aligns text to the right (physical, does not follow text direction).text-startmixin: Aligns text to the inline start: left in LTR, right in RTL.to-number()function: Converts a string to a number, keeping a trailing CSS unit as a real unit ("12px" gives 12px) or applying $append-unit; other trailing text is dropped and a non-numeric string gives null.to-number-raw()function: Parses the leading number of a string and returns it with the remaining text; a string that does not start with a number gives null.token()function: Returns the var() reference of a v2 token; an unknown name, a --nu- prefixed name or a disabled theme feature raises an error.tooltip-variablesmixin: Emits the tooltip component variables (--nu-tooltip--{Name}); the bubble uses text-regular as background and text-inverted as text, so it contrasts with the page in both themes.topmixin: Sets the physical top offset from the spacing scale or a raw value.touchmixin: Applies styles on touch devices: no hover support and a coarse pointer.trackingmixin: Sets letter-spacing from a key (tighter, tight, normal, wide, wider, widest; raw em values, not tokens) or a raw value; anything else raises an error.tracking-normalmixin: Sets letter-spacing to the normal key (0).tracking-tightmixin: Sets letter-spacing to the tight key (-0.025em).tracking-tightermixin: Sets letter-spacing to the tighter key (-0.05em).tracking-widemixin: Sets letter-spacing to the wide key (0.025em).tracking-widermixin: Sets letter-spacing to the wider key (0.05em).tracking-widestmixin: Sets letter-spacing to the widest key (0.1em).transitionmixin: Transitions every animatable property with the default duration and easing tokens ($transition-default-duration, 200; $transition-default-ease, in-out).transition-colorsmixin: Transitions colour properties (color, background-color, border-color, text-decoration-color, fill, stroke) with the default duration and easing tokens, like transition.transition-nonemixin: Disables transitions by setting transition-property to none.transition-opacitymixin: Transitions opacity only, with the default duration and easing tokens, like transition.transition-shadowmixin: Transitions box-shadow only, with the default duration and easing tokens, like transition.transition-transformmixin: Transitions transform only, with the default duration and easing tokens, like transition.translatemixin: Moves the element on the x axis, and on the y axis when $y is given, then writes the combined transform.translate-xmixin: Moves the element along the x axis by setting --nu-translate-x and writing the combined transform.translate-ymixin: Moves the element along the y axis by setting --nu-translate-y and writing the combined transform.translate-zmixin: Moves the element along the z axis by setting --nu-translate-z and writing the combined transform.truncatemixin: Truncates text to one line with an ellipsis, or to a number of lines like truncate-lines() (truncate(2) matches the .truncate-2 class).truncate-linesmixin: Clamps text to a number of lines with an ellipsis using -webkit-line-clamp.
U
V
visiblemixin: Sets visibility to visible.
W
w-automixin: Sets width to auto.w-fitmixin: Sets width to fit-content.w-fullmixin: Sets width to 100%.w-maxmixin: Sets width to max-content.w-minmixin: Sets width to min-content.w-screenmixin: Sets width to 100vw, the full viewport width.whitespace-normalmixin: Sets white-space to normal, collapsing spaces and wrapping lines.whitespace-nowrapmixin: Prevents text from wrapping (white-space: nowrap).whitespace-premixin: Preserves spaces and line breaks without wrapping (white-space: pre).whitespace-pre-linemixin: Collapses spaces but keeps line breaks (white-space: pre-line).whitespace-pre-wrapmixin: Preserves spaces and line breaks and wraps lines (white-space: pre-wrap).widthmixin: Sets width from a spacing key, a percentage key, a breakpoint name, a sizing keyword or a raw value; negative keys and unknown words raise an error.width-percentmixin: Sets width as a percentage from a unitless number or a percentage; any other value raises an error.wrapmixin: Sets flex-wrap to wrap so items move onto new lines; applies to a flex container.wrap-reversemixin: Sets flex-wrap to wrap-reverse so new lines stack in reverse order; applies to a flex container.
X
x-baselinemixin: Sets align-items to baseline, aligning items along their text baseline.x-centermixin: Sets align-items to center, centring items on the cross axis.x-content-aroundmixin: Sets align-content to space-around, giving each wrapped line equal space on both sides.x-content-betweenmixin: Sets align-content to space-between, spreading wrapped lines with the free space between them.x-content-centermixin: Sets align-content to center, centring wrapped lines on the cross axis.x-content-endmixin: Sets align-content to flex-end, packing wrapped lines at the end of the cross axis.x-content-evenlymixin: Sets align-content to space-evenly, making every gap between and around wrapped lines equal.x-content-startmixin: Sets align-content to flex-start, packing wrapped lines at the start of the cross axis.x-content-stretchmixin: Sets align-content to stretch, stretching wrapped lines to fill the cross axis.x-endmixin: Sets align-items to flex-end, aligning items to the end of the cross axis.x-startmixin: Sets align-items to flex-start, aligning items to the start of the cross axis.x-stretchmixin: Sets align-items to stretch, stretching items to fill the cross axis.
Z
z-automixin: Sets z-index to auto.z-basemixin: Sets z-index to the base level token.z-drawermixin: Sets z-index to the drawer level token.z-dropdownmixin: Sets z-index to the dropdown level token.z-fixedmixin: Sets z-index to the fixed level token.z-hovermixin: Sets z-index to the hover level token.z-indexmixin: Sets z-index from a numbered key (raw value), a named level (var(--nu-z-*) token), an integer, auto, calc() or var(); other values raise an error.z-index-utilitiesmixin: Emits the .z-{key} and .z-{level} classes; with a breakpoint it adds the @breakpoint suffix but does not wrap them in a media query.z-maxmixin: Sets z-index to the max level token.z-modalmixin: Sets z-index to the modal level token.z-overlaymixin: Sets z-index to the overlay level token.z-popovermixin: Sets z-index to the popover level token.z-stickymixin: Sets z-index to the sticky level token.z-toastmixin: Sets z-index to the toast level token.z-tooltipmixin: Sets z-index to the tooltip level token.