Components
149 pages in 11 families, each with the live examples above their code, then the parameters, events and slots of its components. The API reference lists every public type.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.