halo-ds

v1.0.0
io.github.Halo-design-system/halo-ds Checked 2 days ago Published 12 days ago

Props, examples, design tokens and page blocks for the Halo React design system.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_setup_and_rules

How to install and set up Halo, and the rules for using its components well. Read this first when building UI with Halo.

list_components

Every Halo component, grouped, with a one-line description of each.

find_component

Find the right Halo component for a need, like "pick a date range", "confirm before deleting" or "show a status".

ParameterTypeDescription
need *stringWhat the UI needs to do

get_component

Everything about one Halo component: import line, when to use it, do's and don'ts, how it compares with similar components, every prop, and working code examples.

ParameterTypeDescription
name *stringThe component, like "Button", "date-picker" or "DataTable"
examplesbooleanInclude code examples (default true)

list_blocks

Ready-made page sections built from Halo components, like sign in, a dashboard, a settings page or pricing. Start a screen from one of these instead of from scratch.

get_block

The full, working code of one Halo block, like "sign-in", "dashboard" or "settings", to start a screen from.

ParameterTypeDescription
name *stringThe block, like "sign-in" or "Customers table"

get_skill

Halo's skill files: how to build, review, theme and migrate UI with Halo, with topic guides (components, design, layout, copy, accessibility, a review checklist) and worked examples. Call with no file to list them.

ParameterTypeDescription
filestringA path or name from the list, like "skills/build-ui/SKILL.md" or "design"

get_tokens

Halo design tokens (CSS variables) for colour, spacing, radius, type and layout, with light and dark values. Use them instead of hard-coded values.

ParameterTypeDescription
searchstringPart of a name, like "text", "surface", "spacing" or "radius"