Design across
boundaries.
A practical design framework that delivers bold visuals, responsive behavior, and consistent UI patterns across every screen.
Buttons
Polished interactive elements with refined gradients and shadows.
How to Use
To create a button, start with the base class .btn and append a variant class.
- Primary Action: Use .btn-primary for the main call-to-action (e.g., "Save", "Submit").
- Secondary Action: Use .btn-secondary for alternative actions (e.g., "Cancel").
- Emphasis: Use .btn-outline for lower priority or .btn-ghost for minimal visual noise.
Under the Hood
These buttons rely on specific CSS variables defined in the root:
- Shape: --radius-pill (999px) creates the stadium shape.
- Color: --brand-orange is the primary accent.
- Motion: --ease-smooth controls the hover/active transitions.
Customization Guide
To modify the look:
-
Change Color: Override the
background property on
.btn-primary. Ideally, update the--brand-orangevariable to propagate changes system-wide. -
Adjust Size: Modify the
height(currently 48px) andpadding(0 28px) in the main.btnclass. -
Shadows: The depth effect uses refined
box-shadows. To flatten the look, remove the
box-shadowandtext-shadowproperties.
Accessibility
All buttons include distinct
:focus and
:active states. Ensure high
contrast labels are used. For icon-only buttons, always
include an aria-label.
Gradient Text
Generate webkit-masked typography instantly.
How it Works
Gradient text relies on the background-clip: text property.
- Background: Define your gradient here.
- -webkit-background-clip: Sets the background to clip to the foreground text shape.
- -webkit-text-fill-color: Sets the text color to transparent so the background shows through.
Accessibility Warning
Ensure the gradient colors have high contrast against the page background. Some older browsers may not support this, so define a fallback color property before the transparent fill.
Liquid Loader
Organic, morphing animation using SVG filters.
The "Goo" Effect
This effect is achieved by blurring two or more shapes until they overlap, and then increasing the contrast of the alpha channel to sharpen the edges again.
- feGaussianBlur: Blurs the elements.
- feColorMatrix: Increases alpha contrast (values="... 18 -7") to create the hard edge.
Note: This requires an inline SVG filter in
your HTML with id="goo".
Media Player
Premium glassmorphism widget with interactive states.
Premium Glassmorphism
This widget uses multiple layers of backdrop-filter and advanced box-shadows to create a deep, frosted glass effect.
- Depth: Created using a combination of inner glows and drop shadows.
- Gradients: The album art is pure CSS conic-gradient.