Web Awesome (ViUR)

Font Awesome
Try SSR Server-side rendering (SSR) generates component HTML on the server before the page loads, improving SEO and initial load time. Use the switch to see Web Awesome components render with and without SSR.
Search this website ⌘KCtrl+K Light Dark System Docs Select Color Scheme Default Awesome Shoelace Active Brutalist Glossy Matter Mellow Playful Premium Tailspin Docs Select Theme View Project on GitHub Star Project on GitHub
Start Components Docs Help
Web Awesome Font Awesome Build Awesome
Search this site… /
Try SSR Server-side rendering (SSR) generates component HTML on the server before the page loads, improving SEO and initial load time. Use the switch to see Web Awesome components render with and without SSR.
Light Dark System Docs Select Color Scheme Default Awesome Shoelace Active Brutalist Glossy Matter Mellow Playful Premium Tailspin Docs Select Theme

Getting Started

  • Installation
  • Usage
  • Forms
  • Localization
  • Frameworks
  • Using with AI
  • Figma Design Kit ProThis requires access to Web Awesome Pro
  • Server Rendering

Resources

  • Accessibility
  • Browser Support
  • Contributing
  • Patterns ProPatterns require access to Web Awesome Pro
  • Migrating from Shoelace
  • Visual Tests
  • Changelog
  • Help & Support

Theming & Utilities

  • Overview
  • Built-in Themes
  • Color Palettes
  • Design Tokens
  • Customizing & Theming
  • CSS Utilities

ViUR Components

  • Alert
  • Combobox
  • Pagination
  • Table Wrapper

Actions

  • Button
  • Button Group
  • Copy Button
  • Dropdown
    • Dropdown Item

Forms

  • Checkbox
  • Checkbox Group
  • Color Picker
  • Input
  • Known Date
  • Number Input
  • Radio Group
    • Radio
  • Rating
  • Select
    • Option
  • Slider
  • Switch
  • Textarea
  • Time Input
  • Data Grid Planned A Web Awesome Kickstarter stretch goal!

Layout

  • Accordion
    • Accordion Item
  • Card
  • Details
  • Dialog
  • Divider
  • Drawer
  • Page
  • Scroller
  • Split Panel

Navigation

  • Breadcrumb
    • Breadcrumb Item
  • Tab Group
    • Tab
    • Tab Panel
  • Tree
    • Tree Item

Feedback

  • Badge
  • Callout
  • Progress Bar
  • Progress Ring
  • Skeleton
  • Spinner
  • Tag
  • Tooltip

Media

  • Animated Image
  • Avatar
  • Carousel
    • Carousel Item
  • Comparison
  • Icon
  • Markdown
  • QR Code
  • Zoomable Frame

Data Viz

  • Advanced Usage

Helpers

  • Animation
  • Format Bytes
  • Format Date
  • Format Number
  • Include
  • Intersection Observer
  • Mutation Observer
  • Popover
  • Popup
  • Random Content
  • Relative Time
  • Resize Observer

Shadows

  • Horizontal Offset (X)
  • Vertical Offset (Y)
  • Blur
  • Spread
On This Page...
  • Horizontal Offset (X)
  • Vertical Offset (Y)
  • Blur
  • Spread
Design Tokens Shadows

Shadows

Shadow tokens indicate elevation and, often, interactivity. Web Awesome provides three size-based shadow shorthands built from modular offset, blur, and spread tokens. Together with --wa-color-shadow, these tokens create realistic drop shadows.

Larger shadows have greater offset and blur values to suggest greater distance from the surface below. Any shadow can also be used as an inner shadow with the inset keyword, e.g. box-shadow: inset var(--wa-shadow-s).

Custom PropertyDescriptionPreview
--wa-shadow-s Small shadow for subtle elevation (e.g., cards, inputs)
--wa-shadow-m Medium shadow for moderate elevation (e.g., dropdowns, popovers)
--wa-shadow-l Large shadow for high elevation (e.g., dialogs, drawers)

Horizontal Offset (X)

Link to This Section

Offset-x tokens control a shadow's horizontal position relative to the element. Use --wa-shadow-offset-x-scale to change all offset-x tokens at once.

Custom PropertyDescription
--wa-shadow-offset-x-scale Global multiplier for horizontal shadow offset
--wa-shadow-offset-x-s Small horizontal shadow offset
--wa-shadow-offset-x-m Medium horizontal shadow offset
--wa-shadow-offset-x-l Large horizontal shadow offset

Vertical Offset (Y)

Link to This Section

Offset-y tokens control a shadow's vertical position relative to the element. Use --wa-shadow-offset-y-scale to change all offset-y tokens at once.

Custom PropertyDescription
--wa-shadow-offset-y-scale Global multiplier for vertical shadow offset
--wa-shadow-offset-y-s Small vertical shadow offset
--wa-shadow-offset-y-m Medium vertical shadow offset
--wa-shadow-offset-y-l Large vertical shadow offset

Blur

Link to This Section

Blur tokens control how soft or sharp the shadow edge is. Use --wa-shadow-blur-scale to change all blur tokens at once.

Custom PropertyDescription
--wa-shadow-blur-scale Global multiplier for shadow blur radius. Also affects --wa-color-shadow opacity.
--wa-shadow-blur-s Small shadow blur radius
--wa-shadow-blur-m Medium shadow blur radius
--wa-shadow-blur-l Large shadow blur radius

Spread

Link to This Section

Spread tokens expand or contract the shadow shape. A negative spread (the default) contracts the shadow inward for a more natural look. Use --wa-shadow-spread-scale to change all spread tokens at once.

Custom PropertyDescription
--wa-shadow-spread-scale Global multiplier for shadow spread. Negative values contract the shadow inward.
--wa-shadow-spread-s Small shadow spread
--wa-shadow-spread-m Medium shadow spread
--wa-shadow-spread-l Large shadow spread
Go Make Something Awesome
Version 0.17.0 © Fonticons, Inc.
  • Terms
  • Privacy
  • Refunds
  • Core License
  • Pro License

Quick Links

  • Components
  • CSS Utilities
  • Theming
  • Using with AI
  • Changelog
  • Help & Support

Recent Searches

    D'oh! No results for “”

    Suggest on GitHub Ask on Discord
    Navigate Select
    Close Esc