Use Name

const name = useName();


The useName hook provides the name of the Product used to initialize the Threekit API.

The hook a single string value.

It is used to build the Product Name Display component

Code Examples

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

const NameComponent = () => {
  const metadata = useMetadata();
  return (
      {Object.entries(metadata).map(([key, value], i) => (
          {key}: {value}