Skip to content
IzzyBlazor 0.1.0-alpha.17

Enter all results ↑ ↓ move Esc close

List

Bulleted, numbered, plain or icon lists.

IzzyBlazor.List in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.17 assembly and its doc comments.

Properties (7)

Orderedbool = false

A numbered list (ol).

Plainbool = false

No bullets or numbers, and no indent.

IconIconData?

An icon in place of each bullet, such as Lucide.Check. An item's own icon wins.

IconColorColor? (computed)

The icons' color. Defaults to the text color.

GapResponsive<int> = 2Responsive

Space between items, on the spacing scale. Defaults to 2 (8px).

Asstring = "ul"From Box

The element to render: div on a Box; components built on it set their own (List a ul, Section a section).

ChildContentRenderFragment?From Box

The content.

Item props (from LayoutItemBase)

MarginResponsive<int>Responsive

Margin on all sides, in spacing steps (-16 to 16; one step = 4px).

MarginXResponsive<int>Responsive

Horizontal margin. When set, replaces Margin on this axis.

MarginYResponsive<int>Responsive

Vertical margin. When set, replaces Margin on this axis.

MarginTopResponsive<int>Responsive

Top margin. When set, replaces MarginY and Margin on this side.

MarginBottomResponsive<int>Responsive

Bottom margin. When set, replaces MarginY and Margin on this side.

MarginStartResponsive<int>Responsive

Margin at the start (left in left-to-right text, right in right-to-left). Replaces MarginX and Margin on this side.

MarginEndResponsive<int>Responsive

Margin at the end (right in left-to-right text, left in right-to-left). Replaces MarginX and Margin on this side.

WidthResponsive<Length>Responsive

Width.

MinWidthResponsive<Length>Responsive

Minimum width.

MaxWidthResponsive<Length>Responsive

Maximum width.

Growbool = false

Whether to grow into free space inside a Stack, Row or Column: <Box Grow>.

Shrinkbool = true

Whether to shrink when space is short inside a Stack, Row or Column. Defaults to true; Shrink="false" keeps the size.

BasisResponsive<Length>Responsive

Starting size inside a Stack, before growing or shrinking.

AlignSelfResponsive<Align>Responsive

Alignment across the parent's direction, overriding the parent's Align for this component only, such as a button lined up with the bottom of labeled fields in a Row.

ColSpanResponsive<int>Responsive

How many columns it spans in a Form or Fieldset with Columns, or a Grid; GridSpan.Full for the whole row. Never more than the columns shown, so a form that narrows to one column needs no breakpoints.

NewRowbool = false

Starts a new row in a Form or Fieldset with Columns, or a Grid, leaving the rest of the row before it empty.

Surface props (from StyledComponentBase)

ColorSchemeColorScheme = ColorScheme.Auto

The color scheme inside: ColorScheme.Dark for a dark band on a light page, ColorScheme.Inverse for the opposite of the page. It also sets the surface background and text color, which Bg and Color override.

PaddingResponsive<int>Responsive

Padding on all sides, in spacing steps (0 to 16; one step = 4px).

PaddingXResponsive<int>Responsive

Horizontal padding. When set, replaces Padding on this axis.

PaddingYResponsive<int>Responsive

Vertical padding. When set, replaces Padding on this axis.

PaddingTopResponsive<int>Responsive

Top padding. When set, replaces PaddingY and Padding on this side.

PaddingBottomResponsive<int>Responsive

Bottom padding. When set, replaces PaddingY and Padding on this side.

PaddingStartResponsive<int>Responsive

Padding at the start (left in left-to-right text, right in right-to-left). Replaces PaddingX and Padding on this side.

PaddingEndResponsive<int>Responsive

Padding at the end (right in left-to-right text, left in right-to-left). Replaces PaddingX and Padding on this side.

BgResponsive<Color>Responsive

Background color.

ColorResponsive<Color>Responsive

Text color. When not set and Bg is a theme color, the matching contrast color is used automatically (Bg="Color.Primary" gets Color.OnPrimary text).

RadiusResponsive<Radius>Responsive

Corner radius.

ShadowResponsive<Shadow>Responsive

Elevation.

MinHeightResponsive<Length>Responsive

Minimum height.

HeightResponsive<Length>Responsive

Height.

MaxHeightResponsive<Length>Responsive

Maximum height; pair it with Overflow to scroll what doesn't fit.

OverflowResponsive<Overflow>Responsive

What happens to content that doesn't fit: Overflow.Auto to scroll it.

BorderResponsive<int>Responsive

A border on every side, in whole pixels (0 to 16), in BorderColor (the border token by default) and BorderStyle (solid by default). Like padding: BorderX and BorderY override an axis, the single sides override that. Sides you don't set keep the component's own border.

BorderXResponsive<int>Responsive

Borders at the start and end. Replaces Border on this axis.

BorderYResponsive<int>Responsive

Borders at the top and bottom, such as a band with lines above and below. Replaces Border on this axis.

BorderTopResponsive<int>Responsive

The top border. Replaces BorderY and Border on this side.

BorderBottomResponsive<int>Responsive

The bottom border. Replaces BorderY and Border on this side.

BorderStartResponsive<int>Responsive

The border at the start (left in left-to-right text). Replaces BorderX and Border on this side.

BorderEndResponsive<int>Responsive

The border at the end (right in left-to-right text). Replaces BorderX and Border on this side.

BorderColorResponsive<Color> (computed)Responsive

The border color, for borders set here or the component's own. Defaults to Border.

BorderStyleResponsive<BorderStyle>Responsive

How borders set here are drawn (BorderStyle.Dashed, BorderStyle.Dotted), and the own border of a Card or a bordered EmptyState. Solid by default (dashed on an EmptyState).

Common props (from IzzyComponentBase)

Classstring?

Extra CSS classes, merged after the component's own classes.

Stylestring?

Inline style, appended after the component's generated custom properties.

HiddenFromBreakpoint?

Hides the component from this breakpoint up, such as a menu button only phones need.

VisibleFromBreakpoint?

Shows the component only from this breakpoint up, such as header links for wide screens.

Events (0)

No events.

Parts (1)

Components written inside List, documented here with it.

ListItem

An item in a List: a li, with the list's icon or its own.

ChildContentRenderFragment?

The content.

IconIconData?

An icon for this item, in place of the list's.

IconColorColor?

This item's icon color, in place of the list's.

Types (1)

Color

struct

A color: one of the theme's tokens (so it follows light and dark mode), a custom token from your own theme, or a raw CSS color.

Color members
MemberDescription
Primary

Brand color.

OnPrimary

Text and icons on Primary.

Success

Success.

OnSuccess

Text and icons on Success.

Warning

Warning.

OnWarning

Text and icons on Warning.

Danger

Danger.

OnDanger

Text and icons on Danger.

Info

Informational.

OnInfo

Text and icons on Info.

Neutral

Neutral accent.

OnNeutral

Text and icons on Neutral.

Background

The page, behind the surfaces: a near-white in the default theme.

Surface

Cards, tables, fields and bars: white in light mode.

FillSubtle

The quietest fill inside a surface, for large areas: a filled card, a panel, a band.

Fill

A fill inside a surface that must show at small sizes: table heads, code, wells.

FillStrong

The strongest fill: selected and pressed states, chips, tracks, skeletons.

SurfaceOverlay

Overlays that float above the page: menus, popovers, dialogs, toasts. White like Surface in light mode, where a shadow sets it apart; a step lighter in dark mode.

OnSurface

Text on any surface.

Muted

Secondary text on any surface: descriptions, metadata.

Subtle

Tertiary text: captions, hints, placeholders. Still at least 4.5:1 on Surface and Fill.

Disabled

Text of disabled controls. Deliberately low contrast.

PrimaryText

Primary tuned for text and links on surfaces (at least 4.5:1).

SuccessText

Success tuned for text on surfaces (at least 4.5:1).

WarningText

Warning tuned for text on surfaces (at least 4.5:1).

DangerText

Danger tuned for text on surfaces (at least 4.5:1).

InfoText

Info tuned for text on surfaces (at least 4.5:1).

PrimarySoft

The accent's soft tint: soft buttons, the current page, chips. Text on it: PrimaryText.

SuccessSoft

Success's soft tint, behind a success message. Text on it: SuccessText.

WarningSoft

Warning's soft tint. Text on it: WarningText.

DangerSoft

Danger's soft tint. Text on it: DangerText.

InfoSoft

Info's soft tint. Text on it: InfoText.

Focus

The focus ring and field halo color: --ib-color-focus, the primary color unless the theme sets it.

Border

Borders and dividers. Decorative: too light to be the only edge of a control.

Outline

The edge of a control, such as an input or switch track: about 2:1 against Surface, darker than Border so an empty field reads as a box.

Transparent

Fully transparent.

CurrentColor

The current text color.

Token(string name)

A theme token by name, rendered as var(--ib-color-{name}). Use it for tokens your own theme adds.

Of(string css)

A raw CSS color such as #ff6600 or oklch(70% 0.1 250). Checked for unsafe characters.

Css string

The CSS value this color renders as.

TokenName string?

The theme token name, such as primary, or null for a raw color.

ContrastText Color?

The text color that pairs with this color used as a background: OnPrimary for Primary, OnSurface for the surfaces, on-{name} for a custom token (which falls back to the inherited color when the theme does not define it). null for raw colors and for colors that are already text colors.