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

Component Groups

  • Form Controls
  • Buttons
  • Panels
  • Tooltips
On This Page...
  • Form Controls
  • Buttons
  • Panels
  • Tooltips
Design Tokens Component Groups

Component Groups

Component tokens let you style groups of related components at once. Rather than overriding individual component styles, these tokens propagate the style across every component that shares a given visual quality.

Form Controls

Link to This Section

Components such as input, select, textarea, checkbox, and others share styles defined with the --wa-form-control-* prefix.

Not every form control uses all of these custom properties. For example, radio defines its own height and border radius to achieve its familiar shape but shares many other styles with other components for a cohesive look and feel. Similarly, button defines many of its own styles but matches the height and border width of other form controls.

Custom PropertyDescription
--wa-form-control-background-color Background color of form control inputs
--wa-form-control-border-color Border color of form control inputs
--wa-form-control-border-style Border line style of form control inputs
--wa-form-control-border-width Border thickness of form control inputs
--wa-form-control-border-radius Corner rounding of form control inputs
--wa-form-control-activated-color Accent color when a control is active, checked, or selected
--wa-form-control-label-color Text color of form control labels
--wa-form-control-label-font-weight Font weight of form control labels
--wa-form-control-label-line-height Line height of form control labels
--wa-form-control-value-color Text color of the user-entered or selected value
--wa-form-control-value-font-weight Font weight of the user-entered or selected value
--wa-form-control-value-line-height Line height of the user-entered or selected value
--wa-form-control-hint-color Text color of the hint text below a form control
--wa-form-control-hint-font-weight Font weight of hint text
--wa-form-control-hint-line-height Line height of hint text
--wa-form-control-placeholder-color Text color of input placeholder text
--wa-form-control-required-content Content appended to labels of required fields
--wa-form-control-required-content-color Color of the required field indicator
--wa-form-control-required-content-offset Inline spacing between the label text and required indicator
--wa-form-control-padding-block Block (top/bottom) padding inside form control inputs
--wa-form-control-padding-inline Inline (left/right) padding inside form control inputs
--wa-form-control-height Computed height of single-line form controls; derived from padding and line height
--wa-form-control-toggle-size Size of toggle controls (checkboxes, radios, switches)
Option 1 Option 2 Option 3 Option 1 Option 2 Option 3 Checkbox Switch Button
<form class="wa-stack">
  <wa-input label="Input" placeholder="Placeholder"></wa-input>
  <wa-select label="Select" value="option-1">
    <wa-option value="option-1">Option 1</wa-option>
    <wa-option value="option-2">Option 2</wa-option>
    <wa-option value="option-3">Option 3</wa-option>
  </wa-select>
  <wa-textarea label="Textarea" placeholder="Placeholder"></wa-textarea>
  <wa-radio-group label="Radio group" name="a" value="1">
    <wa-radio value="1">Option 1</wa-radio>
    <wa-radio value="2">Option 2</wa-radio>
    <wa-radio value="3">Option 3</wa-radio>
  </wa-radio-group>
  <wa-checkbox>Checkbox</wa-checkbox>
  <wa-switch>Switch</wa-switch>
  <wa-slider label="Range"></wa-slider>
  <wa-button>Button</wa-button>
</form>

Buttons

Link to This Section

In addition to sharing styles with form controls, buttons have their own subset of unique tokens.

Custom PropertyDescriptionPreview
--wa-button-transform-hover A transform function to apply to buttons on mouseover/hover Mouse Over Me
--wa-button-transform-active A transform function to apply to buttons when pressed/active Press Me

Panels

Link to This Section

Panel tokens apply to components with larger, contained surface areas, like callout, card, details, and dialog.

Custom PropertyDescription
--wa-panel-border-style Border line style for panel components
--wa-panel-border-width Border thickness for panel components
--wa-panel-border-radius Corner rounding for panel components
This is a simple callout with an icon. Here's a basic, no-nonsense card. wa-details, at your service.
<div class="wa-stack">
  <wa-callout>
    <wa-icon slot="icon" name="circle-info" variant="regular"></wa-icon>
    This is a simple callout with an icon.
  </wa-callout>
  <wa-card>Here's a basic, no-nonsense card.</wa-card>
  <wa-details summary="Details">
    <code>wa-details</code>, at your service.
  </wa-details>
</div>

Tooltips

Link to This Section

Tooltip tokens apply to the tooltip component and built-in tooltips in other components like slider and copy button.

Custom PropertyDescription
--wa-tooltip-arrow-size Size of the tooltip arrow/caret
--wa-tooltip-background-color Background color of the tooltip body
--wa-tooltip-border-color Border color of the tooltip
--wa-tooltip-border-style Border line style of the tooltip
--wa-tooltip-border-width Border thickness of the tooltip
--wa-tooltip-border-radius Corner rounding of the tooltip
--wa-tooltip-content-color Text color of tooltip content
--wa-tooltip-font-size Font size of tooltip text
--wa-tooltip-line-height Line height of tooltip text
This is a tooltip
<wa-button id="tooltip-demo" appearance="plain">
  <wa-icon label="Target" name="bullseye"></wa-icon>
</wa-button>
<wa-tooltip for="tooltip-demo" open trigger="manual">This is a tooltip</wa-tooltip>
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