Components
Actions
- Button: Starts an action, like saving or sending.
- Compact button: A small icon button for toolbars, tables and cards.
- Link button: An action or link that looks like text, for quieter actions.
- Social button: Sign-in buttons for Google, Apple, GitHub and other providers.
- Button group: Joins related buttons into one control.
Forms
- Form: Groups fields into sections and checks them, with errors on the right fields.
- Input: A text box with a label, a hint and an error state.
- Textarea: A text box for longer writing, with an optional count.
- Select: A dropdown for one option, or several with search.
- Checkbox: Turns one option on or off, or picks several from a list.
- Radio: Picks one option from a short list, with every choice in view.
- Switch: Turns a setting on or off straight away.
- Slider: A value or a range along a track.
- Date picker: Picks a date, a range or several dates from a calendar.
- Time picker: Picks a time of day from a list.
- Color picker: Picks a colour with a picker or by typing a hex.
- File upload: A drop area for files, with progress for each upload.
- Rating: Stars for giving a score or showing an average.
- Segmented control: Switches between a few views or options.
- Tree select: Picks from nested options, like a team inside a department.
- Rich text editor: A text box with bold, lists, links and more.
Navigation
- Navigation: A sidebar or top bar for moving around an app, with groups that open.
- Tabs: Switches between views of the same thing.
- Breadcrumbs: Shows where a page sits and links back up.
- Pagination: Moves between pages of results.
- Stepper: Shows progress through steps, like checkout.
- Menu: A list of actions that opens from a button.
Feedback
- Alert: A message on the page about something that needs attention.
- Toast: A short message that confirms an action, then goes away.
- Progress: Shows how far along something is.
- Spinner: Shows that something is loading.
- Skeleton: Placeholders in the shape of content that is loading.
- Empty state: What a page shows before it has content, with a next step.
- Result: A full-page message after an action, or when a page can’t load.
- Tooltip: A short label that shows on hover or focus.
- Tour: A step-by-step introduction to a screen.
Overlays
- Modal: A dialog over the page, for a focused task or decision.
- Drawer: A panel that slides in from the edge for details or a form.
- Popover: A small panel next to a button, for extra details or a short form.
Data display
- Table: Rows of data with sorting, selection, filters and paging.
- Statistic: A key number with its label and how it changed.
- Charts: Bar, line, area and pie charts with tooltips.
- Card: Groups related content in a box.
- List: Rows of items with icons, descriptions and actions.
- Avatar: A person or team, as a photo or initials.
- Badge: A small label for a status, a category or a count.
- Tag: A removable label, in eight colours.
- Calendar: A month view for picking a date or a range.
- Event calendar: A full calendar of events by day, week, month or year.
- Tree: Nested items that open and close, like folders.
- Accordion: Sections that open and close to save space.
- Carousel: Slides that change with arrows or dots.
- QR code: A code people scan with a phone camera.
- Resizable: Side-by-side panels with a draggable divider.
- Divider: A line that separates content, with an optional label.
- Text: Body text in Halo’s sizes, weights and colours.