Files
zooqueen 5e059914c8 feat: Hanzo Design System — tokens, components, brand assets, guidelines
The single source of truth for every Hanzo surface: monochrome opacity-ladder
tokens (dark-default), self-contained core/forms/overlays/navigation components
(each with .d.ts + .prompt.md), the mark/wordmark + provider/partner logos, and
the specimen-card guidelines. One import: @hanzoai/design/styles.css.
2026-07-24 17:08:49 -07:00

10 lines
378 B
React

import React from 'react'
export function Label({ required = false, style, children, ...rest }) {
return (
<label style={{display:'inline-block',fontSize:'var(--text-sm)',fontWeight:'var(--weight-medium)',color:'var(--text-secondary)',...style}} {...rest}>
{children}{required && <span aria-hidden style={{color:'var(--text-helper)'}}> *</span>}
</label>
)
}