Components
For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
A tiny label used to categorize or group items.
After you add the component with the CLI, import it from your UI folder:
Use the variant prop to change the base styling of the tag.
Tags support all the pre-defined semantic colors inherited from badges.
You can render an icon inside the tag. Icons inherit the color and size.
While tags are primarily rectangular with slight rounding, you can enforce a pill shape using the shape="pill" prop.
The Tag component inherits all props from the Badge component. It uses a smaller, uppercase, widely tracked font by default.