Attributes
The component supports the following attributes:
Attribute | Description |
---|---|
data-handle | The Bluesky handle of the user whose profile you want to display. |
data-show-description | (Optional) Set to “false” to hide the user’s profile description. |
data-show-banner | (Optional) Set to “false” to hide the user’s profile banner. |
data-theme | (Optional) Set to “light”, “dark”, or “auto” to control the theme of the component. The “auto” setting will automatically adjust the theme based on the user’s system preference. |
Examples
Here are some examples of how to use the component with different attributes.
You can programmatically change the attributes of the component by using the setAttribute
method.
For example you might want to change theme depending upon your current theme.