Utilities

Utilites provide easy wa to perform adjustment with additional classes created to perfor specific action. Please refer below utilites and their respective usage

Width & Height

Aurora-Fusion provides muletiple Width & Height classes. These classes use format (property)-(width percentage) format. Width percentage range as multipe of 10. The digits in classname denotes the percentage of width it will consume after applying the class. Below are the all classses available for width.

Width classes starts with .w- & height classes starts with .h-

While width percentage ranges as below:

Here is the example of single width class : .w-50

Margin & Padding

The classes are named using the format (property)(sides)-(size). Where property is one of:
  • m - for classes that set margin
  • p - for classes that set padding

Where sides is one of:
  • t - for classes that set margin-top or padding-top
  • b - for classes that set margin-bottom or padding-bottom
  • s - (start) for classes that set margin-left or padding-left in LTR, margin-right or padding-right in RTL
  • e - (end) for classes that set margin-right or padding-right in LTR, margin-left or padding-left in RTL
  • x - for classes that set both *-left and *-right
  • y - for classes that set both *-top and *-bottom
  • blank - for classes that set a margin or padding on all 4 sides of the element

Where size is one of:
  • 0 - for classes that eliminate the margin or padding by setting it to 0
  • 1 - (by default) for classes that set the margin or padding to $spacer * .25
  • 2 - (by default) for classes that set the margin or padding to $spacer * .5
  • 3 - (by default) for classes that set the margin or padding to $spacer
  • 4 - (by default) for classes that set the margin or padding to $spacer * 1.5
  • 5 - (by default) for classes that set the margin or padding to $spacer * 3
  • auto - for classes that set the margin to auto

Positioning

These utility classes are named using the format (property)-(value)

Where property is one of the

And value is one of the


Position Types

Below is the list of position types


Offset Types

Below is the list of Top types. Similary you can use for bottom , start , end offsets


Fixed and Sticky Positions

These are shortcut classes to commonly used fixed or sticky layouts

Border

These border classes are named using the format (property)-(value)

Where property is one of the

And value is one of the

Overflow

These overflow classes are named using the format (property)-(value)

Where property is one of the

And value is one of the


Overflow Behavior Classes
Overflow Axis-Specific Classes

Border Radius

These border radius classes are named using the format (property)-(value)

Where property is one of the

And value is one of the


Rounded Sizes
Rounded Shapes
Rounded Sides

Apply radius to specific sides with optional size or shape

Top
Bottom
Start
End

Shadow

These shadow classes are named using the format (property)-(value)

Where property is one of the

And value is one of the


Shadow Sizes
No Shadow

Display

These display classes are named using the format (property)-(value)

Where property is one of the

And value is one of the

Display Types
Visibility Control

Flex & Float

These classes are named using the format (property)-(value)

Where property is one of the

And value is one of the


Flex Direction
Float Utilities

Vertical & Horizontal Alignment

These alignment classes are named using the format (property)-(value)

Where property is one of the

And value is one of the


Vertical Alignment
Horizontal Alignment
Vertical Flex Alignment
Multi-line Vertical Alignment
Self Alignment

Text Utilities

These text utility classes are named using the format (property)-(value)

Where property is one of the

And value is one of the


Text Alignment
Text Sizes
Line Heights
Font Weights
Text Colors
Text Effects
Copyright © 2024 - 2025Created & Powered by Shashank Kawle with laniak-logo Laniak TechAll Rights Reserved