Utility Helpers
Rapidly compose layouts and style any component without writing custom CSS. Since every component accepts a className prop, helper classes work everywhere — on Button, Card, plain divs, or any element.
All helpers use !important
They override component inline styles, so they always take effect when applied via className.
Press Cmd/Ctrl + K or use Spotlight to quickly jump to any helper or section.
Spotlight Search
A real Spotlight preview with BiibaOS components styled using className for layout and spacing.
Search helper classes with Spotlight
Open the Spotlight search and type any helper name or category to jump straight to the example you need.
Try m-4, text-center, flex, or bg-primary-tint.
Margins
A 4px-based margin scale. Use m- for all sides, or prefix mt-, mb-, ml-, mr- for a single direction. mx-auto and my-auto for automatic centering.
Each button has a different margin applied via className.
Padding
Same 4px scale as margins but for padding. Works on any element with a className prop.
.p-1 (4px).p-3 (12px).p-5 (20px).p-8 (32px)Dimensions
Width (w-) and height (h-) helpers. Numbers 10–40 map to pixel values (×4), 50 / 75 / 100 are percentages, and screen variants use viewport units.
.w-100 → 100%.w-75 → 75%.w-50 → 50%.h-10.h-20.h-30Colors
Apply semantic backgrounds using short class names. Tint variants (.bg-primary-tint) add a subtle 10% wash. Text color classes like .text-danger work on any element.
Typography
Font size, weight, alignment, and transform helpers. Combine freely on any text element.
text-3xl + font-bold
text-lg + font-semibold + text-primary
text-sm + text-muted + uppercase
text-xs + italic + text-subtle
truncate: This long text will be clipped and show an ellipsis at the end.
Border Radius
Apply theme-consistent radius or override with precise values. rounded-full creates a pill/circle shape.
Display
Quickly switch display modes. .hidden hides the element, .flex sets display:flex, .block forces block layout.
Flexbox
Combine flex layout helpers to quickly align and distribute content without writing any custom CSS.
justify-between
RightOverflow
Control element overflow for scrollable areas or hidden content.
.overflow-hidden — text clipped inside this box that is too long.overflow-auto — scroll when content overflows this container boundaryOpacity
Set element opacity at predefined levels.
Borders & Shadows
Quickly add borders and elevation shadows without inline styles.
Positioning
Positioning utilities with inset helpers for absolute overlays and z-index stacking.
.relative parent
.relative.absolute.sticky.fixedMisc Helpers
Cursor, pointer events, user selection, and z-index helpers for interactive states.
All Helpers — Quick Reference
The full set. Use Spotlight (Cmd/Ctrl + K) to jump straight to any helper category or reference section.
Margins
.m-0 (0px).m-1 (4px).m-2 (8px).m-3 (12px).m-4 (16px).m-5 (20px).m-6 (24px).m-8 (32px).m-10 (40px).mt-0..10.mb-0..10.ml-0..10.mr-0..10.mx-auto.my-autoPadding
.p-0..10.pt-0..8.pb-0..8.pl-0..8.pr-0..8Width
.w-10 (40px).w-20 (80px).w-30 (120px).w-40 (160px).w-50 (50%).w-75 (75%).w-100 (100%).w-auto.w-screen.max-w-sm (480px).max-w-md (640px).max-w-lg (900px).max-w-xl (1200px)Height
.h-10 (40px).h-20 (80px).h-30 (120px).h-40 (160px).h-50 (50%).h-100 (100%).h-auto.h-screenBackground
.primary / bg-primary.secondary / bg-secondary.success / bg-success.danger / bg-danger.warning / bg-warning.bg-surface.bg-transparent.bg-primary-light / primary-light.bg-primary-tint.bg-success-tint.bg-danger-tint.bg-warning-tintText Color
.text-primary.text-secondary.text-muted.text-subtle.text-success.text-danger.text-warningTypography
.text-xs.text-sm.text-md.text-lg.text-xl.text-2xl.text-3xl.font-normal.font-medium.font-semibold.font-bold.text-left.text-center.text-right.uppercase.lowercase.capitalize.italic.underline.no-underline.truncateBorder Radius
.rounded-none.rounded-sm.rounded.rounded-md.rounded-lg.rounded-xl.rounded-fullDisplay
.block.inline.inline-block.flex.inline-flex.grid.hiddenFlexbox
.flex-row.flex-col.flex-wrap.flex-nowrap.flex-1.flex-none.items-start.items-center.items-end.items-stretch.justify-start.justify-center.justify-end.justify-between.justify-around.self-start.self-center.self-end.self-stretch.gap-1 (4px).gap-2 (8px).gap-3 (12px).gap-4 (16px).gap-5 (20px).gap-6 (24px).gap-8 (32px)Overflow
.overflow-hidden.overflow-auto.overflow-scroll.overflow-x-auto.overflow-y-autoOpacity
.opacity-0.opacity-25.opacity-50.opacity-75.opacity-100Borders
.border.border-2.border-none.border-primary.border-danger.shadow-none.shadow-sm.shadow-mdPosition
.relative.absolute.fixed.sticky.static.inset-0.top-0.bottom-0.left-0.right-0.z-0.z-10.z-50.z-100Misc
.cursor-pointer.cursor-default.cursor-not-allowed.pointer-none.pointer-auto.select-none