UI Components
Explore the library components and open each one on its own dedicated route for previews and usage examples.
Accordion
Collapsible content sections for FAQs, settings panels, and any grouped information that benefits from progressive disclosure.
Alert
Inline status messages for success, warning, danger, and info states with optional title and dismiss support.
Aspect Ratio
Locks a box’s width-to-height proportions using the padding-bottom technique, so it degrades correctly even without native aspect-ratio support.
Autocomplete
NewType-to-filter combobox built on the same ZyraOption/token foundation as ZyraSelect, with a text input trigger instead of a button.
Avatar
Profile and team visuals that make lists, comments, and user surfaces feel more human and scannable.
Badge
Small status labels for updates, counts, state pills, and quick metadata throughout the interface.
Box
The foundational layout primitive — spacing, radius, background, shadow, border and dimensions driven entirely by design tokens.
Breadcrumb
A trail of ancestor links showing the user’s current location within a hierarchy of pages.
Button
Token-aware action buttons for primary flows, secondary actions, and compact utility triggers.
Button Group
Coordinates a set of ZyraButton children — shared size/variant/color/radius, layout, and optional single/multiple selection — without duplicating Button behavior.
Calendar
NewMonth-grid date picker with single/multiple/range selection, a quick month/year picker, keyboard navigation, min/max constraints, and full Angular Forms (CVA) integration — the foundation Date Picker will build on.
Card
Flexible content containers for dashboards, previews, settings panels, and modular content blocks.
Carousel
NewSlideshow for images, testimonials, or promo cards — arrow and dot navigation, keyboard support, looping, and optional autoplay.
Checkbox
Accessible checkbox with indeterminate state, label positioning, three sizes, and full Angular forms support.
Chip
Compact interactive labels for filters, tags, and selections — supports dismissible and selectable modes.
Clipboard
NewA one-click copy-to-clipboard trigger with a built-in "copied" confirmation state, for API keys, code snippets, and share links.
Code Block
NewMonospace code snippets with an optional filename/language header, line numbers, and a one-click copy button.
Confirm Dialog
NewPurpose-built modal for confirm/cancel prompts — title, message, and Cancel/Confirm actions wired up on top of zyra-modal.
Container
Max-width plus centering with a horizontal gutter — the wrapper every page-level layout starts from, with a Bootstrap-style responsive breakpoint mode.
Divider
Horizontal and vertical separators for organizing content sections, form layouts, and navigation groups.
Drawer
NewSlide-in panel anchored to any edge of the screen, sharing zyra-modal's focus trap and dismiss behavior.
Dropdown Menu
A trigger-activated menu panel for grouping secondary actions like edit, duplicate, or delete.
Empty State
NewA friendly placeholder for empty lists, no search results, or first-run screens, with room for an icon and actions.
File Upload
NewClick-to-browse and drag-and-drop file picker with type/size/count validation and a removable file list.
Flex
A flexbox layout primitive with direction, alignment, gap and wrap — plus a companion ZyraFlexItem for per-child grow/shrink/basis/order control.
Form Field
Field wrappers that align labels, hints, and validation copy into a more polished form system.
Grid
A CSS Grid layout primitive with responsive columns/rows, auto-fit/auto-fill tracks, named areas, and a companion ZyraGridItem for column/row span.
Header
NewAn app-shell header with brand, nav and action slots — built-in mobile drawer, scroll elevation, and sticky/fixed positioning.
Input
Foundation text inputs for login forms, filters, search flows, and structured data entry experiences.
Modal
Accessible dialog overlay with focus trap, ESC to close, backdrop dismiss, and flexible header/footer slots.
Multi Select
NewSelect multiple options from a dropdown list, shown as dismissible chips in the trigger — extends the same option/keyboard model as ZyraSelect.
OTP Input
NewOne-time-passcode entry rendered as N separate boxes — set otpLength on ZyraInput to switch it from a single field into this mode.
Pagination
NewPage-number navigation for tables and lists, with smart ellipsis collapsing for large page counts.
Password Input
NewStandard password field with a built-in show/hide toggle — set type="password" on ZyraInput inside ZyraFormField and the eye icon appears automatically.
Popover
NewA click- or hover-triggered floating panel for rich contextual content, menus, or previews — richer than a tooltip.
Progress
Linear progress bars for uploads, task completion, storage usage, and any measurable loading state.
Radio Group
Accessible radio button group for mutually exclusive choices — vertical or horizontal layout, arrow key navigation.
Rating
NewA star-rating input for reviews and feedback forms, with hover preview and keyboard support.
Scroll Area
A styled, keyboard-navigable scroll container with custom scrollbars, optional auto-hide, scroll shadows, smooth scrolling and a programmatic scroll API.
Select
Custom dropdown select for choosing from a list of options — fully keyboard accessible with smooth open/close animation.
Sidebar
NewA collapsible app-shell navigation rail with header/footer slots, grouped sections, and active/disabled item states.
Skeleton
Shimmer loading placeholders with 20+ preset layout variants — from simple text lines and shapes to full dashboard, product, calendar, and chat skeletons.
Slider
NewRange input for numeric selection — a fully styled native <input type="range"> that keeps native keyboard, drag, and touch support for free.
Spinner
Loading indicators for async states, background fetches, and actions that need a clear pending signal.
Stack
NewA flex layout primitive that arranges children in a row or column with consistent gap spacing, alignment, and wrapping.
Stepper
NewA numbered step indicator for multi-step forms and wizards, with horizontal and vertical layouts.
Switch
On/off switch control for settings, preferences, and feature flags with full keyboard and accessibility support.
Tabs
Tab navigation with 4 style variants, 3 sizes, icons, badges, closeable tabs, vertical orientation, and full keyboard support.
Textarea
Multi-line text input with auto-resize, size variants, and full ZyraFormField integration for labels and validation.
Theme Switch
NewDrop-in theme picker button wired directly to ZyraThemeService — a compact toggle or a full 5-theme menu.
Timeline
NewA vertical timeline for order history, activity feeds, and audit logs, with color-coded status markers.
Toast
Transient notifications for confirmations, warnings, and system messages without interrupting the flow.
Toggle
Pressable button that holds a boolean pressed/unpressed state — for toolbar actions, formatting controls, and filter pills.
Tooltip
Helpful hover and focus details for dense controls, icon actions, and space-constrained interfaces.
Typography
NewConsistent text styles for headings, body copy, and captions — renders the correct semantic HTML tag automatically.