Opacity
A full scale from
opacity-0 to opacity-100 in 5% increments. Use for overlays, disabled states, loading indicators, and layered media compositions.Box Shadow
Outer and inset shadow presets in multiple sizes, plus semantic color variants. Each class is a complete standalone preset — choose one per element.
What Ships in Effects
AtomicKit’s effects utilities include the following:- Opacity — every 5% step from
opacity-0(fully transparent) throughopacity-100(fully opaque) - Outer shadow sizes —
shadow-sm,shadow-md,shadow-lg,shadow-xl,shadow-panel - Outer shadow colors —
shadow-primary,shadow-secondary,shadow-neutral,shadow-success,shadow-warning,shadow-error - Inset shadow sizes —
inset-shadow-sm,inset-shadow-md,inset-shadow-lg,inset-shadow-xl - Inset shadow colors —
inset-shadow-primary,inset-shadow-secondary,inset-shadow-neutral,inset-shadow-success,inset-shadow-warning,inset-shadow-error
Effects utilities are limited to opacity and shadow. For blur, brightness, contrast, saturation, hue rotation, and color effects like grayscale — see the Filters section.
Common Use Cases
Surface layering — stack a semi-transparent element over a background image usingopacity-50 paired with a position utility to create overlays and color washes.
Disabled and loading states — reduce an interactive element to opacity-60 or opacity-75 to visually communicate that it’s inactive, without removing it from the layout.
Elevation and depth cues — use outer shadow presets (shadow-sm through shadow-xl) to lift cards, modals, and dropdowns off the canvas and indicate their position in the layer hierarchy.
Recessed controls — use inset shadow presets (inset-shadow-sm through inset-shadow-xl) to make input fields, search wells, and pressed buttons appear sunken into the surface.