Skip to content

BbAsterisk

Presentational required-field marker (red "*"). No behaviour props/slots/events (only pt); placed in custom label content.

import { BbAsterisk } from 'bitboss-ui';

On this page

Props

NameDescription
pt Type: PtMap<"root", never>

Passthrough, object form: { root: '…' }. See the pt:<part> row.

Passthrough only changes presentation. The control still needs required to expose the requirement to assistive technology.

See example
pt:<part> Type: PtValue

Passthrough, attribute form: one attribute per part, pt:<part>. Parts: root.

Targets the aria-hidden marker span. Prefer the shared --bb-danger token for project-wide colour changes.

See example