Modern and lightweight CSS framework providing a good but small foundation for all types of web applications using the Flexible Box Layout module (Flexbox).
We provide ready-to-use frontend components and layout helpers that are easily combinable to build responsive web applications. Light and dark mode agnostic designs are supported out of the box.
The framework is free to use and optimized for size and load speed. All color and typography choices are easily customizable to your needs.
There is no mandatory Javascript. Modals, accordions, dropdowns, the navbar menu, toggle buttons and even the theme switch in the corner of this page all run on native browser features – <dialog>, <details>, popover and :has().
The single script on this page reads the picked file’s name out of a file input, which no stylesheet can do. Nothing else here needs one.
Download and Usage
Link a pre-built file from a CDN – @1 follows the latest release of this major version:
For production, pin an exact version and add its integrity hash – the notes of every release list them, next to a zip of all 16 files to download.
Or install the package and import the stylesheet once, in your application’s entry point – the README shows where for Vite, Next.js, Nuxt, Angular and SvelteKit:
npm install nuvio
import 'nuvio/dist/nuvio.css'
To change colors, typography, breakpoints or the set of components, compile Nuvio from its Sass sources instead:
@use "nuvio/src/config" with (
$semantic-color-excludes: ("bright", "dim"),
);
@use "nuvio/src/includes-full";
Everything on this page works from Chrome and Edge 135, Firefox 147 and Safari 26.2 on.
Builds as Small as 19 KiB (Base Feature Set)
Nuvio comes as 16 pre-built files: two feature sets in four theme modes, each minified and unminified. The full set holds every component on this page. The base set keeps the layout, the 12-column grid, spacing, boxes, notifications and four semantic colors – enough structure for widgets and server-rendered pages.
The theme mode decides how much of the color system ships: auto follows the system setting and can be overridden, prefer only follows it, light and dark carry one palette each.
File
Feature Set
Theme Mode
Minified
Gzipped
nuvio.min.css
Full
auto
202.0 KiB
23.2 KiB
nuvio-prefer.min.css
Full
prefer
195.0 KiB
23.0 KiB
nuvio-light.min.css
Full
light
191.6 KiB
22.6 KiB
nuvio-dark.min.css
Full
dark
191.6 KiB
22.6 KiB
nuvio-base.min.css
Base
auto
23.6 KiB
4.0 KiB
nuvio-base-prefer.min.css
Base
prefer
20.8 KiB
3.9 KiB
nuvio-base-light.min.css
Base
light
19.3 KiB
3.7 KiB
nuvio-base-dark.min.css
Base
dark
19.3 KiB
3.7 KiB
Smaller still: compile only the modules you use, or strip whatever your pages don’t reference. The minimized bundle demo takes the second route with PurgeCSS and ships its whole stylesheet in 30.8 KiB, 5.6 KiB gzipped – its build pipeline is ready to copy.
The .container class allows designing and responsively aligning the same content for different viewports, devices and screen sizes. They add horizontal padding and keep content from touching the viewport edges and step through max-widths at each breakpoint. There are also fixed-breakpoint variants that lock the container at one specific viewport’s max-width.
In contrast, the .container.is-fluid modifier always spans the full viewport width for maximizing design space.
Nuvio has a biased opinion on which responsive viewports are really relevant in the year 2026, featuring no viewports without actual relevance, a steeper progression between viewports and a larger final viewport. All customizable to your needs though, of course.
.container – resize to see the responsive max-width steps (this page uses it)
100% until 768px("mobile" viewport)736px until 1152px("sm" viewport)1088px until 1600px("md" viewport)1504px until 1920px("lg" viewport)1824px above("xl" viewport)
.container .is-max-[bp] – lock container max-width at a specific viewport, responsive below
container is-max-sm (736px)
container is-max-md (1088px)
container is-max-lg (1504px)
container is-max-xl (1824px)
.container .is-fluid – always spans the full viewport width with horizontal padding only
The container box itself (outer tone) reaches both viewport edges; its content (inner tone) stays inset by the viewport gap, which is the only horizontal padding .is-fluid keeps.
◀ viewport gapcontainer is-fluidviewport gap ▶
Grid System
The grid system allows building responsive layouts in 24 columns.
It allows greater freedom than traditional 12 column grids, is divisible by 12 • 8 • 6 • 4 • 3 and 2 for harmonic ratios, and approximates the golden ratio with 15 + 9 wide columns much closer. The number of columns is easily changeable in custom builds.
Equal-ratio, auto-width.cols in a .row
Columns always collapse to 100% wide rows on the mobile viewport – resize to try
.col
.col (higher)
.col
.col
Fixed-ratio, auto-width.cols with .is-[size]
.col .is-9
.col .is-15
Columns automatically flow to new lines if needed (can be disabled with .row .is-oneline)
.col .is-8
.col .is-12
.col .is-4
.col .is-4
.col .is-4
.col .is-4
Columns can have offsets with .has-offset-[size]
.col .is-4
.col .is-6
.col .is-8 .has-offset-6
Columns can have different ratios for different breakpoints with .is-[size]-[bp] – resize to try
.col .is-12-sm .is-6-md .is-4-lg .is-3-lg
.col .is-12-sm .is-6-md .is-4-lg .is-3-lg
.col .is-12-sm .is-6-md .is-4-lg .is-3-lg
.col .is-12-sm .is-6-md .is-4-lg .is-3-lg
.col .is-12-sm .is-6-md .is-4-lg .is-3-lg
.col .is-12-sm .is-6-md .is-4-lg .is-3-lg
.col .is-12-sm .is-6-md .is-4-lg .is-3-xl
.col (auto width)
Gaps between columns can be set with .row .has-gap-[size]
.has-gap-0
A
B
C
.has-gap-1
A
B
C
.has-gap-2
A
B
C
.has-gap-3
A
B
C
.has-gap-4
A
B
C
.has-gap-5
A
B
C
.has-gap-6
A
B
C
.has-gap-7
A
B
C
.has-gap-8
A
B
C
Each gap has a -mobile variant for below 769px, and it wins over any base gap on the same row – here the stacked columns below the breakpoint sit tightly instead of 8 apart
.has-gap-8 .has-gap-1-mobile
A
B
C
Gaps compose with responsive column widths – the cols below use .is-24 .is-12-sm .is-8-md .is-6-lg .is-3-xl for 1/2/3/4/8 cols per row, combined with .has-gap-5
A
B
C
D
E
F
G
H
Incomplete rows can be horizontally centered with .row .is-centered (instead of leading aligned)
.col .is-4
.col .is-4
.col .is-4
.col .is-4
Columns can be vertically centered in a row with .row .is-vcentered (instead of top aligned)
.col .is-4
.col .is-4 (higher column)
.col .is-4 (even higher column)
Equal-height cards – flexbox stretches every .col in a flex line to match the tallest one (default align-items: stretch). Add .is-fullheight to the card itself so its bottom edge meets the col’s stretched bottom.
Short card
A single sentence.
Medium card
This card has a bit more body copy so its natural height is taller than the first one.
Tall card
Considerably longer text here. Several sentences. Enough content to push this card noticeably below the other two on its own.
The shorter cards stretch up to match this height automatically.
Boxes
Boxes provide simple, padded, contrasted containers to structure interfaces with a single .box class.
Default Box (implicit Level 1) – Buttons and inputs inside automatically elevate one surface step above the box background
Level 2 Box – for contrasting in the other direction
Level 1 Box – for contrasting in the other direction
Background Box – with .is-level-bg class, for contrasting in the other direction
Colored Boxes
Primary Box
Secondary Box
Link Box
Info Box
Success Box
Warning Box
Danger Box
Bright Box
Dim Box
ERROR Subtle status messages or interface region highlights
Notifications
Standard
Default Notification
Primary Notification
Secondary Notification
Link Notification
Info Notification
Success Notification
Warning Notification
Danger Notification
Bright Notification
Dim Notification
Yeah! Good for status messages
Light Notifications
Default Notification
Primary Notification
Secondary Notification
Link Notification
Info Notification
Success Notification
Warning Notification
Danger Notification
Bright Notification
Dim Notification
Dark Notifications
Default Notification
Primary Notification
Secondary Notification
Link Notification
Info Notification
Success Notification
Warning Notification
Danger Notification
Bright Notification
Dim Notification
Typography
Font Sizes
Lorem ipsum dolor.is-size-1
Lorem ipsum dolor.is-size-2
Lorem ipsum dolor.is-size-3
Lorem ipsum dolor.is-size-4
Lorem ipsum dolor.is-size-5
Lorem ipsum dolor.is-size-6
Lorem ipsum dolor.is-size-7
Lorem ipsum dolor.is-size-8
Lorem ipsum dolor.is-size-9
Each step also has an .is-size-N-mobile companion that only applies below the sm breakpoint (769px). Use it to scale a single element down on phones without writing a media query.
Font Weights
Lorem ipsum dolor sit amet.has-weight-light
Lorem ipsum dolor sit amet.has-weight-normal
Lorem ipsum dolor sit amet.has-weight-medium
Lorem ipsum dolor sit amet.has-weight-semibold
Lorem ipsum dolor sit amet.has-weight-bold
Lorem ipsum dolor sit amet.has-weight-extrabold
Text Alignment
.is-aligned-left
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation.
.is-aligned-centered
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation.
.is-aligned-right
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation.
.is-aligned-justified
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation.
Each alignment helper has an …-mobile variant (e.g. .is-aligned-centered-mobile) that only takes effect below the sm breakpoint, useful for re-centering text on phones. It wins over any base alignment on the same element:
.is-aligned-right .is-aligned-centered-mobile
Right-aligned from 769px up, centered below – resize to try.
.is-aligned-start and .is-aligned-end are the flow-relative pair: they follow the writing direction, where .is-aligned-left and .is-aligned-right stay physical.
.is-aligned-end in a left-to-right and a right-to-left paragraph
Ut wisi enim ad minim veniam, quis nostrud exerci tation.
Ut wisi enim ad minim veniam, quis nostrud exerci tation.
Keep multi-word atomic tokens – phone numbers, product codes, prices – from breaking across lines when their surrounding text wraps. Wrap the token in a <span class="has-no-linebreak">.
Both panels below are pinned to the same 24-character line box (monospace text in a ch-sized container), so they wrap at the identical point at any viewport width – the phone number splits on the left and stays whole on the right without resizing anything.
default
Call our support at +1 (555) 123-4567 now.
.has-no-linebreak
Call our support at +1 (555) 123-4567 now.
Tabular Numbers
Proportional digits differ in width, so a value that changes in place – a live reading, a counter, a clock – shifts sideways as its digits change, and figures in a column do not line up. .has-tabular-nums gives every digit the same width, where the font provides tabular figures.
Some fonts already set their digits tabular by default, and there the two panels below look alike; with a font whose default digits are proportional, the left column's figures do not line up.
default
1111.1 8888.8 1181.8
.has-tabular-nums
1111.1 8888.8 1181.8
Text Colors
Muting and Highlighting
.has-text-normal
Lorem ipsum dolor sit amet
.has-text-muted
Lorem ipsum dolor sit amet
.has-text-highlight
Lorem ipsum dolor sit amet
Semantic Colors
Each semantic color has four text variants. The base .has-text-{name} is designed for neutral backgrounds; -invert, -light, and -dark are tuned for the matching solid-fill, light-tint, and dark-tint backgrounds. Below, each variant is rendered on a neutral page background (top row) and again on its matching semantic background (bottom row) so contrast tradeoffs are visible – note how the base ink loses contrast on a solid fill (which is why -invert exists).
primary
.has-text-primary
.has-text-primary-invert
.has-text-primary-light
.has-text-primary-dark
.has-text-primary
.has-text-primary-invert
.has-text-primary-light
.has-text-primary-dark
secondary
.has-text-secondary
.has-text-secondary-invert
.has-text-secondary-light
.has-text-secondary-dark
.has-text-secondary
.has-text-secondary-invert
.has-text-secondary-light
.has-text-secondary-dark
link
.has-text-link
.has-text-link-invert
.has-text-link-light
.has-text-link-dark
.has-text-link
.has-text-link-invert
.has-text-link-light
.has-text-link-dark
info
.has-text-info
.has-text-info-invert
.has-text-info-light
.has-text-info-dark
.has-text-info
.has-text-info-invert
.has-text-info-light
.has-text-info-dark
success
.has-text-success
.has-text-success-invert
.has-text-success-light
.has-text-success-dark
.has-text-success
.has-text-success-invert
.has-text-success-light
.has-text-success-dark
warning
.has-text-warning
.has-text-warning-invert
.has-text-warning-light
.has-text-warning-dark
.has-text-warning
.has-text-warning-invert
.has-text-warning-light
.has-text-warning-dark
danger
.has-text-danger
.has-text-danger-invert
.has-text-danger-light
.has-text-danger-dark
.has-text-danger
.has-text-danger-invert
.has-text-danger-light
.has-text-danger-dark
bright
.has-text-bright
.has-text-bright-invert
.has-text-bright-light
.has-text-bright-dark
.has-text-bright
.has-text-bright-invert
.has-text-bright-light
.has-text-bright-dark
dim
.has-text-dim
.has-text-dim-invert
.has-text-dim-light
.has-text-dim-dark
.has-text-dim
.has-text-dim-invert
.has-text-dim-light
.has-text-dim-dark
Page-Relative Tones Independent of Theme Accent
.has-text-current and .has-text-inherit are escape hatches that re-bind a child’s color to its parent context – useful when a child element (a styled <a>, <code>, etc.) carries its own color rule that clashes with a colored container.
.has-text-current on a .button.is-ghost inside a solid-fill panel
default
Delete failed. The record is still locked.
.has-text-current
Delete failed. The record is still locked.
A ghost button takes its color from the link ink, which is tuned for the page background and turns unreadable on a solid fill. The hatch pins it to the panel’s own text color instead. Links get the same treatment – but inside .notification and .box they are already re-bound this way, so the hatch is only needed on containers built from the background and text helpers.
.has-text-inherit and .has-background-inherit on a <code> inside a tinted panel
default
Run npm install to install dependencies.
.has-text-inherit .has-background-inherit
Run npm install to install dependencies.
A <code> carries its own chip background as well as its own color, so both hatches are needed to dissolve it into the panel.
Background Colors
Apply themed backgrounds without locking the text color. .has-background-current and .has-background-inherit are escape hatches: the first paints a child with whatever color the parent’s text resolves to (perfect for accent shapes); the second blends a child into the parent’s tinted background (no visible cutout).
.has-background-current – an accent bar fills with the heading’s text color via currentColor
Order shipped
Action needed
Critical error
.has-background-inherit – a nested component keeps its own surface background and cuts a hole in the tint; the hatch dissolves it into the parent
default
Outer panel.
Nested card (surface cutout)
.has-background-inherit
Outer panel.
Nested card (seamless)
Each semantic color has three background variants: solid fill (.has-background-{name}), light tint (-light), and dark tint (-dark). The text on each swatch below uses the matching .has-text-{name}-… companion.
.has-background-primary
.has-background-primary-light
.has-background-primary-dark
.has-background-secondary
.has-background-secondary-light
.has-background-secondary-dark
.has-background-link
.has-background-link-light
.has-background-link-dark
.has-background-info
.has-background-info-light
.has-background-info-dark
.has-background-success
.has-background-success-light
.has-background-success-dark
.has-background-warning
.has-background-warning-light
.has-background-warning-dark
.has-background-danger
.has-background-danger-light
.has-background-danger-dark
.has-background-bright
.has-background-bright-light
.has-background-bright-dark
.has-background-dim
.has-background-dim-light
.has-background-dim-dark
Lists
Default (<ul> / <ol>) – bare list elements carry no markers, padding, or margin. Use them as semantic containers for menus, paginations, tag rows, breadcrumbs, or any non-prose list.
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Sed do eiusmod tempor
Ut labore et dolore magna aliqua
Prose unordered (<ul class="is-list">) – endash marker, first level flush left, each nested level indented.
Lorem ipsum dolor sit amet Quis nostrud exercitation
Consectetur adipiscing elit
Sed do eiusmod tempor incididunt
Ut labore et dolore magna aliqua
Ut enim ad minim veniam
Quis nostrud exercitation
Ut labore et dolore magna aliqua
Duis aute irure dolor
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Sed do eiusmod tempor incididunt
Ut labore et dolore magna aliqua
Ut enim ad minim veniam
Quis nostrud exercitation
Ut labore et dolore magna aliqua
Ut labore et dolore magna aliqua
Prose ordered (<ol class="is-list">) – decimal, alpha and roman markers across nest levels.
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Sed do eiusmod tempor incididunt Quis nostrud exercitation
Ut labore et dolore magna aliqua
Ut enim ad minim veniam
Quis nostrud exercitation
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Sed do eiusmod tempor incididunt
Ut labore et dolore magna aliqua
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Sed do eiusmod tempor incididunt
Ut labore et dolore magna aliqua
Short prose ordered (<ol class="is-list is-short">)
– same indentation as <ul class="is-list"> for short lists under 10 entries.
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Styling Unstyled Markup
Wrap unstyled markup – a CMS body, a rendered Markdown blob, anything you don’t control – in .content and every child element gets a decent, opinionated styling: headings, list markers, blockquotes, tables, definition lists, figures. Everything inside is em-based, so the whole block scales from the wrapper’s font-size.
Heading level 1
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Headings, paragraphs and inline elements like links, strong, emphasis and code all keep their prose defaults. Footnote markers work too1, as do chemical formulas like H2O.
Heading level 2
Sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
A blockquote picks up a surface background and a leading border.
An unclassed figure is centered, indented and its caption italicized.
Sizes
The modifier sits on the wrapper and scales the whole block – .is-small, .is-normal, .is-medium, .is-large.
.is-small
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Sed diam nonummy nibh euismod
.is-normal
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Sed diam nonummy nibh euismod
.is-medium
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Sed diam nonummy nibh euismod
.is-large
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Sed diam nonummy nibh euismod
Ordered-List Markers
The marker classes go on the <ol> itself, and only apply to an <ol>without a type attribute – <ol type="1" class="is-lower-alpha"> silently keeps decimals.
.is-lower-alpha
Lorem ipsum
Dolor sit amet
Consectetur elit
.is-upper-alpha
Lorem ipsum
Dolor sit amet
Consectetur elit
.is-lower-roman
Lorem ipsum
Dolor sit amet
Consectetur elit
.is-upper-roman
Lorem ipsum
Dolor sit amet
Consectetur elit
Headings – Titles, Subtitles & Levels
Lorem Ipsum.title .is-level-1
Dolor sit Amet Respectum Dolomir.subtitle .is-level-1
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est.
Lorem Ipsum.title .is-level-2
Dolor sit Amet Respectum Dolomir.subtitle .is-level-2
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Lorem Ipsum.title .is-level-3
Dolor sit Amet Respectum Dolomir.subtitle .is-level-3
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est.
Lorem Ipsum.title .is-level-4
Dolor sit Amet Respectum Dolomir.subtitle .is-level-4
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Lorem Ipsum.title .is-level-5
Dolor sit Amet Respectum Dolomir.subtitle .is-level-5
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est.
Lorem Ipsum.title .is-level-6
Dolor sit Amet Respectum Dolomir.subtitle .is-level-6
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Amet Respectum Dolomir.title .is-level-1
Duis Autem vel eum Iriure.title .is-level-2
Consetetur Sadipscing Elitr.title .is-level-3
Tempor Invidunt ut Labore.title .is-level-4
Vel Illum Dolore eu Feugiat.title .is-level-5
Odio Dignissim Qui Blandit Praesent.title .is-level-6
Pairing & .is-spaced
A title or subtitle carries .75rem of bottom margin. When another heading follows immediately, that gap collapses so the pair reads as one unit: title + title drops to .6rem, title + subtitle and subtitle + subtitle drop to 0.
Add .is-spaced to opt out and keep the full baseline margin. The rule matches on the adjacent sibling – anything between the two headings, including a wrapper element, breaks the pairing.
A bare .icon inside a .button is treated as a leading icon (most common case, no modifier needed). For a trailing icon, add has-icon-trailing to the button. For icon-only buttons, add is-icon-only to the button.
Button States & Toggle Button Examples
Those two are toggle buttons without a line of JavaScript: a <label class="button"> holds a visually hidden checkbox, and the page’s own :has(input:checked) rules swap the icon and the fill.
Special Buttons
Loading Button – add and remove .is-loading around your request
Loading State .is-loading
The label is hidden with color: transparent and a spinner is drawn in ::after. Because the text color is gone, the spinner border is set explicitly per variant – every semantic color and every button style keeps a visible spinner.
The tag scale sits one step below every other component’s – .is-normal is the default and exists only to undo an inherited .is-medium / .is-large.
Pill TagDefault.is-normal.is-medium.is-large
Tags with Icons
Drop an .icon at the start of a .tag for a leading icon. For a trailing icon, add .has-icon-trailing on the tag. Both can coexist (icon, text, icon).
Default Primary Info Success Warning Danger
Default Open Verified Medium Large
Featured HealthyPending Failed
Inbox en-US
Tag Groups .tags
Wrap multiple .tag in a .tags container to merge them into one continuous chip. Inner corners flatten; outer corners preserve each end tag’s own radius (default, or .is-pill).
envproductionv1.2.4pass128fail3
Works identically when the group is pill-shaped — add .is-pill to every child:
statushealthyreactv18
Placeholders
Margin & Padding Modification
Fine-grained adjustments using a non-linear scale 0–8. Small steps give fine control; large steps give structural jumps.
Prefix m for margin, p for padding. Append t/b/l/r for single sides, x for left & right, y for top & bottom, or nothing at all for every side. m-auto, mx-auto, ml-auto, mr-auto for centering – auto exists for margins only. Same scale is used for the flexbox and grid gaps.
s and e are the flow-relative counterparts of l and r: ms-3 / me-3 / ps-3 / pe-3 address the inline-start and inline-end side, so they swap over under dir="rtl" while ml-* and mr-* stay on the physical left and right.
Example: Physical vs. flow-relative padding, shown left-to-right and right-to-left
.ps-6 (ltr)
.ps-6 (rtl)
.pl-6 (ltr)
.pl-6 (rtl)
Example: Margin top modification
.mt-0
.mt-1
.mt-2
.mt-3
.mt-4
.mt-5
.mt-6
.mt-7
.mt-8
Example: Vertical padding modification
.py-0
.py-1
.py-2
.py-3
.py-4
.py-5
.py-6
.py-7
.py-8
Example: Margin per side – a primary box inside an info-tinted parent; the tint you can see is the margin
.m-5
.mt-5
.mr-5
.mb-5
.ml-5
.mx-5
.my-5
Example: Padding per side – the padding class is on the primary box itself and its content is info-tinted; the primary fill you can see is the padding
.p-5
.pt-5
.pr-5
.pb-5
.pl-5
.px-5
.py-5
Example: Auto margins
.mx-auto
.ml-auto
.mr-auto
In a flex container .m-auto centers on both axes
.m-auto
Flexbox Layout Utilities
In addition to the powerful mechanisms already presented there are Flexbox utility classes to build any layout. Base utilities set a single property and are applied to existing flex containers; shorthand classes also set display: flex.
Flex Property Control
Optionally, all properties can be defined differently for the mobile viewport with the -mobile class name suffix. Below 769px a -mobile class wins over any base class of the same property on the element, so the two can be combined – see the last direction example.
Flex direction with .has-direction-[value]
.has-direction-row
Item 1
Item 2
Item 3
.has-direction-row-reverse
Item 1
Item 2
Item 3
.has-direction-column
Item 1
Item 2
Item 3
.has-direction-column-reverse
Item 1
Item 2
Item 3
.has-direction-column .has-direction-row-mobile
A column, turning into a row below 769px – resize to try
Item 1
Item 2
Item 3
Flex row/column wrapping with .is-not-wrapped / .is-wrapped / .is-wrapped-reverse
.is-not-wrapped
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Item 7
Item 8
.is-wrapped
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Item 7
Item 8
.is-wrapped-reverse
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Item 7
Item 8
Justify content distributes items on the main axis with .has-justify-content-[value]
.has-justify-content-flex-start
Item 1
Item 2
Item 3
.has-justify-content-flex-end
Item 1
Item 2
Item 3
.has-justify-content-center
Item 1
Item 2
Item 3
.has-justify-content-space-between
Item 1
Item 2
Item 3
.has-justify-content-space-around
Item 1
Item 2
Item 3
.has-justify-content-space-evenly
Item 1
Item 2
Item 3
Align items positions all children on the cross axis with .has-align-items-[value]
.has-align-items-stretch
Item 1
Item 2 taller
Item 3 even taller
.has-align-items-flex-start
Item 1
Item 2 taller
Item 3 even taller
.has-align-items-flex-end
Item 1
Item 2 taller
Item 3 even taller
.has-align-items-center
Item 1
Item 2 taller
Item 3 even taller
.has-align-items-baseline
Item 1
Item 2 taller
Item 3 even taller
Align self overrides the cross-axis alignment for individual items (not in general for the whole container) with .has-align-self-[value]
.has-align-self-auto
.has-align-self-flex-start
.has-align-self-flex-end
.has-align-self-center
.has-align-self-baseline
.has-align-self-stretch
Flex grow controls how much an item expands relative to siblings when the container is too wide with .has-grow-[0–5]
.has-grow-0
has-grow-1
has-grow-0
has-grow-1
.has-grow-1
has-grow-1
has-grow-1
has-grow-1
.has-grow-2
has-grow-1
has-grow-2
has-grow-1
.has-grow-3
has-grow-1
has-grow-3
has-grow-1
.has-grow-4
has-grow-1
has-grow-4
has-grow-1
.has-grow-5
has-grow-1
has-grow-5
has-grow-1
Flex shrink controls how much an item shrinks relative to siblings when the container is too narrow with .has-shrink-[0–5] – items below have flex-basis: 50%; applied to make the effect visible
.has-shrink-0
has-shrink-1
has-shrink-0
has-shrink-1
.has-shrink-1
has-shrink-1
has-shrink-1
has-shrink-1
.has-shrink-2
has-shrink-1
has-shrink-2
has-shrink-1
.has-shrink-3
has-shrink-1
has-shrink-3
has-shrink-1
.has-shrink-4
has-shrink-1
has-shrink-4
has-shrink-1
.has-shrink-5
has-shrink-1
has-shrink-5
has-shrink-1
Column gap (spacing between columns) can be controlled with .has-column-gap-[size]
.has-column-gap-0
Item 1
Item 2
Item 3
.has-column-gap-1
Item 1
Item 2
Item 3
.has-column-gap-2
Item 1
Item 2
Item 3
.has-column-gap-3
Item 1
Item 2
Item 3
.has-column-gap-4
Item 1
Item 2
Item 3
.has-column-gap-5
Item 1
Item 2
Item 3
Row gap (spacing between wrapped rows) can be controlled with .has-row-gap-[size]
.has-row-gap-0
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.has-row-gap-1
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.has-row-gap-2
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.has-row-gap-3
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.has-row-gap-4
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.has-row-gap-5
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Both Gaps (row and column gaps) can be controlled at once with .has-gap-[size]
.has-gap-0
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.has-gap-1
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.has-gap-2
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.has-gap-3
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.has-gap-4
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.has-gap-5
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Shorthand Layout Classes
We combine the definitions of a flex container, flex direction, flex wrapping, and a default row and column gap in one class for a set of usual use cases.
Class naming: row / col = no wrapping; rows / cols = wrapping. Suffixes: -stretched = children grow & shrink equally; -spaced = space-between; -leading = flex-start; -trailing = flex-end.
These are the one utility family that does not use !important, so a component that sets its own display wins over them. <div class="box row-leading"> stays a block, because .box is emitted later than the shorthands – put the shorthand on a child element instead of on the component.
Row shorthands – horizontal, no wrap
.row-stretched
Item 1
Item 2
Item 3
.row-spaced
Item 1
Item 2
Item 3
.row-leading
Item 1
Item 2
Item 3
.row-trailing
Item 1
Item 2
Item 3
Column shorthands – vertical, no wrap
.col-stretched
Item 1
Item 2
Item 3
.col-spaced
Item 1
Item 2
Item 3
.col-leading
Item 1
Item 2
Item 3
.col-trailing
Item 1
Item 2
Item 3
Rows shorthands – horizontal, with wrap
.rows-stretched
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.rows-spaced
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.rows-leading
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.rows-trailing
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Columns shorthands – vertical, with wrap – items flow into new columns when the container height is exceeded
.cols-stretched
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.cols-spaced
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.cols-leading
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
.cols-trailing
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Layout Utilities
Single-purpose helper classes for radius, border, display, visibility, overflow, position and pointer interaction. All of them are !important so they win against component styles – with the one exception noted under Shorthand Layout Classes above.
Borders & Radius
Corner radius with .has-radius-[value]
.has-radius-none
.has-radius-small
.has-radius-normal
.has-radius-large
.has-radius-rounded
Border width with .has-border-[value] – sets width, solid style and the themed border color in one class.
.has-border-none zeroes the width but keeps the style and color, so it hides a border rather than removing the declaration.
.has-border-none
.has-border-small
.has-border-normal
.has-border-large
Display & Visibility
Display with .is-block, .is-inline, .is-inline-block, .is-flex, .is-inline-flex, .is-grid – each sets nothing but display.
Mind the is- prefix: the unprefixed .block and .halfblock are the prose spacing helpers used on the paragraphs throughout this page, and have nothing to do with display.
.is-block on <span>
Item 1Item 2
.is-inline on <div>
Item 1
Item 2
Width and vertical padding are ignored on inline boxes.
.is-inline-block on <div>
Item 1
Item 2
.is-flex
Item 1
Item 2
.is-inline-flex
Sits in the text flow: Item 1Item 2 and the sentence continues.
.is-grid – supply your own template
Item 1
Item 2
Item 3
Visibility – .is-hidden removes the box from layout, .is-invisible keeps its space, .sr-only keeps it readable for screen readers only.
.is-hidden
You cannot see me
Moved up into the gap
.is-invisible
You cannot see me
My space is still reserved
.sr-only
Opens in a new window
A screen reader announces one more line here
Responsive variants – every display class plus .is-hidden and .is-invisible take a -sm, -md, -lg or -xl suffix.
The suffix means from that breakpoint up, so there is no hide-on-mobile-only class – you invert instead: .is-hidden plus .is-block-sm. Resize the window; the readout below is built from nothing but these classes.
mobile – below 769pxsm – 769px and upmd – 1152px and uplg – 1600px and upxl – 1920px and up
Overflow
Every value of the overflow property as .has-overflow-[value], with per-axis .has-overflow-x-[value] and .has-overflow-y-[value] variants. .is-clipped is a shorthand for .has-overflow-hidden.
.has-overflow-auto – scrollbars appear only when needed
.has-overflow-hidden / .is-clipped – cut off, no scrolling
Wider than the frame
Taller than the frame
Taller than the frame
.has-overflow-visible – content spills out (the default)
Wider than the frame
Taller than the frame
.has-overflow-clip – like hidden, but no scroll container
Wider than the frame
Taller than the frame
Taller than the frame
.has-overflow-x-auto + .has-overflow-y-hidden
Wider than the frame
Taller than the frame
Taller than the frame
Position
Every value of the position property as .is-pos-[value], plus .overlay – an absolutely positioned full cover, useful for scrims, badges and hover layers. Offsets stay your job; the classes only set position.
.is-pos-relative parent with an .is-pos-absolute child
The parent establishes the containing block..is-pos-absolute
.overlay – inset 0 on all sides, needs a positioned parent
Covered content
.overlay
.is-pos-sticky – scroll the frame; the header sticks at its offset
.is-pos-sticky (top: 0)
Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8
.is-pos-fixed – pinned to the viewport, shown here inside a demo frame
.is-pos-fixed (top: 0)
Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8
.is-pos-static completes the set – it resets an element back to the default and is only useful to undo a position a component or a responsive rule set earlier.
Interaction Helpers
.is-clickable
Hover me – the cursor turns into a pointer on a non-interactive element.
.is-unselectable
Try to select this text with the mouse – you cannot. Useful for button-like labels and drag handles.
.no-pointer-events
The button below is unreachable – clicks pass straight through.
.is-clickable also forces pointer-events: all, so it always beats .no-pointer-events – put the two on different elements, never the same one.
Tables
Simple .table
Name
Role
Status
Score
Alice
Designer
Active
92
Bob
Engineer
Active
87
Carol
Manager
Away
75
Dave
QA
Inactive
60
Full Table with <thead>, <tbody>, <tfoot> and .is-fullwidth Modifier
Name
Role
Status
Score
Alice
Designer
Active
92
Bob
Engineer
Active
87
Carol
Manager
Away
75
Dave
QA
Inactive
60
Total
314
Modifiers
.has-border full borders on all cell edges
Name
Role
Status
Score
Alice
Designer
Active
92
Bob
Engineer
Active
87
Carol
Manager
Away
75
Total
254
.is-narrow compact cell padding
Name
Role
Status
Score
Alice
Designer
Active
92
Bob
Engineer
Active
87
Carol
Manager
Away
75
Dave
QA
Inactive
60
.is-striped alternating row background on even rows
Name
Role
Status
Score
Alice
Designer
Active
92
Bob
Engineer
Active
87
Carol
Manager
Away
75
Dave
QA
Inactive
60
.is-hover highlight rows on hover
Name
Role
Status
Score
Alice
Designer
Active
92
Bob
Engineer
Active
87
Carol
Manager
Away
75
Dave
QA
Inactive
60
Row and Cell Coloring – tr.is-[color] / td.is-[color]
Name
Role
Status
Score
Notes
Alice
Designer
Active
92
Regular row
Bob
Engineer
Active
87
tr.is-secondary
Bob
Engineer
Active
87
Regular row
Carol
Manager
Active
61
Row with td.is-success and td.is-warning cells
Bob
Engineer
Active
87
Regular row
Dave
QA
Away
75
tr.is-selected
Bob
Engineer
Active
87
Regular row
Eve
DevOps
Inactive
48
tr.is-danger
Bob
Engineer
Active
87
Regular row
Cell Modifier – td.is-vcentered
This cell has enough text to span multiple lines and push the row height up.
top aligned (default)
Another tall cell with several lines of content for comparison.
centered vertically
.table-container – Horizontal Scroll Wrapper
Name
Alpha
Bravo
Charlie
Delta
Echo
Foxtrot
Golf
Hotel
India
Juliet
Kilo
Lima
Mike
November
Oscar
Papa
Quebec
Romeo
Sierra
Tango
Uniform
Victor
Whiskey
X-ray
Yankee
Zulu
Alpha
Bravo
Charlie
Delta
Echo
Foxtrot
Golf
Hotel
India
Juliet
Kilo
Lima
Alice
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
76
77
78
79
80
81
82
83
84
85
86
87
88
Bob
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
89
90
91
92
93
94
95
96
97
98
99
100
101
Carol
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
102
103
104
105
106
107
108
109
110
111
112
113
114
Dropdowns
A dropdown pairs a .dropdown-trigger with a .dropdown-menu.
Nuvio uses the modern Popover API to implement this without Javascript. Put popover on the menu and point the trigger’s popovertarget at it. Opening, closing, click-outside dismissal, Esc, top-layer stacking and the trigger’s expanded state are all handled by the browser. Nuvio anchors the menu under its trigger or flips it above when there is no room below.
Items work as <a> or <button> – both are first-class selectors and render identically, so use a <button> whenever the item triggers an action rather than navigating. A bare <div class="dropdown-item"> stays a static label.
A <details class="accordion"> is a disclosure widget working without Javascript out of the box – open state, keyboard operation and screen-reader semantics all come from the element. Nuvio only replaces the marker with its own chevron, which flips when the panel is open.
Does any of this need JavaScript?
No. Give several accordions the same name attribute and the browser closes the others for you – a single-open group with zero script.
Can a panel hold arbitrary content?
Anything at all – this one holds a button and a tag.
and a tag
What about nesting?
An accordion inside an accordion
Works, because nothing here depends on a script keeping track of state.
Sizes – .is-small, .is-medium and .is-large scale padding along with the type
.is-small
Padding is em-based, so it follows the font size.
.is-large
Padding is em-based, so it follows the font size.
Modals
A <dialog class="modal"> brings its own backdrop, Esc handling and focus containment, all without Javascript.
The buttons below open and close it with nothing but markup: command="show-modal" and command="close" pointed at the dialog’s id via commandfor. Add closedby="any" for click-outside dismissal.
Icons
Sizing
.is-small
default
.is-medium
.is-large
Close Glyph .icon.is-close
An X drawn from two crossed CSS bars – the same technique the navbar burger uses for its own open state – so a close control needs no icon font.
Sizes with the same .is-small / default / .is-medium / .is-large modifiers as any other .icon, and its color follows currentColor.
Drop it into a regular .button like any other icon, or reach for the ready-made .modal-close below when a full button is more chrome than the spot needs.
.is-small
default
.is-medium
.is-large
in a .button
.modal-close
Icons in Text .icon.is-glyph
Drop an .icon.is-glyph directly into any text node – paragraph, heading, link, list item. It scales to the surrounding font-size, inherits the surrounding color, and sits aligned to the text baseline.
Click to enable notifications, or to dismiss them. Saved drafts appear with a badge; conflicts show .
Wrap the pair in .has-no-linebreak when you don’t want a line break to split them: Open Directory, then choose Log In to sync your changes.
Baseline Nudging
Icon fonts draw their glyphs at slightly different baselines. Nuvio has a framework-wide correction living in the $text-icon-y-compensation and $button-icon-y-compensation config knobs at built time.
In addition to that there are six classes .yc-up1 … .yc-down3 that allow a per-icon correction at use time on top of it, in ±0.5px steps. Look at the examples closely, as this is deliberately very subtle.
They are implemented as transform, so they never change the line height or the button height. The same class shifts by a different amount inside a .button – always tune a button icon against a button, and a text icon against text.
On .icon.is-glyph in text
Baseline .yc-up3
Baseline .yc-up2
Baseline .yc-up1
Baseline default
Baseline .yc-down1
Baseline .yc-down2
Baseline .yc-down3
On .icon inside a .button
Image
Responsive .image
Circular img.is-circle
Full Width .is-fullwidth
Square Crop .is-square
Navbar
The Navbar component features a customizable navigation bar that can be placed anywhere in the page flow or fixed at the screen top or bottom.
It has an optional .navbar-brand for a brand image or text and can have two .navbar-menu children .navbar-start (placed on the leading side of the bar) and .navbar-end (on the trailing side). The menus have .navbar-item entries that can be text, anchors, dropdowns, buttons, other form components or basically anything.
The menus collapse below the sm breakpoint (configurable), rendering a burger button that on tap shows all .navbar-item entries in rows.
A .navbar-item.is-dropdown holds a submenu. With .is-hover, on mouse controlled devices, it opens on hover instead of on click.
Default Full-Width Bar
Container Support
Place a .container inside the .navbar to align the Navbar elements with other containers while still background spanning the whole viewport.
◀ container edgecontainer edge ▶
Brand Coloring
CSS variables set the color scheme for light and dark mode.
Sizes
The size modifiers set nothing but the navbar height --nv-navbar-h. The brand, items and burger all derive their box from it.
.navbar .is-small – 3rem tall
.navbar – default, 4rem tall
.navbar .is-large – 5rem tall
.navbar-brand .navbar-item .is-flush – drops the item’s vertical padding so a logo fills the full bar height.
Fixed to the Viewport
.is-fixed-top and .is-fixed-bottom pin the bar to the screen edge. Because a fixed bar is out of flow, the page has to reserve the space itself – add .has-navbar-fixed-top or .has-navbar-fixed-bottom to the <body>. That padding follows the navbar’s size modifier automatically.
Hoverless .is-hoverless
Suppresses the hover and focus background on a.navbar-item – for bars that are pure branding, or where the items already signal state some other way. It leaves .navbar-link dropdown triggers alone, and applies from the navbar breakpoint up; on mobile the navbar has no item hover background to begin with.
Text Brand + Search Form + is-right Dropdown
Progress
Colors
Sizes
Indeterminate – value Attribute Omitted
Forms
Complete Form Example
This email address is invalid.
Strong password!
Max 500 characters.
Field & Control Layout .field / .control
Basic .field with label, control, and help
We’ll never share your email with anyone else.
Controls with integrated icons left and/or right – .control .has-icons-left / .control .has-icons-right
Universal Loading Spinner – .control .is-loading
Sized fields – the icon and the spinner size off the .control, the text off the .input
Put the size modifier on both. The .control is what positions and scales the icon box and the ::after spinner; the .input only carries its own font size.
.is-small
default
.is-medium
.is-large
.is-small loading
default loading
.is-medium loading
.is-large loading
The spinner is drawn at the trailing edge, so pair .is-loading with .has-icons-left rather than .has-icons-right – the two would sit on top of each other.
Joined Controls – .field .has-addons for inputs, button and select
Joined Controls – Fullsize expand single controls with .field .is-expanded
Joined Controls – Horizontal Alignment with .field .has-addons-centered and has-addons-right
Joined Controls – Special Use of .button .is-static
The size sets the label’s font size and its top padding so it lines up with the control next to it – match it to the control’s own size modifier. Both .field-label sizing and the horizontal layout itself apply from the sm breakpoint up; below that the label simply stacks above the control.
Label, Control and Help Text Formatting
We’ll never share your email with anyone else.
We’ll never share your email with anyone else.
We’ll never share your email with anyone else.
Native Validation – :user-invalid / :user-valid
Constraint validation attributes are enough: fill these in, then leave the field. .input, .textarea and .select select pick up the danger border while the value is invalid and the success border once it is valid. Both states only apply after you have interacted with the field, so an untouched required field is never marked as an error.
Leave the field to see the state change.
Five digits.
Short values stay invalid.
An explicit color modifier still wins – .input.is-info keeps its own border whatever the validity state. Set $form-validation-styling: false to leave native states unstyled.
Text Input Fields – .input
States
Default
.is-hover
.is-focused
.is-active
.is-pill
[disabled]
[readonly]
.is-static
Colors
.is-primary
.is-secondary
.is-link
.is-info
.is-success
.is-warning
.is-danger
.is-bright
.is-dim
Modifiers
Textareas – .textarea
States and Sizes
Default
.is-focused
.has-fixed-size
[disabled]
[readonly]
.is-small
.is-medium
.is-large
Colors
.is-primary
.is-secondary
.is-link
.is-info
.is-success
.is-warning
.is-danger
.is-bright
.is-dim
Selects – .select
States
Default
select[disabled]
.is-loading
.is-small
.is-medium
.is-large
.is-pill
.is-multiple
Colors
.is-primary
.is-secondary
.is-link
.is-info
.is-success
.is-warning
.is-danger
.is-bright
.is-dim
Modifiers
.is-fullwidth
Disabling – .is-disabled on the wrapper, disabled on the element
The two cover different halves of the control and you normally want both. The wrapper draws the arrow, so .is-disabled dims it; the native attribute mutes the select itself and blocks interaction.
.is-disabled only – arrow dimmed, still usable
disabled only – arrow stays at full strength
Both – the complete disabled state
Checkboxes – .checkbox
Radios – .radio
Checkboxes and radios deliberately have no semantic color and no size variants – the box itself stays the native control, sized to the text and laid out with the label, so it keeps the platform’s own checked and focus rendering. Reach for .toggle or .segmented when you need a branded, framework-colored input.
Toggles – .toggle
Default
Semantic variants
Segmented Controls – .segmented
Default
Size modifiers
Semantic variants
The color applies to the checked segment only – unchecked segments and the container border stay neutral in every variant. Without a variant the checked segment uses the link color.
With icons
Drop an .icon inside a segment’s <label>; it is spaced from the text automatically. Icon-only segments need an aria-label on the label to stay announceable.
Disabled
Pill modifier .is-pill
Ranges – .range
Default
Semantic variants
The variant colors the thumb and its focus ring; the track stays neutral in every variant – there is no filled-progress portion.
Size modifiers
Disabled
File Uploads – .file
Basic
.has-name – with filename display
.is-boxed
.is-boxed.has-name – with filename display
.is-right.has-name – filename on left, button on right
.is-fullwidth.has-name
.has-name.is-empty – the filename slot is hidden until a file is picked
A JS-toggled state: ship is-empty alongside has-name, then remove it once the input reports a file. .is-empty on its own does nothing – the rule only matches in combination with .has-name. Pick a file below to watch it resolve.
A file input does not reveal the chosen filename to CSS, so .has-name is the one place where Nuvio expects a few lines of script. This page runs exactly these: