> ## Documentation Index
> Fetch the complete documentation index at: https://developers.loyaltylion.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Points for rule

<Note>Available on the **Advanced plan** and above.</Note>

Display the number of points that would be earned for a particular rule using this component.

<Info>
  The `Points for rule` component is currently only applicable for the signup
  rule. It doesn't work for all other rules.
</Info>

***

## Explanation

Whenever we find this component on the page, we'll set its innerHTML to the requested value.

**If you're using Loyalty Tiers:**

* if no customer is logged in, the value we set is the points for the default tier
* if a customer is logged in, this value reflects their current tier membership

***

## Code

```html theme={null}
<span data-lion-points-for-rule="signup"></span>
```
