basics library
Basic building blocks: borders, shadows, buttons, tags, links, avatars, badges, cards, dividers, statistics, text, pictures, indicators and sliders.
Classes
- BasicShadow
- BorderWrapper
- ButtonGroup
- A widget that displays a group of buttons in a row.
- CheckTag
- A tag that behaves like a checkbox.
- DarkShadow
- DashedBorder
- DottedBorder
- DottedDashBorder
- DoubleBorder
- GrooveBorder
-
Two bevels back to back, carving a channel into the surface: the outer
half is lit like an InsetBorder, the inner half like an OutsetBorder.
Equivalent to the CSS
border-style: groove. - HeartBorder
- InsetBorder
-
A bevelled frame lit from the bottom right, so the box looks pressed into
the surface. Equivalent to the CSS
border-style: inset. - LighterShadow
- LightShadow
- OutlinePainter
- Painter class used to draw the outline of the button based on the specified style.
- OutsetBorder
-
A bevelled frame lit from the top left, so the box looks raised off the
surface. Equivalent to the CSS
border-style: outset. - PercentIndicator
- Picture
- ProtectBorder
- RectSliderValueIndicatorShape
- RidgeBorder
-
Two bevels back to back, raising a ridge off the surface: the outer half
is lit like an OutsetBorder, the inner half like an InsetBorder.
Equivalent to the CSS
border-style: ridge. - RoundedRectSliderTrackShape
- SemanticButton
- A button widget that can be styled semantically based on the application's design system.
- SliderInputWidget
- 滑动器输入框组件
- SliderWidget
- SolidBorder
- SolidStarBorder
- Tag
- WeAvatar
-
A user or entity picture with text and icon fallbacks, after
el-avatar. - WeAvatarGroup
-
A row of overlapping WeAvatars with a
+Noverflow, afterel-avatarstacks seen in team headers. - WeBadge
-
A count or dot pinned to the corner of child, after
el-badge. - WeBevelBorder
-
A rectangular ShapeBorder that fakes depth by painting two of its sides
light and two dark, matching the CSS
inset,outset,grooveandridgeborder styles. - WeButton
-
A button that follows the Element Plus button model: a semantic type,
a fill variant, three sizes, and
round/circle/loading/disabledstates, all painted from WeTheme tokens. - WeButtonGroup
-
A row of WeButtons fused into one control, after
el-button-group. - WeCard
-
A bordered surface with an optional header and footer, after
el-card. - WeDivider
-
A separator line with an optional caption, after
el-divider. - WeImage
-
A framed image after
el-image: a placeholder while loading, a fallback on error, and an optional click-to-preview. - WeImageSource
- One image that WeImageViewer can show.
- WeImageViewer
-
Full-screen image preview after
el-image-viewer. - WeLink
-
Inline hyperlink text, after
el-link. - WeStatistic
-
A labelled number with optional prefix, suffix and trend, after
el-statistic. - WeText
-
Body text tied to the theme's text ramp and semantic colours, after
el-text.
Enums
- BorderDotShape
- OutlineStyle
- An enumeration representing different styles for outlining a shape.
- TagThemeEnum
- TooltipPlacement
- WeAvatarShape
- Shape of a WeAvatar.
- WeBevelStyle
- The way a WeBevelBorder fakes depth by lighting two of its sides.
- WeButtonVariant
-
How a WeButton is filled, after Element Plus'
el-buttonvariants. - WeCardShadow
-
When a WeCard shows its drop shadow, after
el-cardshadow. - WeDividerAlign
- Where the caption of a horizontal WeDivider sits.
- WeTextRole
- Text roles of WeText, mapped onto the theme's text colours.