Components
175 components in 6 libraries. A card opens the page of the component on the site of its library, with the live examples above their code, then its parameters, events and slots. Each library also has its own index: Klyroo.UI, Klyroo.Table, Klyroo.Form, Klyroo.Dashboard, Klyroo.Display, Klyroo.Spreadsheet.
On this page
Klyroo.UI: Elements
- Button
A button, or a link styled as one, in every color and variant. - Badge
A short label for a status, a count or a category. - Avatar
An image of a person, falling back to initials when there is none or it fails to load. - Card
A surface grouping a header, a body and a footer. - Alert
A callout that draws attention to a message. - Kbd
A keyboard key or shortcut, in four variants and five sizes. - Separator
A line between sections, optionally with a label or an icon, horizontal or vertical. - Skeleton
A pulsing placeholder for content that is loading. - InfiniteScroll
A sentinel that asks for the next items when it comes into view, with a button and a link for keyboards, screen readers and pages without .NET. - Chip
A small dot or count placed on a corner of another element. - Link
An anchor that knows whether it points at the current page and says so with aria-current. - Icon
Any Iconify icon by name (i-ph-house, mdi:home, a bare Lucide name), bundled into the app at build time, with the Lucide icons that components use built in. - Container
A centered wrapper with a maximum width and responsive padding. - Progress
A determinate or indeterminate progress bar, with optional step labels. - Banner
An announcement bar. - Empty
An empty state with an icon, a title, a description and actions. - User
An avatar with a name and a description, optionally a link. - AvatarGroup
A stack of avatars with a +N avatar for the overflow. - Image
An img with the width, height, srcset, sizes and loading a provider fills in. - FieldGroup
Attaches buttons and fields to each other: the children lose the inner radii, with CSS only.
Klyroo.UI: Form
- Input
A single-line text field. - Textarea
A multi-line text field that can grow with its content. - Checkbox
A native checkbox with a label and a description. - Switch
An on/off toggle built on a native checkbox, correct even without interactivity. - RadioGroup
A set of native radio buttons in a fieldset. - Select
A select-only combobox with keyboard navigation and typeahead; it posts through a hidden input. - FormField
Label, description, hint and validation message wired to the control inside. - Calendar
A month grid following the WAI-ARIA date picker pattern: arrow keys, Page Up/Down, Home and End, in single, multiple or range mode. - InputDate
A date field typed in segments with a calendar popover. - InputTime
A time field made of spinbutton segments, with a 12 or 24 hour clock taken from the culture. - ColorPicker
A saturation and brightness area, a hue slider and a hex field. - FileUpload
A drop zone around a native file input, with a file list, remove buttons and size, count and type limits. - SelectMenu
A select with a filter field inside its list, for one or several values. - InputMenu
A text field with a list of suggestions: free text, or restricted to the suggestions. - InputNumber
A numeric field with increment and decrement buttons, formatted for a culture. - InputTags
A field that turns typed values into removable tags; each tag posts as its own entry. - PinInput
One box per character, with auto-advance and paste support. - Slider
A native range input for one value, or two thumbs for a range. - CheckboxGroup
A fieldset of native checkboxes bound to a list of values. - Toggle
A button that stays pressed. - ToggleGroup
Toggle buttons where one or several can be pressed, with arrow key navigation. - Listbox
An always visible list of options for one or several values, with typeahead. - InputRating
A star rating built on radio buttons, with an optional half step and a read-only display. - Form
A thin wrapper over EditForm: validation summary and a busy state while submitting.
Klyroo.UI: Overlay
- Modal
A native modal dialog: the page becomes inert and focus stays inside. - Popover
A non-modal panel anchored to a button. - Tooltip
A short hint shown on hover and keyboard focus. - DropdownMenu
A menu of actions and links, navigable with the keyboard. - Toast
Brief notifications, raised from .NET through IToastService. - Drawer
A sheet docked to the bottom, top, left or right edge, on the native modal dialog. - Slideover
A full-height panel that slides in from any edge, for details and forms. - ContextMenu
A menu opened at the pointer by right click, long press, Shift+F10 or the ContextMenu key. - CommandPalette
A searchable list of commands, filtered in the browser as you type. - ColorModeButton
A button that switches between light and dark. - ColorModeSwitch
A switch that is on in dark mode. - ColorModeSelect
A select of System, Light and Dark. - ColorModeAvatar
An avatar with one image per color mode. - ColorModeImage
An image with one source per color mode.
Klyroo.UI: Navigation
- Tabs
WAI-ARIA tabs with automatic activation. - Accordion
Stacked headings that reveal their section. - Breadcrumb
The path to the current page, as a nav landmark with an ordered list. - Pagination
Page links or buttons with ellipses, siblings and first/last controls. - Stepper
Steps of a process with a current and completed state. - Timeline
A chronological list of events. - NavigationMenu
Links with an active state taken from the address; sub-items open in a panel or a collapsible group. - Collapsible
A button that shows or hides a region, handled in the browser. - Tree
A WAI-ARIA tree view with arrow-key navigation and optional selection. - Marquee
Content that scrolls endlessly; pure CSS, paused on hover and by reduced-motion preferences. - ScrollArea
A styled scroll container that stays reachable with the keyboard. - Splitter
Resizable panels, with the mouse or the arrow keys. - ContentNavigation
The navigation of a documentation site: a tree of pages with collapsible groups, icons and badges. - ContentSearch
A documentation search: a command palette in a modal over a list of pages and their headings, opened by a shortcut. - ContentSearchButton
A button that opens the search and shows its shortcut. - ContentSurround
Links to the previous and the next page, with their titles and descriptions. - ContentToc
A table of contents that follows the heading being read, and collapses behind its title on small screens.
Klyroo.UI: Data
- Table
A data table with sortable columns. - Carousel
Slides in a scroll-snap viewport with previous and next buttons, a slide picker and optional autoplay that can be paused. - Chart
A line, area, bar or donut chart drawn as SVG by the server, with a tooltip, a legend and a data table.
Klyroo.UI: Blocks
- Heading
A section heading with a count. - Text
Paragraphs, a quote, clamped text. - Stat
A number with a delta and a sparkline. - StatGroup
Small metrics side by side. - Facts
Label and value rows. - Breakdown
Amounts with subtotals and a total. - Diff
Before and after values. - RecordList
Entity rows with a trailing value. - List
Plain, stepped or checked items. - DateTile
A calendar tile. - Meter
A gauge: bar, ring or scale. - ImageGallery
A grid of images.
Klyroo.UI: Layout
- App
The root wrapper of an app: renders the toaster, resolves the locale and sets language and direction, and cascades global class overrides. - Header
A site header with a title, links, actions and a mobile menu that opens in a slideover. - Footer
A site footer with top and bottom areas and left, center and right slots. - FooterColumns
Columns of links under headings, for the top of a footer. - Main
The main landmark, tall enough to keep the footer at the bottom of the screen. - SkipLink
The first link of a page: hidden until it has the focus, it moves the focus to the main content. - Sidebar
An app sidebar that collapses to icons, can be resized, and becomes an off-canvas panel on small screens. - Error
The content of an error page: status code, message and a way back. - LocaleSelect
A select of locales that writes the ASP.NET Core culture cookie and reloads the page. - Theme
Cascades Ui overrides to every component of a type below it, without touching each instance. - ThemeStyle
Delivers the palettes configured in AddKlyrooUi to the page: the color variables and the rule of every extra semantic color.
Klyroo.UI: Page
- Page
A grid of up to three columns: optional left and right asides around the main content. - PageHeader
The top of a page: a headline, a title, a description and links. - PageHero
A landing hero with a headline, a title, a description, links and an optional media slot. - PageSection
A marketing section with a headline, a title, a description, features, links and media. - PageFeature
An icon, a title and a description, optionally one link over the whole feature. - PageGrid
A responsive grid of two to four columns. - PageColumns
Masonry-style CSS columns: items of different heights pack without gaps. - PageCard
A card with an icon, a title and a description, in four variants, optionally one link over the whole card. - PageCta
A call to action band with a title, a description and links, in four variants. - PageLinks
A titled list of links that marks the current page with aria-current. - PageList
A vertical list with optional dividers, for stacks of users, posts or cards. - PageLogos
A strip of logos, optionally scrolling as a marquee. - PageAnchors
A list of in-page anchors, typically the table of contents in a right column. - PageAside
A sticky aside for page navigation, shown from the lg breakpoint. - PageBody
A wrapper that styles plain HTML content: headings, paragraphs, lists, code and quotes. - AuthForm
A sign-in or sign-up form built from a description of its fields, with OAuth provider buttons, validation and a loading state. - PricingPlan
A card for one plan: title, badge, price with an optional discount, feature list and a call to action. - PricingPlans
A responsive group of plans, side by side or stacked. - PricingTable
A feature comparison across tiers: sticky header, check and minus icons with hidden text, tiers stacked on small screens. - BlogPost
A post card with a cover image, a culture formatted date, a badge and authors. - BlogPosts
A responsive grid or a stacked list of blog posts. - ChangelogVersion
One release: version, date, badge, rich description and authors, with a timeline indicator. - ChangelogVersions
The timeline that joins changelog versions with a line.
Klyroo.UI: Dashboard
- DashboardGroup
The root of a dashboard: a sidebar and resizable panels in a row, with their sizes and collapsed state remembered under a storage key. - DashboardSidebar
A resizable sidebar that collapses to icons and becomes an off-canvas panel below the lg breakpoint. - DashboardSidebarCollapse
A button that collapses the sidebar to icons from the lg breakpoint up. - DashboardSidebarToggle
A button that opens the sidebar as an off-canvas panel below the lg breakpoint. - DashboardPanel
A column with a header, a scrollable body and a footer, optionally resizable between limits. - DashboardResizeHandle
A separator that resizes the panel before it with the mouse or the keyboard. - DashboardNavbar
The top bar of a panel: sidebar toggle, title, and left, center and right areas. - DashboardToolbar
A secondary bar under a navbar, for filters and bulk actions. - DashboardSearch
A command palette in a modal, opened by a shortcut (Ctrl or Cmd plus K by default). - DashboardSearchButton
A button that opens the search and shows its shortcut.
Klyroo.UI: Chat
- ChatMessage
One message of a conversation, with an avatar, a surface, a header, attachments and actions. - ChatMessages
The log of a conversation. - ChatPrompt
A message form with a textarea that grows with its text. - ChatPromptSubmit
The prompt's button: send, stop while the answer is on its way, retry after an error. - ChatPalette
A full chat panel: messages that take the room that is left, and a prompt pinned under them. - ChatAttachment
A file as a chip: an icon or an image preview, its name and size, and a remove button. - ChatReasoning
The model's thinking as a collapsible block. - ChatShimmer
Text with a sweeping highlight, for loading states. - ChatTool
A tool call of the assistant: its name, whether it runs or failed, and optionally its input and output in a collapsible part.
Klyroo.UI: Editor
- Editor
A rich text editor built on TipTap. - EditorToolbar
Formatting buttons for the editor, fixed above the text or floating over a selection, with pressed states that follow the cursor. - EditorDragHandle
A handle beside the block under the pointer that drags it to a new place. - EditorSuggestionMenu
A slash menu that inserts blocks and formats. - EditorMentionMenu
An @ menu that inserts a mention from a list of items. - EditorEmojiMenu
A colon menu that inserts an emoji.
Klyroo.Table
- DataList
A table of rows loaded in memory, from a provider or from a database query (a Queryable, run asynchronously by the Klyroo.Table.EntityFrameworkCore adapter), with search, sortable columns, pagination, a result count, loading, empty and error states, and its state in the URL. - DataListFilters
Filters of a data list: filter tags with an editor in a popover, the Add filter menu, Clear filters, text, option, yes / no, number and date filters, in Live or Submit mode. - DataListFilterPanel
Every filter of a data list as a collapsible section, as a sidebar or in a slideover on a phone, with the same editors, limits and history as the filter tags. - DataListFacets
Counts next to the options of a filter (facets) and option filters that load their options from a remote source. - DataListSelection
Row selection, a bar of bulk actions with an every-result scope and a toolbar menu of actions, for a list in memory and for a provider. - DataListCursor
Keyset cursor paging with an infinite loader (automatic scroll sentinel or manual Load more, inline retry on error, link fallback in static SSR) and opt-in row virtualization. - DataListColumns
The column panel of a data list: show or hide columns, show or hide them all, reorder by dragging or with buttons, pin to either edge, resize by pointer or keyboard, and remember it all in a cookie that the server reads at the first paint. - DataListGrid
Grid layout of cards (KlyDataListGrid), layout switch between Table and Grid views (KlyDataListLayoutSwitch, synced with l=table|grid in the URL), compact phone summary rows (DataListRowSummary) with KlyDataListViewToggle, visual row grouping (DataListGroupBy and KlyDataListGroupHeader), hierarchical tree rows (DataListTree), footer totals and column aggregations (DataListSummaries), and a toolbar sort menu (KlyDataListSortMenu). - DataListEmpty
The empty state of a data list: a localized title and hint, an icon and room for actions.
Klyroo.Form
- FormEngine
Renders a form declared from a C# model with FormSchema.For<TModel>: fields, rules, conditions, repeatable rows and steps, with a header, a stepper and the footer actions. - FormPage
Renders a form whose fields are declared in sections as a page: a sidebar lists each section with its status (complete, pending, invalid or optional) and each section is a card. - FormFields
Draws one field of a typed form where you want it (KlyFormFieldView) or replaces the control of a field with your own markup (KlyFieldTemplate), while the library still draws the label, description, help and error. - FormErrorsAndGuard
Lists the errors of a form and announces them (KlyFormErrorSummary), and blocks navigation while a form has unsaved changes (KlyFormNavigationGuard). - FormProvider
Hosts the forms opened from code with FormService (typed) and DynamicFormService (runtime), in a modal, a drawer or full screen. - DynamicForm
Renders a form that is plain data, a DynamicFormSchema of DynamicFieldSchema, for the cases where the fields are not known when you compile, such as a form stored as JSON. - DynamicFormPage
The page layout of a runtime form (KlyDynamicFormPage), a sidebar with the status of each section and one card per section, and KlyDynamicFieldView, which draws one field of a DynamicFormController by key where you want it.
Klyroo.Dashboard
- DashboardPage
The page and the grid of an analytical dashboard. - DashboardCard
The base of every block (KlyDashboardCard): a card with a title, an optional menu (View as table, Download CSV, Expand), a footer and a phase drawn from the state of its Source. - DashboardStats
Blocks for numbers: one metric with a change and a goal (KlyDashboardStat), several metrics in a block (KlyDashboardStats) and a value inside a range (KlyDashboardGauge). - DashboardCharts
A chart of series by category (KlyDashboardChart: bars, lines, areas or a donut) and a list of horizontal bars (KlyDashboardBars) with a funnel variant. - DashboardTable
A sortable table of rows of your own type (KlyDashboardTable<TRow>) and a ranked list (KlyDashboardList) with a value, a percentage and a change per row. - DashboardAlerts
Blocks for what is happening: alerts ordered by severity (KlyDashboardAlerts), a timeline of events (KlyDashboardFeed) and a list of labeled values (KlyDashboardDetails).
Klyroo.Display
- CodeBlock
A block of source code with a label, syntax highlighting and a copy button (KlyCodeBlock), and a value that stays masked until the user reveals it (KlySecretBlock). - FileList
A list of files, each with an extension badge, its name, its size and its date (KlyFileList), and the overlay that previews them (KlyFilePreviewProvider, driven through FilePreviewService). - MediaPlayers
An audio control bar (KlyAudioPlayer) and a video frame with a control bar (KlyVideoPlayer) that can restrict playback to a clip, to a number of plays and to a timeline that cannot be moved.
Klyroo.Spreadsheet
- SpreadsheetImport
A wizard that imports a CSV, TSV, text, .xlsx or .xls file, or pasted rows, in five steps: file, columns, values, review and import (KlySpreadsheetImport).