Clipboard
Prefab that handles clipboard interactions of copy.
Uses framer events for transitions between variants
Use any framer component all styling done within framer canvas not in the code or sidebar.
Applies all accessible aria attributes to ensure everyone can interact with it.
Uses native HTML Form attribute to use within any form.
Accounts for states like error, success and copying
How to use
Create a framer component: Using framer create a component that will use this prefab.
Add prefab: Add the prefab to the component and connect the transitions to the matching variants states.
Nest prefab: Nest prefab to the parent frame. Set the prefab position to absolute. Keep in mind that the prefab will not show visually in preview or when publish.
Test: Test the component in preview and ensure that your transitions are working.
Done: That is it! You are all set to use this prefab.
Component properties
Property
Description
Copy Data
The text data that will be copy to the users clipboard
Aria Default
Sets aria-label of the button.
Aria Success
Sets aria-label of the button when successful
Aria Error
Sets aria-label of the button when error occurs
Timeout
Sets the delay before transitioning back to default from any state.
A11Y
Contains outline style properties for the prefab.
Events
Supported events: default, copying, success, error