Overview

Elix is an open collection of high-quality web components for common user interface patterns such as lists, menus, dialogs, carousels, and so on. The modular nature of web components let you easily incorporate them into your web apps, and their standard definition ensures good results across all mainstream browsers.

THE ELIX VISION

Elix elements

These elements are ready for production use as is. You can also customize them.

AlertDialog
Asks a single question the user can answer with choice buttons
AutosizeTextarea
Text area that grows to accommodate its content
Backdrop
Background element shown behind an overlay's primary content
Button
Base class for custom buttons
CalendarDay
Calendar representation of a single day
CalendarDayNamesHeader
Header showing the localized days of the week
CalendarMonth
A single calendar month, optimized for a given locale
CalendarMonthDays
Days of a single calendar month without headers
CalendarMonthYearHeader
Header showing a localized month name and the year
CalendarWeek
Calendar representation of a single week
Carousel
Carousel with a sliding effect and navigation controls
CarouselSlideshow
Slideshow with carousel controls
CarouselWithThumbnails
Carousel showing a thumbnail for each image
CenteredStrip
Horizontal strip of items with the selected item centered
CenteredStripHighlight
Centered strip showing selected item with a highlight color
CenteredStripOpacity
Centered strip showing unselected items with partial opacity
CrossfadeStage
Shows a crossfade effect when transitioning between a single selected item
Dialog
Basic modal overlay that the user typically dismisses with an explicit action
Drawer
Modal panel that slides in from the side of the page
DropdownList
Shows a single choice made from a pop-up list of choices
ExpandablePanel
Region that expands/collapses in place with an animated transition
ExpandableSection
A document section with a header that can be expanded or collapsed
Explorer
Combines a list with an area focusing on a single selected item
HamburgerMenuButton
Button that invokes a command menu, usually in a mobile context
ListBox
Single-selection list box
ListExplorer
Master/detail user interface pattern navigated with a list box
Menu
A menu of choices or commands
MenuButton
A button that invokes a menu
MenuItem
A choice in a menu
MenuSeparator
Inactive item that helps group related menu items
ModalBackdrop
Semi-transparent backdrop for a modal overlay
Modes
Shows a single panel at a time
Overlay
An element that appears over other page elements
Popup
Lightweight form of modeless overlay that can be easily dismissed
PopupSource
Positions a popup with respect to a source element
ProgressSpinner
Simple spinning progress indicator
PullToRefresh
Lets the user refresh content with a swipe down gesture
ReactiveElement
General-purpose base for writing components in functional-reactive style
SeamlessButton
A button with no border or background in its normal state
Slideshow
Slideshow with a simple crossfade transition
SlideshowWithPlayControls
Slideshow with buttons for controlling playback
SlidingPages
Simple carousel with no visible UI controls
SlidingStage
Slides between selected items on a horizontal axis
TabButton
Generic tab button with a text label
TabStrip
Strip of tab buttons
Tabs
Basic tabs structure for navigation and configuration
Toast
Lightweight popup intended to display a short, non-critical message
WrappedStandardElement
Wraps a standard HTML element so it can be extended

Elix mixins

The Elix elements above are built up from composable mixins so they can share aspects of their behavior and APIs. You can use these mixins to create your own components.

Elix helpers