Attribute Title

<AttributeTitle />


The <AttributeTitle> will display the translated attribute name of an attribute.

It is built using the useName() hook.

Code Examples

import { AttributeTitle } from '@threekit-tools/treble';

const Component = () => {
  return (
      <AttributeTitle attribute="Attribute Name" />


attributeThe name of the attribute you want to display the title of.string''
titleThe text you wish to display as a title. If both title and attribute are defined, the component will sue the title value.string''
classNameA className to the display container.string''